OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: J.D. Bronson (jeffsparc-central.com)
Date: Thu Jan 04 2001 - 10:10:42 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Ralf (on the list) offered me some advice, but I need some help
    integrating this:

    I want to reject email based on the senders 'From:' line ...

    In other words:

    From: *.msn.com
    From: *.tw
    From: *.kr

    Ralf suggested using sender_checks and the following:

    msn.com 550
    .tw 550
    .kr 550

    ...While I certainly understand this, I need some assistance in getting
    this into the main.cf file (below is the important part)

    smtpd_recipient_restrictions =
                    permit_mynetworks,
                    check_recipient_access regexp:$config_directory/recipient_checks.regexp,
                    check_recipient_access dbm:/etc/postfix/override,
                    check_client_access dbm:$config_directory/client_checks,
                    reject_unauth_destination,
                    reject_unauth_pipelining,
                    reject_invalid_hostname,
                    reject_non_fqdn_hostname,
                    reject_non_fqdn_sender,
                    reject_non_fqdn_recipient,
                    reject_unknown_sender_domain,
                    reject_unknown_recipient_domain,
                    reject_maps_rbl,
                    reject_unknown_client,
                    check_relay_domains

    ...so where does this sender_checks fit in?

    ..I do have override for important emails and that MUST come first of
    course...

    Thanks to all in advance! I appreciate it!

    Jeff