Subject: Re: Sendmail Question
To: beaker <beaker1119@yahoo.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 11/14/2001 17:52:41
On Wed, 14 Nov 2001, beaker wrote:

> I'm trying to get sendmail to work on a dialup-over-ppp internet connection.
> Here are some specifics:
> hostname = "catbox"
> IPaddress = dynamically assigned each time I dial up
> sendmail config file = default; /etc/mail/sendmail.cf
> how sendmail is started:  #/etc/rc.conf  (at boot time)
>                                         sendmail=YES
> sendmail_flags="=bd -q30m"
> 
> The (abbreviated) return message I get when sending mail to an outside
> (remote) user is;
> "----The following addresses had permanent fatal errors ----
>     joe_shmoe@bigISP.net
>     (reason: 501 5.1.8 Domain of sender address beaker@catbox does not
> exist)"

Now I understand why your previous email mentioned genericstable. (I
assumed you had a valid hostname.)

genericstable is probably not needed for you. Try the "masquerade as"
option. In your sendmail.cf (if it has it), have:
DMyourdomainname

Or in sendmail.mc:

 MASQUERADE_AS(yourdomainname)dnl
 FEATURE(`allmasquerade')dnl
 FEATURE(`masquerade_envelope')dnl

This is widely documented; look at some of these:

  http://www.redhat.com/support/resources/faqs/RH-sendmail-FAQ/c20.html
  http://mail-abuse.org/dul/gateways.htm
  http://www.sheflug.co.uk/mail.html
  http://www.leg.uct.ac.za/Articles/sendmail_dialup.html
  http://www.pl.freebsd.org/FAQ/FAQ123.html
  http://www.sendmail.org/~ca/email/offline_mailing.html
  http://www.moongroup.com/docs/offline/sendmail-offline.html
  http://www.lege.com/Sendmail+Dialup.v1.00-5.html
  http://www.guug.de/~roessler/genericstable.html 

   Jeremy C. Reed
   http://www.reedmedia.net/