localhost.localdomain...

Craig White plug-discuss@lists.PLUG.phoenix.az.us
Thu, 31 May 2001 14:23:24 -0700


add to your m4 file the 'MASQUERADE AS' line - see my m4 file below...

then you must run the m4 program to generate your .cf file...

Craig

divert(-1)dnl
# This file was created with Sendmail Switch.
divert(0)dnl
VERSIONID(`@(#)azapple.com.m4	   1.0 (sendmail) 4/16/2000')
define(`MAIL_SETTINGS_DIR', `/etc/mail/')dnl
MASQUERADE_AS(`azapple.com')dnl
MASQUERADE_DOMAIN(`azapple.com')dnl
RELAY_DOMAIN(`azapple.com')dnl
ifdef(`SENDMAIL_COMMERCIAL_CONFIG', `define(`confQUEUE_FILE_MODE',
`0640')')dnl
define(`MAIL_HUB', `barney.azapple.com')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`relay_entire_domain')dnl
FEATURE(`virtusertable')dnl
FEATURE(`mailertable' -o /etc/mail/mailertable.db)
FEATURE(`domaintable' -o /etc/mail/domaintable.db)
FEATURE(`access_db' -o /etc/mail/access.db)
FEATURE(`genericstable' -o /etc/mail/genericstable.db)dnl
MAILER(`local')dnl
MAILER(`smtp')dnl

----:----|----:----|----:----|----:----|----:----|----:----|
- Craig White - PO Box 8634 - Scottsdale, Arizona - 85252
- e-mail address ................ - CraigWhite@AzApple.com
- world wide web address ........ - http://www.AzApple.com
- e-mail my pager address ....... - 6023779752@airtouch.net
- cellular phone ................ - (602) 377-9752
- voice/facsimile ............... - (480) 945-8445
----:----|----:----|----:----|----:----|----:----|----:----|

> -----Original Message-----
> From: plug-discuss-admin@lists.plug.phoenix.az.us
> [mailto:plug-discuss-admin@lists.plug.phoenix.az.us]On Behalf Of Lynn P.
> Tilby
> Sent: Thursday, May 31, 2001 10:29 AM
> To: plug-discuss@lists.plug.phoenix.az.us
> Subject: localhost.localdomain...
>
>
>
> Sometimes... BUT not all the time... my mail gets sent with the domain of
> @localhost.localdomain
>
> where do I fix this problem!
>
> I have looked at sendmail.cf and cannot readily find the rule
> which governs this kind of problem...  a lot of rules are close
> but none fit exactly.
>
> What are the networking files I should look in?
>
> Thanks for your help!
>
> Lynn
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail
> doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list  -  PLUG-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss