smtpd_recipient_restrictions has no effect

From: Jarrod Neven (no email)
Date: Sun May 30 2010 - 07:29:20 EDT

  • Next message: Jeroen Geilman: "Re: smtpd_recipient_restrictions has no effect"

    I am trying to setup restriction to prevent selected users from sending
    email externally. I have followed the "Restricting what users can send mail
    to off-site destinations" guide at but it is not having
    any effect.

    It appears that no matter what I do smtpd_recipient_restrictions has no
    effect. Have set the hash file to an invalid file and created syntax errors
    and there are no error messages in the log, even set
    smtpd_recipient_restrictions = reject and it did nothing.

    In I have added -v -v to the smtpd process and it shows no mention
    of the value smtpd_recipient_restrictions, looks like it is ignored

    Is anything that can prevent smtpd_recipient_restrictions from working?
    Maybe a compiled option missing?

    I have postfix 2.5.1 on centos 64bit

    #postconf -n
    config_directory = /etc/postfix
    mail_owner = postfix
    setgid_group = postdrop
    smtpd_client_restrictions = check_sender_access
    smtpd_delay_reject = no
    smtpd_recipient_restrictions = check_sender_access
    smtpd_restriction_classes = local_only
    smtpd_sender_restrictions = check_sender_access
    virtual_alias_maps = mysql:$config_directory/
    virtual_gid_maps = static:12
    virtual_mailbox_base = /var/vmail
    virtual_mailbox_domains =
    virtual_mailbox_limit_maps =
    virtual_mailbox_maps = mysql:$config_directory/
    virtual_minimum_uid = 101
    virtual_transport = dovecot
    virtual_uid_maps = static:101

  • Next message: Jeroen Geilman: "Re: smtpd_recipient_restrictions has no effect"

    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs

    Powered By FreeBSD   Powered By FreeBSD