From: Russell Jones on
For some reason, if a local user sends mail to another local user who
doesn't exist, my Postfix installation doesn't seem to notify the sender
of the error, nor deliver a bounce message to the sender.

Log snippet of what I am talking about:

Sep 28 00:29:48 server2 dovecot: imap-login: Login:
user=<russell(a)example.com>, method=PLAIN, rip=::ffff:98.197.128.40,
lip=::ffff:69.164.197.129
Sep 28 00:29:58 server2 postfix/smtpd[3447]: connect from
c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]
Sep 28 00:29:58 server2 postfix/smtpd[3447]: NOQUEUE: reject: RCPT from
c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]: 550 5.1.1
<sadasdasd(a)example.com>: Recipient address rejected: User unknown in
virtual alias table; from=<rjones(a)example.com>
to=<sadasdasd(a)example.com> proto=ESMTP helo=<RussellDesktop>
Sep 28 00:29:58 server2 postfix/smtpd[3447]: disconnect from
c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]


I am russell(a)example.com. You can see that postfix notices that the user
does not exist. However, I never get a message about it! No popup, no
bounce message, nothing. This occurs on both Thunderbird and Windows
Mail. Furthormore, Procmail's procmail.log also has no entries about any
bounce message being delivered, so I know that the message isn't getting
sneaked off to root or somewhere else it shouldn't be going.

On my older, production Exim server, ths popup occurs immediately.

Any ideas? Appreciate the help.


From: Charles Marcus on
On 9/28/2009, Russell Jones (rjones(a)eggycrew.com) wrote:
> On my older, production Exim server, ths popup occurs immediately.

Per the welcome message you received when you joined the list:

TO REPORT A PROBLEM see:
http://www.postfix.org/DEBUG_README.html#mail

At a minimum, postfix version and output of postconf -n should be
provided...

--

Best regards,

Charles
From: Noel Jones on
On 9/28/2009 12:41 AM, Russell Jones wrote:
> For some reason, if a local user sends mail to another local user who
> doesn't exist, my Postfix installation doesn't seem to notify the sender
> of the error, nor deliver a bounce message to the sender.
>
> Log snippet of what I am talking about:
>
> Sep 28 00:29:48 server2 dovecot: imap-login: Login:
> user=<russell(a)example.com>, method=PLAIN, rip=::ffff:98.197.128.40,
> lip=::ffff:69.164.197.129
> Sep 28 00:29:58 server2 postfix/smtpd[3447]: connect from
> c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]
> Sep 28 00:29:58 server2 postfix/smtpd[3447]: NOQUEUE: reject: RCPT from
> c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]: 550 5.1.1
> <sadasdasd(a)example.com>: Recipient address rejected: User unknown in
> virtual alias table; from=<rjones(a)example.com>
> to=<sadasdasd(a)example.com> proto=ESMTP helo=<RussellDesktop>
> Sep 28 00:29:58 server2 postfix/smtpd[3447]: disconnect from
> c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]
>
>
> I am russell(a)example.com. You can see that postfix notices that the user
> does not exist. However, I never get a message about it! No popup, no
> bounce message, nothing. This occurs on both Thunderbird and Windows
> Mail. Furthormore, Procmail's procmail.log also has no entries about any
> bounce message being delivered, so I know that the message isn't getting
> sneaked off to root or somewhere else it shouldn't be going.
>
> On my older, production Exim server, ths popup occurs immediately.
>
> Any ideas? Appreciate the help.
>
>

Postfix correctly rejects the mail, and there is no bounce
message sent. There's no further action for postfix to take.

If your client doesn't notify you that the mail can't be
delivered, it's a client configuration problem.

-- Noel Jones
From: Wietse Venema on
Russell Jones:
> For some reason, if a local user sends mail to another local user who
> doesn't exist, my Postfix installation doesn't seem to notify the sender
> of the error, nor deliver a bounce message to the sender.
....
> Sep 28 00:29:58 server2 postfix/smtpd[3447]: NOQUEUE: reject: RCPT from
> c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]: 550 5.1.1
> <sadasdasd(a)example.com>: Recipient address rejected: User unknown in

The 550 (and 5.1.1) response inform the SMTP client that the recipient
address is invalid.

If the SMTP client does not inform you, then that is a client problem.

These SMTP server responses are actually standardized.

If the exim server does not implement standard responses for invalid
recipient addresses, that is better discussed on an exim mailing
list.

Wietse
From: LuKreme on
On 27-Sep-2009, at 23:41, Russell Jones wrote:
> Sep 28 00:29:58 server2 postfix/smtpd[3447]: NOQUEUE: reject: RCPT
> from c-98-197-128-40.hsd1.tx.comcast.net[98.197.128.40]: 550 5.1.1 <sadasdasd(a)example.com
> >: Recipient address rejected: User unknown in virtual alias table;
> from=<rjones(a)example.com>

"550 5.1.1 <sadasdasd(a)example.com>: Recipient address rejected: User
unknown in virtual alias table;" is a notification to the sender. If
your MUA or something is eating it, that's not really postfix's fault.

Windows mail, at least, is maniacal about concealing errors from the
user, as I recall.

--
2 is not equal to 3, not even for large values of 2.
Grabel's Law