Daniel offered a solution that seems to me to work very (bo used on this box, so check it) well, except that I changed the "smtp-rewrite" in the /etc/smail/routers file to match what it calls in the /etc/smail/transports file ("smtp-remap"). I think I typed both in as "smtp-rewrite". I use elm-me+ and fetchmail (for POP downloads), by the way.
Also, I think it is important to go to the /etc/smail/config file and make sure your ISP's domain name (not your full machine name) appears thusly: visible_name=ipa.net <--------(mine used as an example here) -domains hostnames=alemas.ipa.net <--(not sure about this line. Is it correct?) You gurus on the list please take a look the script below, my suggestions, and the full header of this message. Then please advise. If it works, maybe it will be useful in the archive. Thank you. _Art Lemasters ----- Forwarded message from [EMAIL PROTECTED] ----- From: [EMAIL PROTECTED] (Daniel Gross) Subject: Re: Problems w/ppp dialup and sending mail Try the following: --------/etc/smail/routers------------------------------------------------ smart_host: driver=smarthost, transport=smtp-rewrite; path=mail.bingo.baynet.de -------------------------------------------------------------------------- --------/etc/smail/transports--------------------------------------------- [... other transports ...] smtp-remap: driver=tcpsmtp, max_addrs=100, -max_chars, inet, remove_header="From", insert_header="From: ${lookup:from:lsearch{maps/[EMAIL PROTECTED] ($from:$fullname)}}", remove_header="Message-ID", insert_header="Message-ID: <[EMAIL PROTECTED]>", insert_header="Sender: ${lookup:from:lsearch{maps/[EMAIL PROTECTED] ($from:$fullname)}}"; use_bind, defer_no_connect, -local_mx_okay, defnames -------------------------------------------------------------------------- --------/etc/smail/maps/from---------------------------------------------- root [EMAIL PROTECTED] (root) YOURLOCALUSER [EMAIL PROTECTED] (YOURNAME) -------------------------------------------------------------------------- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .