These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Not getting mail errors back when sending out emails to non-existent email accounts? on the new forum.
First step here is, like always and with any Linux problem, to take a look at the logfiles in /var/log. The process of returning an undeliverable mail should be noted there, also any problems that occur during that.
I am sorry for omitting the obvious but I have done this already and I couldn't spot the error: Here is an extract of maillog during an attempt to send an email from mynormal user to a NOT-existing email account (of a real domain, hosted elsewhere).
I have made some substitutions of real data.
Nov 30 13:48:00 myserver-hostname postfix/smtpd[26992]: connect from []
Nov 30 13:48:00 myserver-hostname postfix/smtpd[26992]: setting up TLS connection from []
Nov 30 13:48:00 myserver-hostname postfix/smtpd[26992]: Anonymous TLS connection established from []: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Nov 30 13:48:01 myserver-hostname postfix/smtpd[26992]: NOQUEUE: reject: RCPT from []: 550 5.1.1 NOT-existing-mailbox@an-existing-domain.net: Recipient address rejected: User unknown in virtual alias table; from=my-existing-user@mydomain.com to=NOT-existing-mailbox@an-existing-domain.net proto=ESMTP helo=
Nov 30 13:48:04 myserver-hostname postfix/smtpd[26992]: disconnect from []
That's all.
EDIT:
smtpd_sender_restrictions = warn_if_reject reject_unknown_sender_domain reject_non_fqdn_sender
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination reject_rbl_client zen.spamhaus.org reject_rbl_client bl.spamcop.net check_policy_service unix:/var/spool/postfix/postgrey/socket
Are those correct?
Anyone's input please?
I have no immediate idea what could be wrong for you, but here's the log transcript of a "correct" NDR:
Thank you for the reply. Although I tried I cant figure out which configuration setting is the one to be blamed.
Could you please share at least your 2 postix config files? That I think will spread some light to the problem.
Much appreciated if you can do that. N
Sure, here you are. main.cf:
master.cf:
Hmm, I've never heard of what you're describing before... in theory, an email response is just being sent to the sender, if the address doesn't exist.
And in your email logs that you shared above, I don't see any problems, though I do see an email being delivered to an account on your server.
Is it possible that the messages are ending up in a spam folder?
Also, could you post the output of "postconf -n"?
That will show just the non-default Postfix options, which hopefully will make it simpler to see if there are any problems.
-Eric
Thank you for the reply.
I am attaching the postconf result on a txt file because copy pasting it in here does not recognize break-lines and all the text shows as one line.
andreychek, do you see any problems with the posted config?
N
To paste shell listings directly in a post here, you can enclose it in
[code]
[/code] tags, that will preserve linebreaks and monospace font.What about now?
Well, I don't see anything that jumps out at me which would explain the behavior you're seeing.
I didn't see any issues in the blurb from your logs though, is it possible that the missing emails are in an alternate folder, such as a spam folder?
-Eric
Well that was my No1 troubleshooting method. To look there. But no. Nothing. :(