On Friday 23 January 2004 13:21, Carsten Borchardt wrote:
> we have a dial-up connection to the internet and need to queue all mails
> that are not delivered localy.
> How can i stop courier from deliverin all non-local mails until the
> dial-up connection to the internet is established?
You can't stop the first delivery, or at least you don't want to because that
would also stop local deliveries as well. Courier has no mechanism to
specifically queue non-local mail. Courier will try to deliver a message
when it receives one. But if you're not connected to the internet then for
any non-local deliveries it will get a dns error immediately and delay the
mail. At that point you can use the retryalpha, retryabeta, retryagamma, and
retryadelta variables in the courier 'etc' directory to tell courier not to
try another delivery attempt until 'X' hours/days away. ('man courier' and
search for 'retryalpha'.) Just set X to be greater than how often you connect
to the internet.
Remember, however, that delivery instructions apply to all deliveries - local
and non-local. So if you tell courier to try delivery once and then wait 6
hours, then if a local delivery is delayed (someone is editing their
maildroprc file, etc.) then that local mail won't be delivered for another 6
hours (or until you run 'courier flush').
Jeff Jansen
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users