plus addressing over lmtp not working / sam [box] anyone p set

Duncan Gibb duncan.gibb at siriusit.co.uk
Tue Dec 2 18:05:41 EST 2008


Stefan Pampel wrote:

>>> Mails basically reach the INBOX, but not the folder itself

I think this is an MTA problem, rather than a Cyrus problem.

> Received: from foo.org ([127.0.0.1])
> 	by localhost (foo.org [127.0.0.1]) (amavisd-new, port 10024)
> 	with LMTP id ggSVa5nIr8Oq for <user at foo.org>;
> 	Tue,  2 Dec 2008 20:44:20 +0100 (CET)
> Received: from mail-qy0-f21.google.com (mail-qy0-f21.google.com [209.85.221.21])
> 	by foo.org (Postfix) with ESMTP id 53DEDE01D5A
> 	for <user+spam at foo.org>; Tue,  2 Dec 2008 20:44:20 +0100 (CET)

The "+spam" was removed between delivery by the outside world to Postfix
and delivery by Postfix to amavisd-new.  The logs back this up:

> Dec  2 20:44:21 asp4 amavis[17280]: (17280-18) Passed CLEAN, [209.85.221.21] [209.85.221.21] <foobar at gmail.com> -> <user at foo.org>, 
> Dec  2 20:44:21 asp4 postfix/lmtp[6077]: 53DEDE01D5A: to=<user at foo.org>, orig_to=<user+spam at foo.org>, relay=127.0.0.1

Looks like Postfix, or maybe Postfix's LMTP interface to amavisd-new, is
wrongly configured.

Try doing a manual LMTP delivery to Cyrus, and to amavisd-new for
comparison.  ie:

  foo$ telnet localhost 2003

  mail from:<nobody at no.domain>
  rcpt to:<user1+spam>
  data

[etc]

and the same with "telnet localhost 10024".  Compare the headers and the
logs and it should be obvious what's happening.


Cheers


Duncan

-- 
Duncan Gibb, Technical Director
Sirius Corporation plc - The Open Source Experts
http://www.siriusit.co.uk/
Tel: +44 870 608 0063


More information about the Info-cyrus mailing list