- Timo Sirainen tss@iki.fi:
On 3.1.2012, at 20.09, Ralf Hildebrandt wrote:
For archiving purposes I'm delivering all addresses to the same mdbox: like this:
passdb { driver = passwd-file args = username_format=%u /etc/dovecot/passwd }
userdb { driver = static args = uid=1000 gid=1000 home=/home/copymail allow_all_users=yes }
allow_all_users=yes is used only when the passdb is incapable of telling if the user exists or not.
Ah, damn :|
Fails because user doesn't exist in passwd-file, I guess.
Indeed.
Maybe use passdb static?
Right now I simply solved it by using + addressing like this:
Jan 3 19:42:49 mail postfix/lmtp[2728]: 3THkfd20f1zFvlF: to=backup+first.last+charite.de@backup.invalid, relay=mail.charite.de[private/dovecot-lmtp], delay=0.01, delays=0.01/0/0/0, dsn=2.0.0, status=sent (250 2.0.0 backup+first.last+charite.de@backup.invalid IHdDM9VLA0/aCwAAY73zkw Saved)
Call me lazy :)
If you also need authentication to work, put passdb static in protocol lmtp {} and passdb passwd-file in protocol !lmtp {}
Ah yes, good idea.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de