As xmail is a MTA, it don't care about the mail content itself and its headers, it only take the delivery info from the smtp session, so the 'error-report' email will be the smtp sender (MAIL FROM)
You have two simple choices (not exhaustive): 1 - Use the 'Mail From' address as the 'MAIL FROM' (smtp) Effectively your server can be banned or rejected by many servers = running anti-spam software doing checks like spf, sender-id, reverse mx checks, = .... 2 - If the MailFrom sender email don't change on each sent mail = (mailing ?), create a special account (a real account or a cmd account) owned on = your server like '[EMAIL PROTECTED]' (or on a special domain to avoid confusion with your domain), setup this special account to redirect to = the real MailFrom sender (method depends of real or cmd account, see xmail = doc) and ask your friend to use it as the MAIL FROM sender.=20 Francis >-----Message d'origine----- >De : [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] la part de Ivo Smits >Envoy=E9 : mardi 6 f=E9vrier 2007 17:40 >=C0 : xmail@xmailserver.org >Objet : [xmail] Send 'delivery failed' report to 'From' address? > > >I have a website of a friend running on my server. People=20 >often register=20 >with incorrect(?) e-mail adresses. I ('MAIL FROM' address) get=20 >the failure=20 >report and the website ower ('From' address) gets nothing. The=20 >e-mail header=20 >looks like this: >Received: from /spool/local >by UFO-Net.nl with [XMail 1.24 LMAIL Server] >for <[EMAIL PROTECTED]> from <[EMAIL PROTECTED]>; >Sun, 4 Feb 2007 11:26:00 +0100 >To: [EMAIL PROTECTED] >Subject: example >From:[EMAIL PROTECTED] >X-Mailer: PHP/5.2.0-8 >Date: Sun, 4 Feb 2007 11:25:59 +0100 > >Is it possible to deliver the report to the 'From' address? (I think=20 >changing the MAIL FROM address is not an option, since at=20 >least gmail and=20 >hotmail would reject my email). > >Ivo=20 > >- >To unsubscribe from this list: send the line "unsubscribe xmail" in >the body of a message to [EMAIL PROTECTED] >For general help: send the line "help" in the body of a message to >[EMAIL PROTECTED] > - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]