[Dovecot] do not lose mail when dovecot is dead

"Andraž 'ruskie' Levstik" ruskie at mages.ath.cx
Sat Jan 12 23:05:55 EET 2008


On 20:25:52 2008-01-12 Daniel <leva at az.isten.hu> wrote:
> On Saturday 12 January 2008 09:54:03 Timo Sirainen wrote:
> > On Thu, 2008-01-10 at 18:53 +0100, Daniel wrote:
> > > > > deliver(leva): Can't connect to auth server
> > > > > at /var/run/dovecot/auth-master: Connection refused
> > > > > postfix/pipe[8582]: 8A1C6F261: to=<leva at domain.hu>,
> > > > > orig_to=<id>, relay=dovecot-lda, delay=1.7, delays=1.1/0/0/0
> > > > > .68, dsn=2.0.0, status=sent (delivered via dovecot-lda service)
> > > > > postfix/qmgr[29441]: 8A1C6F261: removed
> >
> > I don't know why this would happen though. How are you executing
> > deliver? I think the problem is with Postfix configuration or at
> > least outside deliver.
> Currently, I'm executing deliver from a wrapper script:
> # master.cf:
> dovecot-lda unix [...] argv=[...]/dovecot-lda_wrapper.pl ${recipient}
> 
> That script finds out the username which must be passed to deliver's -d 
> option, because dovecot's user names are not the same as the recipient 
> email addresses of the user's, so I can not just execute deliver 
> directly with the -d ${recipient} option. This hack prevented deliver's 
> exit code to get recognized by postfix.
> 

I'm confused... why does email addy differ from username??? Can you explain?
Why not just have username at domain and anything else as an alias???

--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker

Be sure brain is in gear before engaging mouth.

Key id = F4C1F89C
Key fingerprint = 6FF2 8F20 4C9D DB36 B5B6  F134 884D 72CC F4C1 F89C



More information about the dovecot mailing list