How to configure MailScanner with sendmail's expensive=true option?

Mike Kercher mike at CAMAROSS.NET
Tue Oct 5 18:36:17 IST 2004


Rishi wrote:
>> Set "Delivery Method = queue" in MailScanner.conf and it won't make
>> the initial delivery attempt, but leave your system to deliver at a
>> time of its own choosing.
>
> But then even internal mail between users on the Linux box is
> queued... The way sendmail's expensive feature works is that internal
> mail is delivered instantly, while keeping external mail in the queue
> to be delivered when triggered.
>
> Any way to accomplish this?
>
> Regards
>
> Rishi

In your MailScanner.conf:

Delivery Method = %rules-dir%/delivery.rules

In delivery.rules:

To:             *@yourdomain.com                batch
FromTo: default                 queue

That should do what you want.

Mike

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list