- Mark Sapiro <mark@msapiro.net>:
On 2/20/2010 4:21 AM, Stefan Foerster wrote: So, without VERP or personalization, you should be seeing SMTP transactions that look like
HELO response MAIL FROM response RCPT TO response (repeated for up to SMTP_MAX_RCPTS recipients) DATA response (message data) (MAIL FROM through DATA repeats until all recipients are delivered) QUIT
Yes. I assume you wanted me to check if there were any errors in this dialogue - but there are none. Neither logfiles from the Python smtplib, nor the the Postfix logs. The TCP caputure didn't show any errors, too. And yes, I verified that there really isn't any VERP or personalization involved (again, I read Postfix logs ("nrcpt=<large number">) and TCP streams).
And, if I understand what you're saying, the delay is in the RCPT TO/response loop and it occurs between the response and the next RCPT TO.
Yes. From debuglevel(1) logs:
Feb 20 19:03:15 2010 qrunner(7551): send: 'rcpt TO:<recipient1@example.com>\r\n' Feb 20 19:03:15 2010 qrunner(7551): reply: '250 2.1.5 Ok\r\n' Feb 20 19:03:15 2010 qrunner(7551): reply: retcode (250); Msg: 2.1.5 Ok Feb 20 19:03:17 2010 qrunner(7551): send: 'rcpt TO:<recipient2@example.com>\r\n' Feb 20 19:03:17 2010 qrunner(7551): reply: '250 2.1.5 Ok\r\n' Feb 20 19:03:17 2010 qrunner(7551): reply: retcode (250); Msg: 2.1.5 Ok
If you want me to, I can gather detailed timing data with tcpdump and/or wireshark.
I really don't have any idea where I coul start debugging, or how.
Nor do I really.
Humurous remark: "That's not what you want to hear from the guy who actually wrote the application!" ;-)
I'm running out of ideas. My Postfix smtpd(8) for mailman looks like that:
127.0.0.1:10031 inet n - - - - smtpd -o mynetworks=127.0.0.0/8 -o content_filter= -o smtpd_proxy_filter= -o receive_override_options=no_header_body_checks,no_address_mappings,no_unknown_recipient_checks -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= -o smtpd_end_of_data_restrictions= -o smtpd_authorized_xforward_hosts=127.0.0.0/8 -o syslog_name=postfix-mm
No magic involved here. My mm_cfg.py:
MAILMAN_SITE_LIST = 'mailman' DEFAULT_URL_PATTERN = 'http://%s/mailman/' PRIVATE_ARCHIVE_URL = '/mailman/private' IMAGE_LOGOS = '/images/mailman/' DEFAULT_EMAIL_HOST = 'lists.example.com' DEFAULT_URL_HOST = 'lists.example.com' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) DEFAULT_SERVER_LANGUAGE = 'en' DEFAULT_SEND_REMINDERS = 0 USE_ENVELOPE_SENDER = 0 MTA=None # Misnomer, suppresses alias output on newlist DEB_LISTMASTER='postmaster@example.net' SMTPPORT = 10031
I am not able to find anything that is specific to this list, and I'm not sure where I could look further.
Stefan