Hi,
I have a stand-alone Linux system and from tine to time I dialup to my PPP
account to download new mail and news. The sendmail.cf which I am using now
allows me to send mail to localhost with or without PPP connection. Mail for
remote sites is returned with an error 'Nameserver: unrecoverable error'
when there is no PPP connection; it is sent when the PPP connection is up
and the name server of the site maintaining my PPP account is available.
What I plan is to
* dialup
* download all new mail via pop or something similiar
* hangup
* answer and send all mail (the mail should get queued)
* dialup
* do a sendmail -q
In sendmail.cf I have not insisted on using BIND, because I have no name
server running locally and insisting on BIND would return all mail to
localhost as undeliverable. As I said, mail to a remote site is returned as
undeliverable when the name server is not available. I gets queued when I
add the remote site to /etc/hosts, but this is braindead. Obviously,
sendmail thinks that if the name server is not available and the remote site
is not listed in /etc/hosts there will never ever be a chance to deliver the
mail.
Maybe someone has an appropriate sendmail.cf available that does the simple job.
I really would appreciate some help because I saw the O'Reilly book.
With kind regards,
Michael Marte
PS. I'm using sendmail 8.6.12.