- //main.cf
- content_filter = scan:[127.0.0.1]:10025
- #receive_override_options = no_address_mappings
- ...
- ...
- //master.cf
- # service type private unpriv chroot wakeup maxproc command + args
- # (yes) (yes) (yes) (never) (100)
- # ==========================================================================
- 10.10.10.2:smtp inet n - - - - smtpd
- scan unix - - n - 10 smtp
- -o smtp_sender_xforward_command=yes
- -o disable_mime_output_conversion=yes
- -o smtp_generic_maps=
- 127.0.0.1:10025 inet n n n - 10 spawn
- user=filter argv=/etc/postfix/filter/test.sh 127.0.0.1 10026
- 127.0.0.1:10026 inet n - n - 10 smtpd
- -o content_filter=
- -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters
- -o smtpd_helo_restrictions=
- -o smtpd_client_restrictions=
- -o smtpd_sender_restrictions=
- -o smtpd_recipient_restrictions=permit_mynetworks,reject
- -o mynetworks=127.0.0.0/8
- -o smtpd_authorized_xforward_hosts=127.0.0.0/8
- #smtp inet n - - - - smtp
- ...
- ...
SHARE
TWEET
Untitled
a guest
Apr 27th, 2011
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
