Hi,
I have a mailloop problem and I think someone out there can point me in
a direction to solve it.
We have sendmail configured to use maildrop as its local delivery agent.
For every user I have a .mailfilter file that looks like this
SHELL=/bin/bash
SENDMAIL="/ub/bin/sendmail -i -f this...@thisdomain.be"
cc "!us...@otherdomain.be"
to ./Maildir
this...@thisdomain.be is the actual user for which this script is
generated (thisdomain.be is a real accessible domain)
Now when a mail arrives for this...@thisdomain.be, the above script is
executed; the forward is tried and the mail is delivered; so far so good.
Now us...@otherdomain.be doesn't exist (or the mailbox is full) , anyway
an error is generated by the mailserver (for otherdomain.be) and the
message returns to this...@thisdomain.be; again the filter is executed
and there we go again.
Is there any provision is maildrop to prevent such loops or do I have to
do it myself (adding extra headers and debugging alot). It doesn't seem
like a problem that I have alone.
Have I wrong configured something ?
thanks for any advice/tips/hints.
regards
bart