Action Objects - Bounce

Discussion in 'Mail Gateway: Installation and configuration' started by Sommer, Jul 3, 2018.

  1. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    45
    Likes Received:
    4
    Greetings,

    I am using Who Objects with LDAP Group - Unknown LDAP address to reject invalid recipients.
    Today I am using the block action, but better option would be bounce the message, as default MTA behavior.

    Is there a way to create a bounce action?

    Thank you
     
  2. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,256
    Likes Received:
    276
    If you simply remove the block rule, the receiving mail server will generate the bounce for you.
    Or you can also use the "verify receiver" options. This blocks mails earlier at smtp protocol level.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    45
    Likes Received:
    4
    @dietmar
    The receiving mail server is a second layer that does not have the valid recipients addresses.
    Also, that is why I am not using verify receiver option.
     
  4. dietmar

    dietmar Proxmox Staff Member
    Staff Member

    Joined:
    Apr 28, 2005
    Messages:
    16,256
    Likes Received:
    276
    So that server stores anything it receives?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    45
    Likes Received:
    4
    Yes
     
  6. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    281
    Likes Received:
    69
    As I'm aware of, PMG is currently not able to bounce or reject in MTA connection because of how pmg-smtp-filter is setup to perform the rules (it's a content-filter, no milter setup). Sending NDRs by pmg-smtp-filter seems also not available yet, however, it's always better to reject at MTA level instead of sending NDRs.
     
  7. Sommer

    Sommer Member

    Joined:
    Jun 7, 2018
    Messages:
    45
    Likes Received:
    4
    So, no bounce, OK.
    Is there a way to put some custom log entry?
    For example, put LDAP reject with mail filter action and be able to search on tracking center using filter.
     
  8. heutger

    heutger Active Member

    Joined:
    Apr 25, 2018
    Messages:
    281
    Likes Received:
    69
    Seems, that's not possible. I also already asked for my milter setup to adjust the tracking center to recognize such log entries as it needs coding.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice