postfix related to: Undelivered Mail Returned to Sender

Discussion in 'Server Operation' started by Ovidiu, Nov 25, 2005.

  1. Ovidiu

    Ovidiu Active Member


    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?
  2. falko

    falko Super Moderator ISPConfig Developer

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

    Ovidiu Active Member

    here is the original mails header:

    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 [email protected] which is a bogus email or the failure report should get delivered to tibi*, so where could the error be?

    P.S. I know the tibi* mail exists.
  4. falko

    falko Super Moderator ISPConfig Developer

    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.> by default. For example, if I get an email from my web server, it looks like this:

    Return-Path: <[email protected]>
  5. Ovidiu

    Ovidiu Active Member

    conclusion: phpBB2 breaks emailing rules!?
    I'll ask them to set their local email address aka [email protected] (already set up and working) as the sender so they will get their feedback and not me...
  6. falko

    falko Super Moderator ISPConfig Developer

    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.

Share This Page