sendmail 8.12.11 & virtual domains

sendmail 8.12.11 & virtual domains

am 14.12.2005 15:22:38 von dkoleary

Hey, all;

I'm transferring my domain to a different company that will
set up an MX record directly to my mail server instead of
forwarding it like my last domain holder did.

I've set up the virtual user table and I'm pretty sure it's accurate:

# makemap -u hash /etc/mail/virtusertable
dkoleary@olearycomputers.com dkoleary

The sendmail testing mode responses, though, have me a little concerned:

================================================
# sendmail -bt
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter


> $=w
[192.168.12.2]
localhost
firewall
linux
linux.olearycomputers.com
================================================

That part's all good.

================================================
> /map virtuser dkoleary@olearycomputers.com
map_lookup: virtuser (dkoleary@olearycomputers.com) returns dkoleary (0)
================================================

That part's good.

================================================
> 3,0 dkoleary@olearycomputers.com
canonify input: dkoleary @ olearycomputers . com
Canonify2 input: dkoleary < @ olearycomputers . com >
Canonify2 returns: dkoleary < @ olearycomputers . com . >
canonify returns: dkoleary < @ olearycomputers . com . >
parse input: dkoleary < @ olearycomputers . com . >
Parse0 input: dkoleary < @ olearycomputers . com . >
Parse0 returns: dkoleary < @ olearycomputers . com . >
ParseLocal input: dkoleary < @ olearycomputers . com . >
ParseLocal returns: dkoleary < @ olearycomputers . com . >
Parse1 input: dkoleary < @ olearycomputers . com . >
Mailertable input: < olearycomputers . com > dkoleary < @ olearycomputers . com . >
Mailertable input: olearycomputers . < com > dkoleary < @ olearycomputers . com . >
Mailertable returns: dkoleary < @ olearycomputers . com . >
Mailertable returns: dkoleary < @ olearycomputers . com . >
MailerToTriple input: < smtp . comcast . net > dkoleary < @ olearycomputers . com . >
MailerToTriple returns: $# relay $@ smtp . comcast . net $: dkoleary < @ olearycomputers . com . >
Parse1 returns: $# relay $@ smtp . comcast . net $: dkoleary < @ olearycomputers . com . >
parse returns: $# relay $@ smtp . comcast . net $: dkoleary < @ olearycomputers . com . >
================================================

That part shows me getting relayed back out to comcast. My sendmail
knowledge is fairly proficient but somewhat rusty and dated. I seem
to remember a feature in the < 8.9 days that meant "consider $domain to
be local"; however, I couldn't find anything searching through the
READMEs. I also seem to remember that rule testing mode didn't
necessarily hit the virtual user table.

Can anyone tell me if I need to do anything other than update the
virtual user table or if I should be good as is?

Thanks for your time and help.

Doug O'Leary

--

--------
Senior UNIX Admin
O'Leary Computer Enterprises
dkoleary@olearycomputers.com (w) 630-904-6098 (c) 630-248-2749
resume: http://home.comcast.net/~dkoleary/resume.html

Re: sendmail 8.12.11 & virtual domains

am 15.12.2005 02:28:12 von AK

Doug O'Leary wrote:

> Hey, all;
>
> I'm transferring my domain to a different company that will
> set up an MX record directly to my mail server instead of
> forwarding it like my last domain holder did.
>
> I've set up the virtual user table and I'm pretty sure it's accurate:
>
> # makemap -u hash /etc/mail/virtusertable
> dkoleary@olearycomputers.com dkoleary
>
> The sendmail testing mode responses, though, have me a little concerned:
>
> ================================================
> # sendmail -bt
> ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
> Enter


>
>>$=w
>
> [192.168.12.2]
> localhost
> firewall
> linux
> linux.olearycomputers.com
> ================================================
>
> That part's all good.
>
> ================================================
>
>>/map virtuser dkoleary@olearycomputers.com
>
> map_lookup: virtuser (dkoleary@olearycomputers.com) returns dkoleary (0)
> ================================================
>
> That part's good.
>
> ================================================
>
>>3,0 dkoleary@olearycomputers.com
>
> canonify input: dkoleary @ olearycomputers . com
> Canonify2 input: dkoleary < @ olearycomputers . com >
> Canonify2 returns: dkoleary < @ olearycomputers . com . >
> canonify returns: dkoleary < @ olearycomputers . com . >
> parse input: dkoleary < @ olearycomputers . com . >
> Parse0 input: dkoleary < @ olearycomputers . com . >
> Parse0 returns: dkoleary < @ olearycomputers . com . >
> ParseLocal input: dkoleary < @ olearycomputers . com . >
> ParseLocal returns: dkoleary < @ olearycomputers . com . >
> Parse1 input: dkoleary < @ olearycomputers . com . >
> Mailertable input: < olearycomputers . com > dkoleary < @ olearycomputers . com . >
> Mailertable input: olearycomputers . < com > dkoleary < @ olearycomputers . com . >
> Mailertable returns: dkoleary < @ olearycomputers . com . >
> Mailertable returns: dkoleary < @ olearycomputers . com . >
> MailerToTriple input: < smtp . comcast . net > dkoleary < @ olearycomputers . com . >
> MailerToTriple returns: $# relay $@ smtp . comcast . net $: dkoleary < @ olearycomputers . com . >
> Parse1 returns: $# relay $@ smtp . comcast . net $: dkoleary < @ olearycomputers . com . >
> parse returns: $# relay $@ smtp . comcast . net $: dkoleary < @ olearycomputers . com . >
> ================================================
>
> That part shows me getting relayed back out to comcast. My sendmail
> knowledge is fairly proficient but somewhat rusty and dated. I seem
> to remember a feature in the < 8.9 days that meant "consider $domain to
> be local"; however, I couldn't find anything searching through the
> READMEs. I also seem to remember that rule testing mode didn't
> necessarily hit the virtual user table.
>
> Can anyone tell me if I need to do anything other than update the
> virtual user table or if I should be good as is?
>
> Thanks for your time and help.
>
> Doug O'Leary
>


Hi Doug,

Add the domain to /etc/mail/local-host-names file.
See: http://www.sendmail.org/faq/section4.html#4.5


AK

Re: sendmail 8.12.11 & virtual domains

am 15.12.2005 14:20:01 von dkoleary

On 2005-12-15, AK wrote:
>
>
> Add the domain to /etc/mail/local-host-names file.
> See: http://www.sendmail.org/faq/section4.html#4.5
>

Got it! Thanks for the help.

Doug

--

--------
Senior UNIX Admin
O'Leary Computer Enterprises
dkoleary@olearycomputers.com (w) 630-904-6098 (c) 630-248-2749
resume: http://home.comcast.net/~dkoleary/resume.html