Package: spampd
Version: 2.20-9
Severity: important

I have spampd in the following config:

exim 4.50-8sarge2 as MTA, local delivery is done by LMTP to spampd,
which in turn forwards local delivery to cyrus 2.1.18-1+sarge2.

It seems to work fine, as long as there is only one recipient in each
message. If there are multiple recipients, LMTP server is supposed to
confirm delivery to every mailbox, so after the final . in DATA command
there should be as many replies as there were successfull RCPTs (see RFC
2033, section 4.2). I debugged with tcpdump and cyrus correctly sent
multiple "250 Ok" lines, but spampd forwarded only one of them to exim.
Thus exim was waiting for more replies, cyrus was waiting for QUIT, and
spampd just timed out after 6 minutes producing this error:

WARNING!! Error in process_request eval block: Child server process timed out!

Consequences are, that even thou cyrus delivered the mail to all
recipients, exim thought it was delivered only to one of them, so it kept
retrying until all of them succeeded, producing lots of duplicates. Also
other mail was delayed because exim waits for some time before retrying
delivery for the same domain. Cyrus recognizes duplicates and discards
them, but that may not be the case for other MDA.

A workaround is to set max_rcpt = 1 in the SMTP/LMTP transport, so
messages are delivered to only one RCPT at a time. However this causes
spampd to analyze the same message multiple times, thus wasting CPU
power.

I hope this info would help you to find the bug and fix it.

Thanks
Vladki

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages spampd depends on:
ii  adduser                    3.63          Add and remove users and groups
ii  coreutils                  5.2.1-2       The GNU core utilities
ii  dpkg                       1.10.28       Package maintenance system for Deb
ii  libnet-server-perl         0.87-3sarge1  An extensible, general perl server
ii  perl                       5.8.4-8sarge5 Larry Wall's Practical Extraction 
ii  spamassassin               3.0.3-2sarge1 Perl-based spam filter using text 

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to