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

Alain Spineux aspineux at gmail.com
Wed Dec 3 02:03:39 EST 2008


I made multiple comments , look carefully

On Tue, Dec 2, 2008 at 8:59 PM, Stefan Pampel
<spamtest-eir1beucei at asp4.polyformal.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Alain Spineux <aspineux at gmail.com> schrieb:
>> On Thu, Nov 27, 2008 at 10:14 AM, Stefan Pampel
>><spamtest-eir1beucei at asp4.polyformal.de> wrote:
>>> it seems that plus addressing not work in my case:
>>>
>>> postfix configured correctly:
>>> main.cf:
>>> recipient_delimiter = +
>>>
>>> master.cf:
>>> lmtp      unix  -       -       n       -       -       lmtp
>>>
>>> Mails basically reach the INBOX, but not the folder itself
>>>
>>> cyrus config:
>>> <snip>
>>> altnamespace: yes # even with no does not work
>>> virtdomains: userid
>>> defaultdomain: foo.bar.org
>>> unixhierarchysep: no
>>> </snip>
>>>
>>> The folder
>>> lam user.user1.spam
>>>
>>> user1 lrswipcda
>>> anyone p
>>>
>>> The mail header contains
>>> To: user1 <user1+spam at foo.bar.org>
>>>
>>> Any hints?
>>
>> Does the email goes in the user INBOX at least ?
>
> Yes, it goes to the INBOX, the header of the recieived mail looks like this
>
> <snip>
>
> Return-Path: <foobar at gmail.com>
> Received: from foo.org ([unix socket])
>         by foo.org (Cyrus v2.2.13-Debian-2.2.13-14+b3) with LMTPA;
>         Tue, 02 Dec 2008 20:44:21 +0100
> X-Sieve: CMU Sieve 2.2
> Received: from localhost (unknown [127.0.0.1])
>        by foo.org (Postfix) with ESMTP id D0B24EF4D11
>        for <user at foo.org>; Tue,  2 Dec 2008 20:44:21 +0100 (CET)
> X-Virus-Scanned: Debian amavisd-new at
> X-Spam-Flag: NO
> X-Spam-Score: -0.001
> X-Spam-Level:
> X-Spam-Status: No, score=-0.001 tagged_above=-999 required=6.31
>        tests=[SPF_PASS=-0.001]
> 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>;

The problem is just here, above

>        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)

Because it was still "user+spam" here !

> Received: by qyk14 with SMTP id 14so3861085qyk.11
>        for <user+spam at foo.org>; Tue, 02 Dec 2008 11:44:19 -0800 (PST)
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>        d=gmail.com; s=gamma;
>        h=domainkey-signature:received:received:message-id:date:from:to
>         :subject:mime-version:content-type:content-transfer-encoding
>         :content-disposition;
>        bh=OsY01wpTsRs9wg12b8CJsXpNhhRKn9VYCZ0l9cxhl5Q=;
>        b=h9NS27DnBzXhMGBpPICUp2U5tEwgbn+ouAhGLuYteBJnMWw5hIQ4vj+d8bNn8TzV4E
>         DNtPqxGU0QXa55JsPSjYZU4yZyCk5kA1oCNacatnsWRY2LvrVtdUS7spqAYZWNpxsXas
>         z78A3NBawCutspEj0pOlUbfwNLDDrnjK20Ce8=
> DomainKey-Signature: a=rsa-sha1; c=nofws;
>        d=gmail.com; s=gamma;
>        h=message-id:date:from:to:subject:mime-version:content-type
>         :content-transfer-encoding:content-disposition;
>        b=dvgd4c6c5TbTVmP0TibQyKDSpojbNRDZTIbmWt5DV9TMvTfdHmBtxL+564/pci7phD
>         4knxRl2MUb483WxZJcKazltQuT5+WtoxN0Ljg2xtqGEc+EijyG9NMCno/CtQSIA82Mg+
>         FWG33nCiGc/cAxhGSQo+oe0LMtap+BZVHYNIM=
> Received: by 10.214.183.9 with SMTP id g9mr12118283qaf.35.1228247059060;
>        Tue, 02 Dec 2008 11:44:19 -0800 (PST)
> Received: by 10.214.182.8 with HTTP; Tue, 2 Dec 2008 11:44:19 -0800 (PST)
> Message-ID: <fe5446ec0812021144o6d3270b7x372ae0cdbc7cec5 at mail.gmail.com>
> Date: Tue, 2 Dec 2008 20:44:19 +0100
> From: "Stefan Pampel" <foobar at gmail.com>
> To: user <user+spam at foo.org>
> Subject: 123
>
> </snip>
>
>> Did you look into the lmtpd.log and postfix.log to check if the
>> delivery looks ok .?
>
> too me it looks ok.
>
> <snip>
> Dec  2 20:44:19 asp4 postfix/smtpd[6073]: connect from mail-qy0-f21.google.com[209.85.221.21]
> Dec  2 20:44:20 asp4 postfix/smtpd[6073]: 53DEDE01D5A: client=mail-qy0-f21.google.com[209.85.221.21]
> Dec  2 20:44:20 asp4 postfix/cleanup[6076]: 53DEDE01D5A: message-id=<fe5446ec0812021144o6d3270b7x372ae0cdbc7cec5 at mail.gmail.com>
> Dec  2 20:44:20 asp4 postfix/qmgr[2392]: 53DEDE01D5A: from=<foobar at gmail.com>, size=2214, nrcpt=1 (queue active)
> Dec  2 20:44:21 asp4 postfix/smtpd[6081]: connect from unknown[127.0.0.1]
> Dec  2 20:44:21 asp4 postfix/smtpd[6081]: D0B24EF4D11: client=unknown[127.0.0.1]
> Dec  2 20:44:21 asp4 postfix/cleanup[6076]: D0B24EF4D11: message-id=<fe5446ec0812021144o6d3270b7x372ae0cdbc7cec5 at mail.gmail.com>
> Dec  2 20:44:21 asp4 postfix/smtpd[6081]: disconnect from unknown[127.0.0.1]
> Dec  2 20:44:21 asp4 postfix/qmgr[2392]: D0B24EF4D11: from=<foobar at gmail.com>, size=2816, nrcpt=1 (queue active)
> Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: accepted connection
> Dec  2 20:44:21 asp4 cyrus/lmtpunix[6070]: lmtp connection preauth'd as postman
> Dec  2 20:44:21 asp4 cyrus/master[6083]: about to exec /usr/lib/cyrus/bin/lmtpd
> Dec  2 20:44:21 asp4 cyrus/lmtpunix[6083]: executed
> 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>,
> Message-ID: <fe5446ec0812021144o6d3270b7x372ae0cdbc7cec5 at mail.gmail.com>, mail_id: ggSVa5nIr8Oq, Hits: -0.001, size: 2214, queued_as: D0B24EF4D11, 1298 m
> s
> 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
> [127.0.0.1]:10024, delay=1.7, delays=0.39/0/0/1.3, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=17280-18, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued a

HERE is the "culprit" ! postfix tell us, it got "user+spam" and give
back "user" to [127.0.0.1]:10024 !

Does it mean amavis and postfix use LMTP protocol ?  This is unusual !
(but this is not the probleme)

> s D0B24EF4D11)
> Dec  2 20:44:21 asp4 postfix/qmgr[2392]: 53DEDE01D5A: removed
>
> </snip>
>
> best regards
>
> Stefan Pampel
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkk1k6AACgkQXXT1nfS2Z+GcFwCgr0iakn99Six0GbcxHnwYeVBQ
> 4OYAnidQaOIP+PPfxxtV7/jmiDnYunrd
> =jp7p
> -----END PGP SIGNATURE-----
>
> --
> / polyformal                /
> | http://www.polyformal.de /
> |_________________________/
> GPG KEY: 11678845
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list