Adding postfix config data.
This commit is contained in:
parent
7e113641be
commit
ee92d38338
1 changed files with 17 additions and 0 deletions
17
docs/postfix_configuration
Normal file
17
docs/postfix_configuration
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
Add to /etc/postfix/main.cf:
|
||||
smtpd_reject_unlisted_recipient = no
|
||||
transport_maps = regexp:/etc/postfix/wg_mailer_transport
|
||||
wgml_destination_recipient_limit = 1
|
||||
|
||||
Add to /etc/postfix/master.cf:
|
||||
wgml unix - n n - - pipe
|
||||
flags=FR user=martin argv=/data/custom/webgui_newsletter/sbin/newsletter-transport.pl ${domain} ${user}
|
||||
|
||||
|
||||
Create /etc/postfix/wg_mailer_transport:
|
||||
/^[a-zA-Z0-9]+-bounce@/ wgnl:
|
||||
|
||||
And run:
|
||||
postmap /etc/postfix/wg_mailer_transport
|
||||
|
||||
Finally restart postfix.
|
||||
Loading…
Add table
Add a link
Reference in a new issue