/etc/resolv.conf and sendmail

James Wilkinson james at westexe.demon.co.uk
Tue Jul 13 21:54:54 UTC 2004


Philippe wrote:
> So I have an idea. As I am on a dialup connection, when sendmail is
> launched, I still don't have any DNS set up (they come from my ISP). So
> could it be the cause of my problem ?
> 
> What I can see, but not sure 100%, is after being connected, if I
> restart sendmail, or if I flush the queue, all the next mails, even
> hours after, will be sent correctly.

That sounds right. When I was on dial-up, I put
sendmail -q
into /etc/ppp/ip-up.local (you may have to create this file and make it
executable). It's a good place to put fetchmail, too.

By default, Sendmail will keep messages for up to five days, waiting for
a chance to send them. But it will send warning messages after only four
hours. You may want to modify sendmail's configuration files to lengthen
either or both these intervals.

Unfortunately, I don't have sendmail installed now (I'm on postfix), so
I can't guide you throught the exact changes needed to the appropriate
m4 files.

HTH,

James.

-- 
E-mail address: james@ | "What kind of music do you get here, ma'am?"
westexe.demon.co.uk    | "Why, we get both kinds of music, Country and
                       | Western."





More information about the users mailing list