If I do your first line I get
host1 postfix[14047]: fatal: /etc/postfix/main.cf, line 34: missing
'=' after attribute name: "smtp-amavis unix - - n
- 10 smtp -o smtp_data_done_timeout=1200 -o
smtp_send_xforward_command=yes -o disable_dns_lookups=yes"
It seems that No matter what I do, when trying to load an alternate
service, it dies with same exact error. That's the thing?
Is there some other option I have to turn on or off to enable using
other services perhaps?
On Aug 6, 2009, at 11:21 AM, Benedict White wrote:
-----Original Message-----
From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org
] On Behalf Of James Hankins
Sent: 06 August 2009 16:01
To: postfix-us...@cloud9.net
Subject: Postfix won't start when adding additional daemon entries
in main.cf
Greetings,
I'm a new postfix user, I've got a working postfix implementation and
trying to get integrate with Amavisd for Spamassassin and clamav. As
soon as I try to add a
daemon entry such as
#
=
=
=
=
======================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
#
=
=
=
=
======================================================================
amavisfeed unix - - n - 2 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
and do a postfix reload, I get failed and in the maillog I get
missing '=' after attribute name for the amvisfeed line.
###############
I use the following two entries:
smtp-amavis unix - - n - 10 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
127.0.0.1:10025 inet n - n - 10 smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-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
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options
=no_header_body_checks,no_unknown_recipient_checks
Hope that helps.
Kind regards
Benedict White