Re: Reject unknown Sender address

From: Noel Jones (no email)
Date: Fri Jun 01 2007 - 15:14:37 EDT

  • Next message: Dave McGuire: "Re: Reject unknown Sender address"

    At 01:58 PM 6/1/2007, Dave McGuire wrote:
    >On Jun 1, 2007, at 6:30 AM, Eray Aslan wrote:
    >>>I get plenty of spam with the From address from my domain ... but
    >>>the users
    >>>don't exists in the virtual-table.
    >>>
    >>>Can I somehow reject only From addresses from my domain with unknown
    >>>users of the virtual table?
    >>
    >>http://www.postfix.org/postconf.5.html#smtpd_reject_unlisted_sender
    >>
    >>Here is how we use it:
    >>
    >>/etc/postfix/main.cf:
    >> smtpd_recipient_restrictions = reject_non_fqdn_sender
    >> reject_non_fqdn_recipient
    >> reject_unlisted_recipient
    >> reject_unlisted_sender
    >> permit_sasl_authenticated
    >> permit_mynetworks
    >> reject_unauth_destination
    >> [...]
    >
    > Wow, I was just thinking of a solution to this problem today,
    >thanks! :-) I have one question about this, though.
    >
    > My installation has many wildcard entries of the form
    >'@domain.com', with no username component, in relay_recipient_maps.
    >Will those entries work as expected (i.e., as wildcards) when used by
    >smtpd_reject_unlisted_sender? I would guess yes, but since it's not
    >explicitly stated in the documentation, I'm nervous about enabling it
    >on the production system without checking first.

    If you have a domain wildcard in relay_recipient_maps,
    smtpd_reject_unlisted_sender will accept any sender for that domain.

    -- 
    Noel Jones 
    

  • Next message: Dave McGuire: "Re: Reject unknown Sender address"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD