qmail bounce address ignore list

Discussion in 'qmail' started by wolfbuda, Aug 5, 2014.

  1. wolfbuda

    wolfbuda New Email

    Joined:
    Aug 5, 2014
    Messages:
    4
    Likes Received:
    0
    Hi,

    It's possible to create a "black list" of address which qmail ignores bounces to that address list?

    Thanks.
     


  2. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    Hello,

    Can you help explain your question with an example?

    It's not clear to me if you want to ignore mailer-daemon messages some or all of the time, and/or if it should only be applied to the incoming mail flow to a specific email list that you are hosting.
     

  3. wolfbuda

    wolfbuda New Email

    Joined:
    Aug 5, 2014
    Messages:
    4
    Likes Received:
    0
    Thanks for reply.

    Some address are, constantly, send email to mailbox that not exist. I would like that qmail ignores send bounces to these address.

    Regards.
     
  4. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    Hello,

    If you have one or more addresses that do not exist but are constantly getting email there are a couple ways to handle that situation.

    What are you using to manage the domains and accounts on the qmail server?

    The best option is to enable valid recipient checking so that email to non-existent addresses is rejected by qmail-smtpd before it's accepted into your server. Some of the implementations are mentioned here.

    If you have a simple qmail install with no virtual domain management software, and it's always the same addresses getting hit with email, you can have qmail quietly, and more efficiently than the default setup, discard the email by creating .qmail files for those usernames with the only contents being a #

    > cat .qmail-username
    #

    A .qmail file with a # in it means silently delete all email to that address.
     
  5. wolfbuda

    wolfbuda New Email

    Joined:
    Aug 5, 2014
    Messages:
    4
    Likes Received:
    0
    I use qmail-ldap implementation.

    I still want to send bounces, I just want to not send bounces to a certain list of address... Is that possible?

    Ps: They are many local address to setup a silent delete...
     
  6. popowich

    popowich EQ Forum Admin Staff Member

    Joined:
    Aug 12, 2008
    Messages:
    8,983
    Likes Received:
    120
    If you want to prevent bounces back to certain recipients, depending on what domain name(s) they are in, you could configure your qmail to treat those domains local, or the better solution might be to blacklist email To: those addresses in your outbound spam filtering. Do you have the ability to blacklist and trap/delete on email leaving your qmail server?
     
  7. wolfbuda

    wolfbuda New Email

    Joined:
    Aug 5, 2014
    Messages:
    4
    Likes Received:
    0
    that's a very good ideia :)

    Thank you!
     

Want to reply or ask your own question?

It only takes a minute to sign up (and it's free!). Click the orange sign up button to choose a username and then you can ask your own questions on the forum.
Loading...