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.
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 m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
dnl You will need to have the sendmail-cf package installed for this to
VERSIONID(`sendmail.mc - email@example.com
FEATURE(masquerade_envelope) FEATURE(genericstable, `hash -o /etc/mail/genericstable')
Yhe complete instructions are at:
It works great, except I'd like to have fetchmail start when the ppp connection starts. Any ideas as how to accomplish this?