Hello,
        Thanks. The mail is rejected, but it's generating bounce messages,
whereas mail to unknown users that smtpd rejects doesn't get queued at all,
mail addressed to mailman seems to start through the queue rather than be
initially rejected.
        Thanks.
Dave.
 

-----Original Message-----
From: owner-postfix-us...@postfix.org
[mailto:owner-postfix-us...@postfix.org] On Behalf Of Sahil Tandon
Sent: Sunday, August 16, 2009 5:02 PM
To: postfix-users@postfix.org
Subject: Re: postfix not rejecting single nonexistent user

On Sun, 16 Aug 2009, Dave wrote:

>       I have two domains on this machine, one example.com that is a
virtual 
> mailbox domain holds all users, the other a local domain in 
> mydestination called lists.example.com a subdomain is for mailman use. 
> From what i'm seeing in these logs i do not believe lists.example.com 
> is coming in to play either.
>       For all nonexistent users smtpd rejects them:
> 
> Aug 16 04:41:30 <HOSTNAME> postfix/smtpd[26093]: connect from 
> unknown[188.18.105.39] Aug 16 04:41:31 <HOSTNAME> 
> postfix/smtpd[26093]: NOQUEUE: reject: RCPT from
> unknown[188.18.105.39]: 554 5.1.1 <max.str...@example.com>: Recipient 
> address rejected: undeliverable address: unknown user:
> "max.str...@example.com"; from=<lorettahutto...@rogers.com> 
> to=<max.str...@example.com> proto=SMTP helo=<example.com> Aug 16 
> 04:41:31 <HOSTNAME> postfix/cleanup[25790]: 8547A1509002A:
> message-id=<20090816094131.8547a15090...@mail.example.com>
> Aug 16 04:41:31 <HOSTNAME> postfix/virtual[25791]: 8547A1509002A:
> to=<max.str...@example.com>, relay=virtual, delay=0, delays=0/0/0/0, 
> dsn=5.1.1, status=undeliverable (unknown user: 
> "max.str...@example.com") Aug 16 04:41:31 <HOSTNAME> 
> postfix/smtpd[26093]: disconnect from unknown[188.18.105.39]
> 
> the single exception to this is mail...@example.com, which is not a 
> virtual user in the example.com virtual mailbox domain, but which is 
> listed in the /etc/passwd file as a user, specifically the user who 
> runs the mailman software. This user is getting rejected by virtual, 
> not local as i would expect.

Because you specify 'example.com' in $virtual_mailbox_domains, its valid
recipients are governed by $virtual_mailbox_maps.  The /etc/passwd file does
not come into play.  Therefore, if mail...@example.com is not listed in the
aforementioned map, mail addressed to that address is rejected.  It seems
everything is working as designed.

--
Sahil Tandon <sa...@tandon.net>

Reply via email to