This is a discussion on Re: two instances of postfix within the mailing.postfix.users forums, part of the Mail Servers and Related category; On May 28, 2005, at 12:04 AM, Victor Duchovni wrote: > On Fri, May 27, 2005 at 06:05:...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On May 28, 2005, at 12:04 AM, Victor Duchovni wrote: > On Fri, May 27, 2005 at 06:05:53PM -0400, D. Walsh wrote: > > >> mustangrestomods:~ websrvr$ postconf -c /etc/postfix -n >> inet_interfaces = all >> >> mustangrestomods:~ websrvr$ postconf -c /etc/postfixalt -n >> inet_interfaces = 10.1.100.11 >> > > On many systems binding "all" interfaces (0/0) precludes, for good > security reasons, later binding some of the interfaces for the same > port > in another process. So you must exclude the 10.1.100.11 inteface from > the inet_interaces list of the default Postfix instance. > > -- > Viktor. OK now at least it's attempting to run and shows activity in the logs. May 28 14:24:16 dellc postfix/master[11192]: fatal: bind 127.0.0.1 port 10025: Address already in use I have the amavisd content filter stuff defined in both, will the second postfix still use it if I remove the content filter entries completely from the second postfix or do I just need to remove the following? 127.0.0.1:10025 inet n - n - - 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,rej ect -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 receive_override_options=no_header_body_checks Also, you mentioned something about "syslog_name", I take it this is to write to a second mail log file, what needs to be done for this to work or will it still work writing to a single log file? -- Dale P.S. postconf output on both instances. mustangrestomods:/var/spool/imap/user root# postconf -n alias_maps = hash:/etc/postfix/aliases alternate_config_directories = /etc/postfixalt command_directory = /usr/sbin config_directory = /etc/postfix content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix debug_peer_level = 2 enable_server_options = yes html_directory = no inet_interfaces = 10.1.100.20 mail_owner = postfix mailbox_size_limit = 0 mailbox_transport = cyrus mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man mydestination = $myhostname,localhost.$mydomain,daleenterprise.com mydomain = daleenterprise.com mydomain_fallback = localhost myhostname = daleenterprise.com mynetworks = 127.0.0.1/32,10.1.100.20/32 mynetworks_style = host newaliases_path = /usr/bin/newaliases queue_directory = /private/var/spool/postfix readme_directory = /usr/share/doc/postfix sample_directory = /usr/share/doc/postfix/examples sendmail_path = /usr/sbin/sendmail setgid_group = postdrop smtpd_pw_server_security_options = login,plain smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client opm.blitzed.org, reject_rbl_client list.dsbl.org, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org, permit smtpd_sasl_auth_enable = yes smtpd_tls_key_file = smtpd_use_pw_server = yes unknown_local_recipient_reject_code = 550 mustangrestomods:/var/spool/imap/user root# mustangrestomods:/var/spool/imap/user root# postconf -c /etc/ postfixalt -n alias_maps = hash:/etc/postfix/aliases command_directory = /usr/sbin config_directory = /etc/postfixalt content_filter = smtp-amavis:[127.0.0.1]:10024 daemon_directory = /usr/libexec/postfix debug_peer_level = 2 enable_server_options = yes html_directory = no inet_interfaces = 10.1.100.11 mail_owner = postfix mailbox_size_limit = 0 mailbox_transport = cyrusalt mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man mydestination = $myhostname,localhost.$mydomain,mustangrestomods.c om mydomain = mustangrestomods.com mydomain_fallback = localhost myhostname = mustangrestomods.com mynetworks = 127.0.0.1/32,10.1.100.11/32 mynetworks_style = host newaliases_path = /usr/bin/newaliases queue_directory = /private/var/spool/postfixalt readme_directory = /usr/share/doc/postfix sample_directory = /usr/share/doc/postfix/examples sendmail_path = /usr/sbin/sendmail setgid_group = postdrop smtp_bind_address = 10.1.100.11 smtpd_pw_server_security_options = login,plain smtpd_recipient_restrictions = reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination, reject_rbl_client opm.blitzed.org, reject_rbl_client list.dsbl.org, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org, permit smtpd_sasl_auth_enable = yes smtpd_tls_key_file = smtpd_use_pw_server = no unknown_local_recipient_reject_code = 550 virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf virtual_gid_maps = static:6 virtual_mailbox_base = /var/spool/imap/user virtual_mailbox_domains = mysql:/etc/postfix/ mysql_virtual_domains_maps.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_minimum_uid = 77 virtual_uid_maps = static:77 mustangrestomods:/var/spool/imap/user root# |