Page 1 of 1

sendmail sends mail externally

Posted: Fri Jun 16, 2006 11:06 am
by jeff@aliashotels.com
Hello

It seem that when I run fetchmail with the following

set postmaster "jeff.patricx@aliashotels.com"
set no bouncemail
set no spambounce
set properties ""
set logfile /var/log/fetchmail


poll pop3.xxxxxx.com, proto pop3, no dns, envelope Envelope-To, localdomains aliashotels.com lhmplc.com scarab-uk.com aliasseattle.com aliasbarcelona.com aliaskandinsky.com fourwindsresorts.com, auth password user xxxxxx there with password xxxxxxxx is * here


The mail log shows that the address that doesn't exist locally gets sent back out again by mailer=esmtp

The address that does exist locally gets forwarded coreectly to the right mailbox

I don't know why.

Jun 16 14:25:11 baldrick sendmail[9498]: k5GDOlwO009433: to=<millie.rideoux@aliashotels.com>, delay=00:00:02, xdelay=00:00:02, mailer=esmtp, pri=127887, relay=mx0.beepweb.net. [217.158.48.100], dsn=2.0.0, stat=Sent (k5GDP0b30974 Message accepted for delivery)
Jun 16 14:42:20 baldrick sendmail[10256]: k5GDgK04010256: from=<na3@expotel.com>, size=13968, class=0, nrcpts=1, msgid=<JFEEIJFIEGHJFMOLACFHEEPKCLAA628539.support@accountis.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Jun 16 14:42:20 baldrick sendmail[10260]: k5GDgK04010256: to=<seattle@aliashotels.com>, delay=00:00:00, xdelay=00:00:00, mailer=scalix, pri=133968, relay=baldrick, dsn=2.0.0, stat=Sent (Ok)


iave only used Linux for a week so don't know anything yet about anything[/quote]

thanks

Posted: Fri Jun 16, 2006 11:30 am
by ScalixSupport
This is normal. Scalix does not own the domain and unknown users are forwarded on to sendmail. Is this a problem for you?

Cheers,

Sascha.

Posted: Fri Jun 16, 2006 11:40 am
by jeff@aliashotels.com
thanks for quick reply.

the domain is the local one.

its just the user account that doesn't exist so it should go to postmaster as undelivereable or just be rejected rather than forwarded back outside again (shouldn't it?)

in the bit from the maillog the address is to=<millie.rideoux@aliashotels.com>, so its to my internal mail domain. its the user name that doesn't exist.

thanks

Posted: Fri Jun 16, 2006 11:42 am
by jeff@aliashotels.com
so

seattle@aliashotels.com went to the mail box correctly

millie.rideoux@aliashotels.com was sent back out by esmtp to end back up in the same mail box.

Posted: Fri Jun 16, 2006 4:49 pm
by ScalixSupport
You need to add your domain (aliashotels.com) to your /etc/mail/local-host-names file and restart sendmail. Sendmail will then know it's supposed to handle all mail for that domain and bounce messages to invalid addresses.

Thanks,
Rachel

Posted: Fri Jun 16, 2006 5:46 pm
by jeff@aliashotels.com
Iwa just about to write a long meessage with logs tsay that didn't work either

but i had forgotten to restart sendmail. :-)

works properly now

Thanks

.