I got Sendmail to work on a dial-up connection, and with just localhost.localdomain, but it required some masquerading of the message headers. This is the file I used.
divert(-1)
dnl This is the macro config file used to generate the /etc/sendmail.cf
dnl file. If you modify the file you will have to regenerate the
dnl /etc/sendmail.cf by running this macro config through the m4
dnl preprocessor:
dnl
dnl m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
dnl
dnl You will need to have the sendmail-cf package installed for this to
dnl work.
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`sendmail.mc -
ee553@ncf.ca')
OSTYPE(linux)
define(`ALIAS_FILE',`/etc/aliases')
FEATURE(masquerade_envelope) FEATURE(genericstable, `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')
define(`SMART_HOST',`smtp.ncf.carleton.ca')
define(`confTO_QUEUEWARN', `16h')
MAILER(local)
MAILER(smtp)
Yhe complete instructions are at:
http://www.sendmail.org/~ca/email/offline_mailing.html
It works great, except I'd like to have fetchmail start when the ppp connection starts. Any ideas as how to accomplish this?
Harry