Re: another smtpd in master.cf

From: Magnus Bäck (no email)
Date: Sun Feb 04 2007 - 04:50:06 EST

  • Next message: Sipos Gabor: "Re: ideas/working examples needed"

    On Sunday, February 04, 2007 at 10:44 CET,
         "" <> wrote:

    > I want to setup another smtpd in master.cf

    [...]

    > but if i change it to : (just change the smtpd_sender_restrictions )
    >
    > 127.0.0.1:10025 inet n - y - - smtpd
    > -o local_recipient_maps=
    > -o relay_recipient_maps=
    > -o smtpd_restriction_classes=
    > -o smtpd_client_restrictions=
    > -o smtpd_helo_restrictions=
    > -o smtpd_sender_restrictions=check_sender_access regexp:/etc/postfix/access
    > -o smtpd_recipient_restrictions=permit_mynetworks,reject
    > -o mynetworks=127.0.0.0/8
    > -o strict_rfc821_envelopes=yes
    > -o smtpd_error_sleep_time=0
    > -o smtpd_soft_error_limit=1001
    > -o smtpd_hard_error_limit=1000

    You can't have spaces in the arguments. Replace by comma or (better)
    define the value in main.cf and refer to it in master.cf.

    main.cf:
    reinjection_sender_restrictions =
            check_sender_access regexp:/etc/postfix/access

    master.cf:
    127.0.0.1:10025 inet n - y - - smtpd
            -o smtpd_sender_restrictions=$reinjection_sender_restrictions

    [...]

    -- 
    Magnus Bäck
    

  • Next message: Sipos Gabor: "Re: ideas/working examples needed"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD