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 mail.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. Then 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-exsistant 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 mailog 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|improve this question

migrated from stackoverflow.com Mar 29 '11 at 13:16

This question came from our site for professional and enthusiast programmers.

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

2 Answers 2

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

share|improve this answer

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|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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