Results 1 to 8 of 8

Thread: [SOLVED] reject_unlisted_recipient

  1. #1
    htin is offline Intermediate Member
    Join Date
    Feb 2007
    Location
    Vancouver, BC, Canada
    Posts
    16
    Rep Power
    8

    Default [SOLVED] reject_unlisted_recipient

    I'm getting dictionary attack this whole week. Receiving to invalid email addresses and MTA is bouncing all. Here is some entry in main.cf

    smtpd_recipient_restrictions = reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender, reject_unauth_destination, permit
    alias_maps = hash:/etc/aliases,hash:/usr/local/mailman/data/aliases
    virtual_alias_maps = ldap:/opt/zimbra/conf/ldap-vam.cf,hash:/usr/local/mailman/data/virtual-mailman
    unknown_local_recipient_reject_code = 550
    [Working together for better community]

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,492
    Rep Power
    56

    Default

    Change the entry in zmmta.cf for smtpd_reject_unlisted_recipient to 'yes', save the file and restart postfix.
    Last edited by phoenix; 08-12-2008 at 06:51 AM.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    htin is offline Intermediate Member
    Join Date
    Feb 2007
    Location
    Vancouver, BC, Canada
    Posts
    16
    Rep Power
    8

    Default

    Thanks Bill, It was set to "no" in my installation.
    [Working together for better community]

  4. #4
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,492
    Rep Power
    56

    Default

    Quote Originally Posted by htin View Post
    Thanks Bill, It was set to "no" in my installation.
    That's the default. I forgot to add that you will need to change that after every upgrade as that file gets overwritten.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    tcnj is offline Junior Member
    Join Date
    Sep 2007
    Posts
    5
    Rep Power
    7

    Default

    Isn't the purpose of reject_unlisted_recipient in the smtpd_recipient_restrictions supposed to reject messages for users that don't exist on the system?

    I too had to use the smtpd_reject_unlisted_recipients to get this to work, but this is more of a "global" setting. I like the reject_unlisted_recipient option better because I can selectively accept email for non-existent address by local users (i.e. mynetworks) and bounce them an error message back via email. Sometimes they get confused when their mail client refuses to send when they click the send button. Also we have some old listproc software that totally fails when it gets rejected because one of the list recipients is no longer valid.

  6. #6
    rusty is offline Loyal Member
    Join Date
    Nov 2007
    Posts
    92
    Rep Power
    7

    Default smtpd_reject_unlisted_recipients

    When I check my zmmta.cf file there is no reference to smtpd_reject_unlisted_recipients. I'm on 4.5.9 Network Edition. Has this rule been removed? If I need to add it, what is the proper syntax? Why is it missing, it there a problem with setting the rule to yes?

  7. #7
    rusty is offline Loyal Member
    Join Date
    Nov 2007
    Posts
    92
    Rep Power
    7

    Default

    Never mind. After visually searching and not finding, I did a search (spelled it correctly) and still nothing. As soon as I posted I found it.

  8. #8
    garyo is offline Active Member
    Join Date
    Sep 2008
    Location
    Cambridge, MA
    Posts
    41
    Rep Power
    6

    Default How to remember customizations?

    Regarding things like this customization that gets overwritten on upgrades, what's the accepted best practice for how to remember all these little things and reapply them when you upgrade? Just wondering. I inherited a zimbra install here and don't necessarily know all the little tweaks that were done, so now I'm scared to ever upgrade it since if I missed something like smtpd_reject_unlisted_recipient=yes, I'd suddenly be deluged in spam!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •