[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim and SMS gateways

On Tue, 10 Jul 2001, Marcin Sochacki wrote:

> Hi all,
> I have got some problems with users on my server using email-to-SMS gateways.
> They put .procmailrc like this one:
> ------
> SENDMAIL=/usr/sbin/sendmail
> :0c
> * ^TOxantos@gnu.univ.gda.pl
> | $HOME/email2sms | $SENDMAIL -t
> ------
> When the SMS gateway of someone's operator dies, the messages are bounced back
> and processed again by procmail. The error message is sent to SMS gateway,
> which bounces it again...
> So after some time I have thousands of messages in my spool. How can
> I prevent this behavior with Exim configuration options?
> Marcin

You could write a procmail rule which filters the bounces and drop them in
a mailbox (or send them to /dev/null). Of course, you need to place this
rule _before_ the rule which sends the SMS.


Teun Vink - teun@moonblade.net - icq: 15001247 - http://teun.moonblade.net

Reply to: