Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
[opensuse] [oot ?] Problem with "timed out while receving initial greeting"
  • From: Arie Reynaldi Z <reymanx@xxxxxxxxx>
  • Date: Tue, 23 Jun 2009 10:06:39 +0700
  • Message-id: <c0ba74f50906222006j2798f937ne35688adbe755d38@xxxxxxxxxxxxxx>
Hi, i dont know if it still fits with opensuse or not, but i have
problems with my mail server.

I have 2 servers, 1 for smtp smtp.kosmojaya.com, 1 for mx
mail.kosmojaya.com (with pop3 in it). In smtp server i also add
SMTP-AUTH so our user from outside office still can use our smtp. But
lately, when user sent mail to this domain, sometimes (not always)
they get error: timed out while receving the initial server greeting.
and their mail just stuck from couple of minutes to 2-3 hours before
they arrived to mail.kosmojaya.com.
Why does it happend ? Here the errors

Jun 23 09:39:02 sms2 postfix/qmgr[5229]: 90E4A6FE58:
from=<panda@xxxxxxxxxxxxxxxxxxxxxxxx>, size=39797, nrcpt=14 (queue
active)
Jun 23 09:39:03 sms2 postfix/smtp[2752]: D9AF06FE56: lost connection
with a.mx.mail.yahoo.com[67.195.168.31] while receiving the initial
server greeting
Jun 23 09:39:11 sms2 postfix/smtp[2233]: 162B86FE5D:
to=<nurrinacahyani@xxxxxxxxx>,
relay=gmail-smtp-in.l.google.com[209.85.222.65]:25, delay=16,
delays=0.34/0.01/8.1/7.1, dsn=2.0.0, status=sent (250 2.0.0 OK
1245724750 39si5392010pzk.83)
Jun 23 09:39:11 sms2 postfix/qmgr[5229]: 162B86FE5D: removed
Jun 23 09:40:07 sms2 postfix/smtp[2232]: 1D0A36FE59:
to=<traffic@xxxxxxxxxxxxxxxxx>,
relay=mail2.fortunestar.co.id[122.200.149.230]:25, delay=450,
delays=18/0.01/417/15, dsn=2.0.0, status=sent (250 ok 1245724807 qp
21979)
Jun 23 09:40:36 sms2 postfix/smtp[2795]: 90E4A6FE58:
to=<dian@xxxxxxxxxxxxx>,
relay=gajah.kosmojaya.com[122.200.149.230]:25, delay=1560,
delays=1467/0.08/81/12, dsn=2.0.0, status=sent (250 ok 1245724835 qp
22101)
Jun 23 09:40:36 sms2 postfix/smtp[2795]: 90E4A6FE58:
to=<nila@xxxxxxxxxxxxx>,
relay=gajah.kosmojaya.com[122.200.149.230]:25, delay=1560,
delays=1467/0.08/81/12, dsn=2.0.0, status=sent (250 ok 1245724835 qp
22101)
Jun 23 09:40:36 sms2 postfix/smtp[2795]: 90E4A6FE58:
to=<santi@xxxxxxxxxxxxx>,
relay=gajah.kosmojaya.com[122.200.149.230]:25, delay=1560,
delays=1467/0.08/81/12, dsn=2.0.0, status=sent (250 ok 1245724835 qp
22101)
Jun 23 09:40:36 sms2 postfix/smtp[2795]: 90E4A6FE58:
to=<veny@xxxxxxxxxxxxx>,
relay=gajah.kosmojaya.com[122.200.149.230]:25, delay=1560,
delays=1467/0.08/81/12, d

And this is my postfix configuration.

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
fast_flush_purge_time = 7d
fast_flush_refresh_time = 20m
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = all
mailbox_command =
mailbox_size_limit = 0
milter_default_action = accept
milter_protocol = 2
mydestination = $myhostname, localhost.$mydomain
myhostname = smtp1.kosmojaya.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
122.200.149.230 192.127.0.0/24
myorigin = /etc/mailname
non_smtpd_milters = inet:localhost:8891,inet:localhost:8892
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_security_level = may
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (opensuse)
smtpd_milters = inet:localhost:8891,inet:localhost:8892
smtpd_recipient_restrictions =
permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom

I googled and find solution by adding "echo 0 >
/proc/sys/net/ipv4/tcp_window_scaling" in both servers but the problem
stil exist.
BTW, we dont have problem when send to another domain like gmail, or
this mailing list. So the problem is when we send to this domain (our
mail server)

Anyone has suggestion how to fix it ?

regards,
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups