On Mon, Sep 08, 2008 at 08:15:24AM +0200, mouss wrote:
> >In both cases, the symptom is that postfix, upon being restarted,
> >responds to "nc -v -v localhost 25' with an accept and then an
> >immediate disconnect. A second connection succeeds, but no banner is
> >being printed.
> >
>
> no need to use nc. just use telnet.
nc works as well as telnet
Postfix is hanging upon connecting to port 25
I narrowed down the problem to this config value:
smtpd_sasl_auth_enable = yes
When that value is enabled, connections to port 25 get no answer.
Actually the first one is closed quickly, and the second connection
hangs indefinitely.
> >Here is the WORKING "postconf -n" (sasl_auth disabled),
>
> next time, show 'postconf -n' for the non working setup.
Here is postconf -n for non-working setup:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
mailbox_command = /usr/bin/procmail -t -a "$EXTENSION" -a "$USER" -a "$DOMAIN"
-a "$LOCAL"
mailbox_size_limit = 0
mydestination = $myhostname, localhost.$mydomain, localhost,
$mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain, mx.$mydomain,
ntp.$mydomain, ping.$mydomain, smtp.$mydomain, ssh.$mydomain,
time.$mydomain, timehost.$mydomain, vpn.$mydomain, web.$mydomain,
lists.$mydomain
myhostname = lexus.bitrot.info
mynetworks = 172.16.0.0/12, 127.0.0.0/8, 83.149.117.8/32
myorigin = $mydomain
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks, reject_unauth_pipelining,
check_client_access hash:/etc/postfix/whitelist_client,
reject_unknown_reverse_client_hostname, permit
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_unknown_recipient_domain,
permit_mynetworks, permit_sasl_authenticated,
reject_unauth_destination, permit
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = no
smtpd_sasl_auth_enable = yes
smtpd_sender_restrictions = permit_mynetworks,
permit_sasl_authenticated, check_sender_access
hash:/etc/postfix/whitelist_sender, reject_non_fqdn_sender,
reject_unknown_sender_domain, permit
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_domains = hash:/etc/postfix/virtual_alias_domains
virtual_alias_maps = hash:/etc/postfix/virtual_alias_maps
--
Crypto ergo sum. http://www.subspacefield.org/~travis/
Truth does not fear scrutiny or competition, only lies do.
If you are a spammer, please email [EMAIL PROTECTED] to get blacklisted.