OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: cannot send local mail - connection refused

From: Bernhard D Rohrer (graylionsm-wg.net)
Date: Wed Feb 06 2008 - 12:58:33 CST


Ralf Hildebrandt wrote:
> * Bernhard D Rohrer <graylionsm-wg.net>:
>> Hi folks
>>
>> I somehow cannot send local mail, ie to users on the same MTA
>>
>> I get
>>
>> Feb 6 18:00:57 collab postfix/smtp[5114]: 4C4322D0D93:
>> to=<bernharddomain.tld>, relay=none, delay=2692, status=deferred
>> (connect to 127.0.0.1[127.0.0.1]: Connection refused)
>
> Show postconf -n output
>
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
delay_warning_time = 4h
inet_interfaces = all
local_recipient_maps = $virtual_mailbox_maps $alias_maps $virtual_alias_maps
mailbox_size_limit = 0
mailbox_transport = lmtp:unix:/var/run/cyrus/socket/lmtp
message_size_limit = 25000000
mydestination = localhost collab.sm-wg.net
myhostname = collab.sm-wg.net
mynetworks = 127.0.0.0/8 192.168.0.0/16
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = reject_non_fqdn_sender,
reject_non_fqdn_recipient, reject_invalid_hostname,
reject_unknown_sender_domain, reject_unknown_recipient_domain,
reject_unauth_pipelining, reject_unauth_destination,
reject_rbl_client relays.ordb.org, reject_rbl_client opm.blitzed.org,
    reject_rbl_client list.dsbl.org, reject_rbl_client
zen.spamhaus.org, reject_rbl_client cbl.abuseat.org,
check_helo_access hash:/etc/postfix/helo_access, check_policy_service
inet:127.0.0.1:60000 permit_sasl_authenticated, permit_mynetworks,
    permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = reject_unknown_sender_domain,
reject_non_fqdn_sender
smtpd_tls_cert_file = /usr/lib/ssl/collab.pem
smtpd_tls_key_file = /usr/lib/ssl/newkey.pem
smtpd_tls_loglevel = 2
smtpd_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_use_tls = yes
virtual_alias_maps = ldap:/etc/postfix/ldap_user_aliases.cf
virtual_mailbox_domains = graylion.net sm-wg.net cernach.name slisanuisce.eu
virtual_mailbox_maps = ldap:/etc/postfix/local_recipient_maps.cf
virtual_transport = lmtp:unix:/var/run/cyrus/socket/lmtp

postsuper -r All tends to help BTW. now how do I avoind having to do that?

thanks!

Bernhard

--
Graylion's Fetish & Fashion Store
Goth and Kinky Boots, Clothing and Jewellery
http://www.graylion.net