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'm not shure about the wording. Maybe bouncing is the right word.

Problem is, that a local user did send a message to a non-existing domain. Now I expected that postfix will send the message back to the sender. Isn't this default behavior? And if not, what have I to do to get this working?

If someone's interesseted in my postfix configuration: Pastebin (because it's to large to post here).

The problem in simple steps:

  1. james.bond@mydomain.org sends a message via mail.mydomain.org to alfred@nonexistenddomain.org
  2. Mail stays in postfix' mailqueue now for over 5 days.

My intention:

  • Notify the sender (james.bond@mydomain.org) that message couldn't get delivered.
share|improve this question

3 Answers 3

up vote 2 down vote accepted

Postfix is saving the message to try again later. You can use these parameters to change this behavior.

Be careful because remote servers using Greylisting may not accept messages if you haven't tried enough times or waited long enough.

share|improve this answer

You'll want to set a positive time value for delay_warning_time.

e.g.: delay_warning_time = 90m

share|improve this answer

The parameter you want to look at is bounce_queue_lifetime.

It seems that in your configuration it's set to 2 days, which is kind of low. Perhaps you changed it after this issue occurred? Or did you remember to reload Postfix after changing it?

share|improve this answer
    
I set this down before posting this question but it doesn't affekt the messages in the queue. Two days later the problem where solved. –  PascalTurbo Feb 22 '13 at 13:38

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.