On Tuesday 30 September 2003 23:09, Michelle Konzack wrote:
> The courier-mta is sitting on my central fileserver and whenever I
> send a Mail it trys to send it directly to the smtp-relay of my ISP...
>
> So I have an unknown number of dial-outs...
> ...and ich I switch to manual Dial-Out, courier-mta gives me tonns of
> logs (plus Error-E-Mails)
>
> I like to send Mails only onec per hour, so I have setup a cronjob
> to flush courier but curently ther is nothing to flush :-/
>
> I was looking for the options to queue all mails which must relayed
> to my ISP ! - Can anyone help me out ?

When courier receives mail it will try and send it immediately.  If that fails 
then the retries are controlled by the files esmtpdelay, retryalpha, 
retrybeta, retrygamma, and retrydelta.  You can find out about how these work 
in the courier man page ("man courier").    You could put a bigger number 
into retryalpha than your delay between dial-ups (1 hour you said) and then 
courier would only try to send the mail once.  But I don't know of a way to 
have it not try to send at all.  You could try putting a '0' into some of 
those files but I have no idea what would happen.  Sam?

We do the same thing here - cron jobs to dial-up regularly and flush the 
courier queue and I know that you will get error messages in the logs for 
every mail that is deferred because courier can't send it to the smtp relay, 
but you shouldn't get error emails from courier.  Do you mean that courier is 
sending "mail delayed" and "mail undeliverable" messages?  These can be 
controlled by the "warntime" and the "queuetime" files.  (See the courier man 
page again.)  

I'm not sure if any of this answers your questions but if not then write again 
and we'll try and do better! :-)

Jeff Jansen



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to