undelivered mails don't return to right sender

Discussion in 'Installation/Configuration' started by fsoyer, Feb 21, 2008.

  1. fsoyer

    fsoyer New Member

    [SOLVED]undelivered mails don't return to right sender

    Hi all,
    Sorry if this problem was soon posted but I don't find any solution in forum. The only one could be http://www.howtoforge.com/forums/showthread.php?t=13762&highlight=returned+mail
    but it seems that the php code is right for me.

    So any undelivered mail send by php returns to "[email protected]" where myserver.net is the ISPConfig host. The mail is delivered to www-data so it fall in /var/mail/www-data, which grows... I have create a .forward file so I receive them now in my mailbox.
    The problem is that I don't understand why it don't return to the defined sender. The return mail is like this one ([email protected] is the sender on ISPConfig server, [email protected] is a non existent mail address) :

    But the original mail, joined to this one for information, says :

    The From and return-to fields are good.... Why Postfix send the error message to www-data ?
     
    Last edited: Feb 22, 2008
  2. fsoyer

    fsoyer New Member

    Ok. Don't worry.
    Finally I find the solution here. The -f option put the right Return-Path field on the mail.
     

Share This Page