hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Postfix recieving email for deleted email address
Reply

Forum Jump

Postfix recieving email for deleted email address

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-18-2009, 10:35 AM
msh msh is offline
Aspiring Evangelist
 
Join Date: Aug 2002
Location: Denmark
Posts: 432

Postfix recieving email for deleted email address


I had a email address I deleted on my server (postfix on Debian 4), but to my surprise the server still recieves email for the address!
(I have manually tried sending a email to the address and it comes througt).

I have deleted the address from the /etc/postfix/virtual file and restarted postfix.
What could I have forgotten?

Thanks.

__________________
Checkout www.crunzh.com for nice freeware programs. Including a program for monitoring your webserver.
Any opinions in this post, unless otherwise noted, are my own personal opinions.



Sponsored Links
  #2  
Old 07-18-2009, 10:58 AM
Sam Robertson Sam Robertson is offline
Aspiring Evangelist
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 408
You need to run 'postmap' after editing the file:

Code:
postmap /etc/postfix/virtual

  #3  
Old 07-18-2009, 11:10 AM
msh msh is offline
Aspiring Evangelist
 
Join Date: Aug 2002
Location: Denmark
Posts: 432
Thank you, but that did not work.

I ran postmap and restarted postfix, and fired off a test email which still arrived.

__________________
Checkout www.crunzh.com for nice freeware programs. Including a program for monitoring your webserver.
Any opinions in this post, unless otherwise noted, are my own personal opinions.

Sponsored Links
  #4  
Old 07-18-2009, 11:25 AM
Sam Robertson Sam Robertson is offline
Aspiring Evangelist
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 408
Check and see if it's listed in /etc/postfix/vmailbox (or the location that virtual_mailbox_maps in main.cf points to)

If it's there then remove it, and run 'postmap /path/to/file' and reload postfix

  #5  
Old 07-18-2009, 11:31 AM
msh msh is offline
Aspiring Evangelist
 
Join Date: Aug 2002
Location: Denmark
Posts: 432
Hi

/etc/postfix/vmailbox doesn't exist, and there are no virtual_mailbox_maps line in main.cf

The relevant parts of main.cf looks like this:

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
virtual_alias_maps = hash:/etc/postfix/virtual
mailbox_command = /usr/bin/procmail


/etc/aliases is empty.

__________________
Checkout www.crunzh.com for nice freeware programs. Including a program for monitoring your webserver.
Any opinions in this post, unless otherwise noted, are my own personal opinions.

  #6  
Old 07-18-2009, 08:40 PM
DJMizt73 DJMizt73 is offline
Junior Guru
 
Join Date: Jul 2009
Posts: 237
can you post your main.cf and section of your /var/log/maillog (or wherever your mail log is) when you send a test email to those ghost email addy?

  #7  
Old 07-19-2009, 05:39 AM
msh msh is offline
Aspiring Evangelist
 
Join Date: Aug 2002
Location: Denmark
Posts: 432
my main.cf:
Code:
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
delay_warning_time = 6h

alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = paragon.adsltips.dk, localhost.localdomain, localhost, adsltips.dk, crunzh.com
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
virtual_alias_maps = hash:/etc/postfix/virtual
mailbox_command = /usr/bin/procmail

smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/postfix.pem
smtpd_tls_key_file = /etc/postfix/postfix.pem

#smtpd_sasl_auth_enable = yes
#smtpd_tls_auth_only = yes

#Limit spamassasin
local_destination_concurrency_limit = 5
smtpd_sasl_local_domain     = $mydomain

disable_vrfy_command = yes
smtpd_recipient_limit = 100
message_size_limit = 100240000
smtpd_sasl_auth_enable = yes
#smtp_sasl_auth_enable   = yes
#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
broken_sasl_auth_clients = yes
My log:
Code:
Jul 19 05:31:48 paragon postfix/smtpd[25730]: connect from mail-fx0-f218.google.com[209.85.220.218]
Jul 19 05:31:48 paragon postfix/smtpd[25730]: 85F9F3E81CBD: client=mail-fx0-f218.google.com[209.85.220.218]
Jul 19 05:31:48 paragon postfix/cleanup[26280]: 85F9F3E81CBD: message-id=<f12625ce0907190231q5abcc4d7tef2aa7a1546060f0@mail.gmail.com>
Jul 19 05:31:50 paragon postfix/local[26287]: 85F9F3E81CBD: to=<msh@adsltips.dk>, relay=local, delay=2.5, delays=0.4/0/0/2.1, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail)

__________________
Checkout www.crunzh.com for nice freeware programs. Including a program for monitoring your webserver.
Any opinions in this post, unless otherwise noted, are my own personal opinions.

  #8  
Old 07-19-2009, 06:00 AM
DJMizt73 DJMizt73 is offline
Junior Guru
 
Join Date: Jul 2009
Posts: 237
your $mydestination = adsltips.dk

you should move these virtual domains to either virtual_alias_domains or add it to your virtual_alias_maps

Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix email server problem calling all email gurus goku123 Hosting Security and Technology 1 12-01-2006 07:29 PM
cPanel not recieving email chawz Hosting Security and Technology 2 11-13-2006 02:43 AM
Registering the ISP's email address as the domain owner's email addy...not a serio... taketo Running a Web Hosting Business 6 05-26-2004 08:02 AM
Who else has been recieving this strange email? "None" in the subject, blank email. HostQuest Web Hosting Lounge 3 03-07-2004 05:29 PM
Need to change email server name and still get emails for old email address BooBoo Dedicated Server 2 04-18-2003 12:36 PM

Related posts from TheWhir.com
Title Type Date Posted
eApps Hosting Listing 2014-04-17 12:29:42
SSLGURU Listing 2014-04-17 12:29:23
SpamExperts Listing 2014-04-17 12:29:07
SpamExperts Listing 2014-04-17 12:31:39
Blacknight Listing 2014-04-17 12:32:08


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?