Kolab 3.3 / address extensions / recipient_delimiter / plus addressing

Cornelius Hald hald at icandy.de
Mon Nov 17 22:17:20 CET 2014


Hi!

It looks like cyrus lmtp only supports '+' for address extensions. Or at
least I couldn't find a way to convince it to accept '.' as recipient
delimiter.

I solved this problem by adding another virtual map to postfix that
basically rewrites '.' to '+' for a couple of domains. My map file looks
something like this:

# /etc/postfix/virtual_special_domains.cf
/(.*)\.(.*)@example.com/ $1+$2 at example.com
/(.*)\.(.*)@otherdomain.com/ $1+$2 at otherdomain.com

Seems to work fine so far.

Cheers,
Conny


On Tue, 2014-11-11 at 11:10 +0100, Cornelius Hald wrote:
> Hi guys,
> 
> I've changed the recipient_delimiter in postfix main.cf from '+' to '.',
> which seems to work fine for the postfix part. Unfortunately the mail is
> then rejected because lmtp cannot find a mailbox/user.
> 
> Probably I have to change something regarding cyrus or lmtp settings,
> but I really cannot find out what.
> 
> My test user looks like this:
> Primary mail: test at example.com
> 
> I'm sending mail to: test.extension at example.com
> And get the following error:
> 
> Nov 11 11:02:33 mail postfix/lmtp[21936]: 5A6DC1D9:
> to=<test.extension at example.com>,
> relay=mail.skolar.de[/var/lib/imap/socket/lmtp], delay=0.09,
> delays=0.04/0.03/0/0.02, dsn=5.1.1, status=bounced (host
> mail.skolar.de[/var/lib/imap/socket/lmtp] said: 550-Mailbox unknown.
> Either there is no mailbox associated with this 550-name or you do not
> have authorization to see it. 550 5.1.1 User unknown (in reply to RCPT
> TO command))
> 
> Anyone knows what to change to get that working?
> 
> Thanks!
> Conny
> 
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users



More information about the users mailing list