Re: [Dovecot] PATCH: sendmail-like DSNs in Dovecot deliver (EX_TEMPFAIL always)

2007-05-14 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 13 May 2007, Timo Sirainen wrote: Since I can't think of any other modes, I'm going to look into adding LMTP to deliver ;-) sendmail supports LMTP even for a spawned LDA rather than a LMTP deamon. However, I don't know what to prefer.

Re: [Dovecot] PATCH: sendmail-like DSNs in Dovecot deliver (EX_TEMPFAIL always)

2007-05-13 Thread Timo Sirainen
On Sun, 2007-05-13 at 18:16 +0300, Timo Sirainen wrote: > I don't think there are any useful exit codes in sysexits.h. Hmm. > Deliver fallbacks always trying to write mail to INBOX if it couldn't > write it elsewhere. So INBOX writes can fail only with: > > 1. permission problems > 2. out of quota

Re: [Dovecot] PATCH: sendmail-like DSNs in Dovecot deliver (EX_TEMPFAIL always)

2007-05-13 Thread Timo Sirainen
On Wed, 2007-05-09 at 15:31 +0200, Steffen Kaiser wrote: > The hooks are so that: > > a) config file setting: > > lda_mode = mode > > b) command line: > > deliver --mode mode > > where mode is default or sendmail. > > When no mode is specified, it defaults to "default", which is the current

Re: [Dovecot] PATCH: sendmail-like DSNs in Dovecot deliver (EX_TEMPFAIL always)

2007-05-09 Thread Matthias Andree
Steffen Kaiser schrieb: > Hello, > > I've put together an always tempfail & sendmail-like DSN report back patch. > > Because I don't know how to transform the rejection reason into > sysexit.h codes, it always tempfails. Just read /usr/include/sysexits.h and pick the best fit, such as EX_NOPERM.

[Dovecot] PATCH: sendmail-like DSNs in Dovecot deliver (EX_TEMPFAIL always)

2007-05-09 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I've put together an always tempfail & sendmail-like DSN report back patch. Because I don't know how to transform the rejection reason into sysexit.h codes, it always tempfails. The hooks are so that: a) config file setting: lda_mode =