r1: [svn-inject] Installing original source of amavisd-cn
[amavisd-cn.git] / templates / sendmail-to-postfix.diff
1 --- amavisd.conf.sendmail-template      2006-06-30 10:53:18.000000000 +0200
2 +++ amavisd.conf.postfix-template       2006-06-30 13:07:57.000000000 +0200
3 @@ -102,17 +102,17 @@
4  # POSTFIX, or SENDMAIL in dual-MTA setup, or EXIM V4
5  # (set host and port number as required; host can be specified
6  # as IP address or DNS name (A or CNAME, but MX is ignored)
7 -#$forward_method = 'smtp:127.0.0.1:10025';  # where to forward checked mail
8 -#$notify_method = $forward_method;          # where to submit notifications
9 +$forward_method = 'smtp:127.0.0.1:10025';  # where to forward checked mail
10 +$notify_method = $forward_method;          # where to submit notifications
11  
12  # NOTE: The defaults (above) are good for Postfix or dual-sendmail. You MUST
13  #       uncomment the appropriate settings below if using other setups!
14  
15  # SENDMAIL MILTER, using amavis-milter.c helper program:
16  # SEE amavisd-new-milter package docs FOR DEBIAN INSTRUCTIONS
17 -$forward_method = undef;  # no explicit forwarding, sendmail does it by itself
18 +#$forward_method = undef;  # no explicit forwarding, sendmail does it by itself
19  # milter; option -odd is needed to avoid deadlocks
20 -$notify_method = 'pipe:flags=q argv=/usr/sbin/sendmail -Ac -i -odd -f ${sender} -- ${recipient}';
21 +#$notify_method = 'pipe:flags=q argv=/usr/sbin/sendmail -Ac -i -odd -f ${sender} -- ${recipient}';
22  # just a thought: can we use use -Am instead of -odd ?
23  
24  # SENDMAIL (old non-milter setup, as relay):
25 @@ -232,7 +232,7 @@
26  
27  # SMTP SERVER (INPUT) PROTOCOL SETTINGS (e.g. with Postfix, Exim v4, ...)
28  #   (used when MTA is configured to pass mail to amavisd via SMTP or LMTP)
29 -#$inet_socket_port = 10024;        # accept SMTP on this local TCP port
30 +$inet_socket_port = 10024;        # accept SMTP on this local TCP port
31                                    # (default is undef, i.e. disabled)
32  # multiple ports may be provided: $inet_socket_port = [10024, 10026, 10028];
33  
34 @@ -240,7 +240,7 @@
35  # - do not allow free access to the amavisd SMTP port !!!
36  #
37  # when MTA is at the same host, use the following (one or the other or both):
38 -#$inet_socket_bind = '127.0.0.1';  # limit socket bind to loopback interface
39 +$inet_socket_bind = '127.0.0.1';  # limit socket bind to loopback interface
40                                    # (default is '127.0.0.1')
41  #@inet_acl = qw( 127.0.0.1 );      # allow SMTP access only from localhost IP
42                                    # (default is qw( 127.0.0.1 ) )