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/sho...=returned+mail
but it seems that the php code is right for me.
So any undelivered mail send by php returns to "email@example.com" 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 (firstname.lastname@example.org is the sender on ISPConfig server, email@example.com is a non existent mail address) :
De: Mail Delivery System <MAILER-DAEMON@myserver.net>
Sujet: Undelivered Mail Returned to Sender
This is the mail system at host myserver.net.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to postmaster.
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<firstname.lastname@example.org>: Host or domain name not found. Name service error for
name=test.c11om type=AAAA: Host not found
But the original mail, joined to this one for information, says :
Répondre à: email@example.com
Date: Thu, 21 Feb 2008 10:54:15 +0100 (CET)
Test texte 2
The From and return-to fields are good.... Why Postfix send the error message to www-data ?