On Tue, 12 Aug 2008, Wietse Venema wrote:
Justin Piszcz:
Regarding the timeout...
Aug 11 19:02:23 p34 postfix/smtpd[19254]: timeout after END-OF-MESSAGE from
localhost.localdomain[127.0.0.1]
Aug 11 19:02:23 p34 postfix/smtpd[19254]: disconnect from
localhost.localdomain[127.0.0.1]
That is the SMTP server, the program that RECEIVES mail.
# See the following URL for cache_on_demand:
# http://www.mail-archive.com/[EMAIL PROTECTED]/msg11500.html
smtp_connection_cache_on_demand = no
That is for the SMTP client, the program that SENDS mail.
No amount of CLIENT tweaking will eliminate a SERVER timeout.
Wietse
Thanks Wietse,
Per http://www.postfix.org/smtpd.8.html
Which parameter needs to be tweaked for the smtpd process so these
timeouts no longer occur? I am using postfix -> amavis -> back to postfix.
master.cf:
# ---------------------------------------------------------------------------- #
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o smtpd_delay_reject=no
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_restriction_classes=
-o mynetworks=127.0.0.0/8
-o smtpd_error_sleep_time=0
-o smtpd_soft_error_limit=1001
-o smtpd_hard_error_limit=1000
-o smtpd_client_connection_count_limit=0
-o smtpd_client_connection_rate_limit=0
-o
receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_milters
-o
local_header_rewrite_clients=
# ==========================================================================
# Specific user-policy information.
# ==========================================================================
amavisfeed unix - - n - 2 lmtp
-o lmtp_data_done_timeout=1200
-o lmtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20
--
Current settings:
# postconf | grep -i timeout
connection_cache_protocol_timeout = 5s
daemon_timeout = 2d
ipc_timeout = 3600s
lmtp_connect_timeout = 0s
lmtp_data_done_timeout = 600s
lmtp_data_init_timeout = 120s
lmtp_data_xfer_timeout = 180s
lmtp_lhlo_timeout = 300s
lmtp_mail_timeout = 300s
lmtp_quit_timeout = 300s
lmtp_rcpt_timeout = 300s
lmtp_rset_timeout = 20s
lmtp_starttls_timeout = 300s
lmtp_tls_session_cache_timeout = 3600s
lmtp_xforward_timeout = 300s
milter_command_timeout = 30s
milter_connect_timeout = 30s
milter_content_timeout = 300s
qmqpd_timeout = 300s
smtp_connect_timeout = 30s
smtp_data_done_timeout = 600s
smtp_data_init_timeout = 120s
smtp_data_xfer_timeout = 180s
smtp_helo_timeout = 300s
smtp_mail_timeout = 300s
smtp_quit_timeout = 300s
smtp_rcpt_timeout = 300s
smtp_rset_timeout = 20s
smtp_starttls_timeout = 300s
smtp_tls_session_cache_timeout = 3600s
smtp_xforward_timeout = 300s
smtpd_policy_service_timeout = 600s
smtpd_proxy_timeout = 100s
smtpd_starttls_timeout = 300s
smtpd_timeout = 300s
smtpd_tls_session_cache_timeout = 3600s
trigger_timeout = 10s
Where have I gone wrong?
Justin.