Exim and SMS gateways

2001-07-10 Thread Marcin Sochacki

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
* ^[EMAIL PROTECTED]
| $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

-- 
  +-+
  |  Sekcja Obslugi Informatycznej Biblioteki Glownej !!!  !!! .!!  +
  |  Uniwersytet Gdanski  !!!  !!! !!!  |
  +  tel. (058) 5509436   !!!  !!! !!!  `!! |
  `!!' `!!' |
  +-+


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Exim and SMS gateways

2001-07-10 Thread Teun Vink

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
 * ^[EMAIL PROTECTED]
 | $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

-- 
Teun Vink - [EMAIL PROTECTED] - icq: 15001247 - http://teun.moonblade.net


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Exim and SMS gateways

2001-07-10 Thread Marcin Sochacki
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
* [EMAIL PROTECTED]
| $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

-- 
  +-+
  |  Sekcja Obslugi Informatycznej Biblioteki Glownej !!!  !!! .!!  +
  |  Uniwersytet Gdanski  !!!  !!! !!!  |
  +  tel. (058) 5509436   !!!  !!! !!!  `!! |
  `!!' `!!' |
  +-+




Re: Exim and SMS gateways

2001-07-10 Thread Teun Vink
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
 * [EMAIL PROTECTED]
 | $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

-- 
Teun Vink - [EMAIL PROTECTED] - icq: 15001247 - http://teun.moonblade.net