On Tue, July 7, 2009 07:25, The Doctor wrote:
> On Tue, Jul 07, 2009 at 07:04:57AM +0200, Benny Pedersen wrote:
>>
>> On Tue, July 7, 2009 07:00, The Doctor wrote:
>>
>> > Huh?  Why is postfix overriding localhost?
>>
>> postconf -n
>>
>> none have so far as i know a working crystall ball :)
>>
>> --
>> xpoint
>
> alias_database = hash:/etc/aliases
> alias_maps = hash:/etc/aliases
> broken_sasl_auth_clients = yes
> command_directory = /usr/sbin
> config_directory = /etc/postfix
> cyrus_sasl_config_path = /usr/contrib/lib/sasl2/
> daemon_directory = /usr/libexec/postfix
> data_directory = /var/lib/postfix
> debug_peer_level = 2
> debug_peer_list = nk.ca
> default_destination_concurrency_limit = 20
> disable_vrfy_command = yes
> fast_flush_domains = $relay_domains, nk.ca
> hash_queue_names = " " defer deferred
> html_directory = /var/www/docs/postfix/
> in_flow_delay = 1s
> inet_interfaces = $myhostname, localhost

what ?

> local_destination_concurrency_limit = 2
> local_recipient_maps = unix:passwd.byname $alias_maps
> local_transport = local
> mail_owner = postfix
> mail_spool_directory = /var/mail
> mailbox_command = /usr/bin/procmail
> mailq_path = /usr/bin/mailq
> manpage_directory = /usr/share/man
> mydestination = $myhostname, localhost.$mydomain, localhost, smtp.$mydomain, 
> ns2.$mydomain
> mydomain = nk.ca
> myhostname = gallifrey.nk.ca
> mynetworks = 204.209.81.0/24, 208.118.93.0/24, 208.118.94.0/24, 127.0.0.0/8
> mynetworks_style = host
> myorigin = $myhostname
> newaliases_path = /usr/bin/newaliases
> queue_directory = /var/spool/postfix
> readme_directory = no
> relay_domains = $mydestination

mix of local domains and backup domains is bad

> relay_recipient_maps = hash:/etc/postfix/relay_recipients
> sample_directory = /etc/postfix
> sendmail_path = /usr/sbin/sendmail
> setgid_group = postdrop
> smtp_tls_CAfile = /etc/postfix/cacert.pem
> smtp_tls_loglevel = 2
> smtp_tls_security_level = may
> smtp_tls_session_cache_database = 
> btree:/var/lib/postfix/smtp_tls_session_cache
> smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
> smtpd_client_restrictions = check_client_access hash:/etc/postfix/access
> smtpd_data_restrictions = reject_unauth_pipelining, permit
> smtpd_error_sleep_time = 0
> smtpd_helo_required = yes
> smtpd_recipient_restrictions = reject_invalid_hostname,            
> reject_non_fqdn_sender,            reject_non_fqdn_recipient,
>          reject_unknown_sender_domain,            
> reject_unknown_recipient_domain,            reject_unverified_recipient,
>    permit_mynetworks,            permit_sasl_authenticated,            
> reject_unauth_destination,
> check_recipient_access pcre:/etc/postfix/recipient_checks.pcre,            
> reject_rbl_client sbl-xbl.spamhaus.org,
> reject_rbl_client dnsbl.njabl.org,            reject_rbl_client
>  combined.njabl.org,            reject_rbl_client blackholes.uceb.org,
>   reject_rbl_client dev.null.dk,            reject_rbl_client flowgoaway.com,
>          reject_rbl_client relays.visi.com,            permit
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = smtp.nk.ca
> smtpd_sasl_path = smtpd
> smtpd_sasl_security_options = noanonymous
> smtpd_tls_CAfile = /etc/postfix/cacert.pem
> smtpd_tls_auth_only = yes
> smtpd_tls_cert_file = /etc/postfix/smtp.nk.ca.2009.cert.pem
> smtpd_tls_key_file = /etc/postfix/smtp.nk.ca.2009.key.pem
> smtpd_tls_received_header = yes
> smtpd_tls_security_level = may
> smtpd_tls_session_cache_database = 
> btree:/var/lib/postfix/smtpd_tls_session_cache
> smtpd_use_tls = yes
> tls_random_source = dev:/dev/urandom
> transport_maps = hash:/etc/postfix/transport

transport for what ?

> unknown_local_recipient_reject_code = 550

try simplify it, for me its complicated to see whats wrong and what you want

--
xpoint

Reply via email to