HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   postfix related to: Undelivered Mail Returned to Sender (http://www.howtoforge.com/forums/showthread.php?t=1396)

Ovidiu 25th November 2005 11:33

postfix related to: Undelivered Mail Returned to Sender
 
hello,

the problem is as folows:

one of the sites I hoste uses phpBB2 forum. It seems like they have set the sender address of their registration emails to an external yahoo account.

What now happens is this:

a user tries to sign up, gives a wrong email address, phpBB2 sends out a welcome message to the wrong email address, the target mailserver rejects the wrong emailaddress so after sitting in my queue the mail gets back to the server admin account, shoul't it get back to the sender email address set in the phpBB2 settings?

I mean the server has a message it can't deliver, so it should look at the sender of the mail and deliver the failure back to that email address or does this not work if the sender was also an external email, which would indicate relaying ?

can somebody give some hints?

falko 25th November 2005 11:46

Quote:

Originally Posted by Tenaka
a user tries to sign up, gives a wrong email address, phpBB2 sends out a welcome message to the wrong email address, the target mailserver rejects the wrong emailaddress so after sitting in my queue the mail gets back to the server admin account, shoul't it get back to the sender email address set in the phpBB2 settings?

It depends on what is set as Return-Path in the email header. That's the address that receives the rejected message.

Ovidiu 25th November 2005 11:55

here is the original mails header:

Quote:

Received: by hxxxx.serverkompetenz.net (Postfix, from userid 33)
id 3A26613C2F9; Fri, 25 Nov 2005 11:12:15 +0100 (CET)
To: www.adisor_pln@yahoo.com
Subject: Welcome to Hai-Hui.NET Forums
Reply-To: tibi*@yahoo.com
From: tibi*@yahoo.com
Message-ID: <cffd044d37fa93be27e8d2d37ec06687@www.hai-hui.net>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Date: Fri, 25 Nov 2005 11:12:15 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: PHP
X-MimeOLE: Produced By phpBB2
The only thing I changed is part of my hostname: xxxx and I put in a * instead of that persons lastname, to me it seems like this mail should either get delivered to www.adisor_pln@yahoo.com which is a bogus email or the failure report should get delivered to tibi*@yahoo.com, so where could the error be?

P.S. I know the tibi*@yahoo.com mail exists.

falko 25th November 2005 12:10

There's no Return Path, so I guess the email gets returned back <user of the process that sends the email, e.g. Apache user>@<hostname, e.g. hxxxx.serverkompetenz.net> by default. For example, if I get an email from my web server, it looks like this:

Code:

Return-Path: <www-data@xxx.xxxxxxx.com>

Ovidiu 25th November 2005 12:17

conclusion: phpBB2 breaks emailing rules!?
I'll ask them to set their local email address aka tibi@hai-hui.net (already set up and working) as the sender so they will get their feedback and not me...

falko 25th November 2005 12:36

Quote:

Originally Posted by Tenaka
conclusion: phpBB2 breaks emailing rules!?

I don't know... We don't use it, it has had and probably will have too many security holes. We are very satisfied with vBulletin.


All times are GMT +2. The time now is 22:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.