sendmail sends mail externally

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jeff@aliashotels.com
Posts: 10
Joined: Sun Jun 04, 2006 4:23 am

sendmail sends mail externally

Postby jeff@aliashotels.com » Fri Jun 16, 2006 11:06 am

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
Last edited by jeff@aliashotels.com on Fri Jun 16, 2006 11:54 am, edited 1 time in total.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Jun 16, 2006 11:30 am

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.

jeff@aliashotels.com
Posts: 10
Joined: Sun Jun 04, 2006 4:23 am

Postby jeff@aliashotels.com » Fri Jun 16, 2006 11:40 am

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

jeff@aliashotels.com
Posts: 10
Joined: Sun Jun 04, 2006 4:23 am

Postby jeff@aliashotels.com » Fri Jun 16, 2006 11:42 am

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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Jun 16, 2006 4:49 pm

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

jeff@aliashotels.com
Posts: 10
Joined: Sun Jun 04, 2006 4:23 am

Postby jeff@aliashotels.com » Fri Jun 16, 2006 5:46 pm

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

.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 5 guests