This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Undelivered Mail Returned to Sender include both success and fail email

Dear All,

 

    I am testing the policy for sending to special recipient like sending to user1 is allow but deny for user2. When I test sending to the user seperate, the result is acceptable. Email send to user1 is success and no 'Undelivered Mail Returned to Sender' notice send back to me. And user2 cannot receive the email and a 'Undeliverd Mail Returned' notice send back to me and tell me that user2 was reject for policy reason.

    Howerver, when I include both user1 and user2 in the recipients, the email send to user1 and not to user2. It was the result I want. And a 'Undelivered Mail Returned to Sender' will send back to me. I expected the content will tell me user2 was rejected. However, it will includes both user1 and user2 in the content and said

user1:host 127.0.0.1[127.0.0.1] said: 550 This message was rejected for policy reasons

user2:host 127.0.0.1[127.0.0.1] said: 550 This message was rejected for policy reasons

  So I am not sure is user1 recevied the email or not by the 'Undelivered Mail Returned to Sender' notice.

 



This thread was automatically locked due to age.
  • when the local loopback device rejects mail 127.0.0.1 that is postfix delivering the message to the milter process (the policy engine) 

    if you include multiple recipients then the message will essentially be split for each recipient,  policy is run against each copy of the message. 

    for example.

    1 message, 3 recipient's john jim and jane get a message, mailed from mail chimp (aka a bulk mail flyer)

     

    the message is received and split 3 times.. the applaince will run all 3 copies against each users allow/block list and then against the UI configured policy.

    So if John whitelists the sender, Jim blacklists it and Jane is omitted from the bulk mail rule in the applaince configuration.. Then 1 copy of the message is sent to John because he whitelisted the mailer..  Jims copy is destroyed because he blacklisted the mailer and Jane would get the list because she is omitted from the bulk mail rule.

  • Hi,

        Thanks for your reply.  I known the system will split the message for each recipient and check the rules for each copy. But why the system return mail for blacklisted user will include all recipients, it may make the  user confuse is John get the message or not.

     

    Thanks

    Simon

  • Unfortunately without the actual email headers to observe any forum answer is speculation.  You may wish to open a case with support and submit the samples to not-spam@labs.sophos.com

    to do this create a new email from the user's inbox and drag and drop the samples. then send them out. 

     

    my guess is you are using "via downstream lookahead" unde configuration / smtp options / recipient validation. 

     

  • Hi RedWarrior,

    I have a similar case that i need your expert opinion on how to resolve.

     

    From: Mail Delivery System <MAILER-DAEMON@pmx.petterpiper.com.ph>
    Date: October 20, 2019 at 10:38:07 PM EDT
    To: ciscorrection@petterpiper.com.ph
    Subject: Undelivered Mail Returned to Sender

    This is the mail system at host pmx.petterpiper.com.ph.

    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

    <codedforwarding@gmail.com>: host gmail-smtp-in.l.google.com[64.233.189.26]
       said: 552-5.2.2 The email account that you tried to reach is over quota.
       Please direct 552-5.2.2 the recipient to 552 5.2.2
       https://support.google.com/mail/?p=OverQuotaPerm j12si12311241plk.237 -
       gsmtp (in reply to RCPT TO command).

     

    Thanks!