[rt-users] RT selectively not sending email
Mike Friedman
mikef at ack.berkeley.edu
Fri Sep 29 13:26:03 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 27 Sep 2006 at 13:40 (-0700), Gary Hall wrote:
> You're right that using the EXITCODE hack causes RT to fail to realize
> that there has been a successful delivery and continue to search for a
> place to deliver the message. This is the behavior I referred to in my
> posting.
>
> I think your problem may be with the implementation of my proposed
> solution. When I said: "One solution to this problem is to set DEFAULT
> to /dev/null, i.e.,
>
> DEFAULT=/dev/null
>
> prior to the execution of the rt-mailgate recipes.",
>
> I meant to do it prior to the entire (set of) recipe(s).
Gary,
I was a bit confused earlier, because I though you had indicated that RT
would behave this way only if rt-mailgate had _failed_ to deliver
something, which was not my symptom.
But your correction above does seem to do the trick. I had originally
been wary of resetting DEFAULT globally in my .procmailrc, in case that
might mess up other recipe processing that occurs earlier in the file. But
I suppose my concern was misplaced. With 'DEFAULT=/dev/null' now at the
beginning of the file, things seem to work fine now; I can get the
benefits of setting EXITCODE, mail gets delivered to RT queues and I don't
get extra copies of each mail parcel in the default inbox.
Thanks.
Mike
_________________________________________________________________________
Mike Friedman IST/System and Network Security
mikef at ack.berkeley.edu 2484 Shattuck Avenue
1-510-642-1410 University of California at Berkeley
http://socrates.berkeley.edu/~mikef http://security.berkeley.edu
_________________________________________________________________________
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
iQA/AwUBRR1XL60bf1iNr4mCEQJNCACdH7f5Js3qmMZlYOAB050hXMBoLNgAn35b
+LIT45PvvIIy2nOGPdhuEeEJ
=nz8v
-----END PGP SIGNATURE-----
More information about the rt-users
mailing list