Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I can't seem to find a configure setting in main.cf where I can get failed delivery notices to be sent to the sender of the failed mail. Currently there is no indication of weather a mail has actually been sent or not.

I thought maybe it's because the delivery agent is separate from postfix, and was under the impression that it would then be procmail, but there is no .promailrc file on my system with is running CentOS 5.5.

I've tried to send test mails to non-existing addresses assuming they would then remain in the queue being unsent, but when I check the queue it's always empty. Have tried looking in /var/log/maillog also and see no evidence of failed deliveries.

GMAIL however bounces one of our domains which seems to the blacklisted, that shows in the maillog but no failed delivery message is sent back to the sender who then never has any indication that the mail has been bounced and not reached it's destination.

share

migration rejected from stackoverflow.com Dec 8 at 23:40

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as off-topic by Jenny D, Dave M, mdpc, Katherine Villyard, HBruijn Dec 8 at 23:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – Jenny D, Dave M, mdpc, Katherine Villyard, HBruijn
If this question can be reworded to fit the rules in the help center, please edit the question.

    
superuser.com should be a better place to ask this –  charisis Mar 28 '11 at 10:47

3 Answers 3

The local delivery agent should call bounce(8) if the local recipient does not exist.

Read more about the local_recipient_maps in the postfix manual.

share
    
It seems that local_recipient_maps have to do with incoming mail. On the our system we use fetchmail to fetch from all employees external email accounts & pool into one local email account, then our ERP system fetches them from a local dovecot mailbox & delivers them to individuals', via intergrated email client functionality. But when an individual sends a mail from the integrated client within the ERP there is no indication if the sent message failed to be delivered. I just need to direct failed deliveries to that local one email address a process with seems standard..any ideas? –  justify Apr 4 '11 at 7:24

Checks the master.cf. Maybe someone has change your bounce process to discard so all bounce message will be discarded.

For example, if you have master.cf with this entry

bounce    unix  -       -       n       -       0       discard

Then all bounce will be discarded. Change it back to default value like below line should solves the problem.

bounce    unix  -       -       n       -       0       bounce
share

I've never used sendmail but I thought /etc/aliases defined key addresses like root and postmaster. Tried there ? Run newaliases after changes.

share

Not the answer you're looking for? Browse other questions tagged or ask your own question.