> -----Original Message-----
> From: [EMAIL PROTECTED]
> Sent: Sunday, January 12, 2003 11:52 AM
> Subject: setting up virtual mail users or other domains
> 
> 
> Hi - I have setup a dynamic DNS service to point the domain 
> "kinz.org" to my home system (via a cable link) and i am
> trying to setup sendmail on a RH 7.2 system to accept emails
> to <anyone>@kinz.org to be deliverd locally to the
> user "jkinz".  I have tried using the virtuser table to make 
> this happen but so far, no soap.
> 
> Does anyone have any suggestions?
> 
> 
> Details:
> This did not work for virtusers:
> @kinz.org     jkinz
> [EMAIL PROTECTED]        jkinz

Did you add kinz.org to /etc/mail/local-host-names? (see below)

> 
> Nor this:
> @kinz.org     jkinz@localhost
> 
> Nor this:
> @kinz.org     [EMAIL PROTECTED]    
> (which is my real email address)
> 
> After each change to the virtuser file I did a makemap hash 
> on the file to recreate the associated db file and I
> restarted the sendmail service.
> 
> i have a firewalll set up but I am letting port 25 
> connections come through. and they appear to be reaching
> my system because i am getting records in the maillog
> file that indicate that emails to [EMAIL PROTECTED] are arriving:
> they just don't get delivered locally.)
> 
> Jan 12 11:38:49 redline sendmail[4880]: h0CGcnj04880: 
> from=jkinz, size=484, class=0, nrcpts=1, 
> msgid=<20030112113849.E3012@redline>, relay=jkinz@localhost

sendmail recevied a message from jkinz @ localhost.

> Jan 12 11:38:50 redline sendmail[4883]: h0CGcnj04880: 
> [EMAIL PROTECTED], ctladdr=jkinz (500/500), delay=00:00:01, 
> xdelay=00:00:01, mailer=relay,
> pri=30484, relay=mail.attbi.com. [204.127.202.7], dsn=2.0.0, 
> stat=Sent (ok ; id=2003011216372300300lc0vse)

The relay mailer was selected for the above and the relay MTA was
mail.attbi.com. Bzzt!

> 
> Jan 12 11:43:53 redline sendmail[4959]: h0CGhrc04959: 
> from=jkinz, size=485, class=0, nrcpts=1, 
> msgid=<20030112114353.F3012@redline>, relay=jkinz@localhost

sendmail recevied a message from jkinz @ localhost.

> Jan 12 11:43:53 redline sendmail[4962]: h0CGhrc04959: 
> to="|exec /usr/bin/procmail"  , ctladdr=jkinz (500/500), 
> delay=00:00:00,
> xdelay=00:00:00, mailer=prog, pri=30485, dsn=2.0.0, stat=Sent
>

The prog mailer was selected and procmail was called for local delivery
through a pipe. 

> (n 12 12:35:52 redline sendmail[5722]: h0CHZqe05722: 
> from=jkinz, size=458, class=0, nrcpts=1, 
> msgid=<20030112123551.H3012@redline>, relay=jkinz@localhost

sendmail recevied a message from jkinz @ localhost.

> Jan 12 12:35:53 redline sendmail[5725]: h0CHZqe05722: 
> [EMAIL PROTECTED], ctladdr=jkinz (500/500), delay=00:00:01, 
> xdelay=00:00:01, mailer=relay,
> pri=30458, relay=mail.attbi.com. [216.148.227.71], dsn=2.0.0, 
> stat=Sent (ok ; id=2003011217342605200dolk8e)
> 

And again, the relay mailer was selected for the above and the relay MTA was
mail.attbi.com. Bzzzt!!!

Add hinz.org to class w (/etc/mail/local-host-names). This will make
sendmail select the local mailer (procmail) for *@hinz.org.

Steve Cowles



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to