can sendmail do local deliver?

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Juan
Posts: 11
Joined: Fri Apr 14, 2006 6:43 pm

can sendmail do local deliver?

Postby Juan » Thu May 11, 2006 7:20 pm

i followed

Scalix/Sendmail & Amavisd-New HOWTO - Updated and i must say it works!

but i have a problem mail is being send out to the internet for localusers !?
can't i just deliver it localy ?

sendmail must know that user@mydomain.foo is located at 127.0.0.1...

thank you
cheers

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

Postby ScalixSupport » Thu May 11, 2006 8:09 pm

You need to add mydomain.foo to /etc/mail/local-host-names and restart sendmail.

Cheers

Dave

Juan
Posts: 11
Joined: Fri Apr 14, 2006 6:43 pm

Postby Juan » Fri May 12, 2006 2:24 am

Goodday,

thank you for the swift reply... that seemed to do the trick :)
i now have a nother issue mail does not seem to go to my mail box : (

Code: Select all

mail sendmail[3113]: k4C6qvhY003113: from=<juan@mydomain.foo>, size=1118, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
May 12 08:52:57 mail sendmail[3112]: k4C6qvQk003112: k4C6qvQl003112: DSN: User unknown
May 12 08:52:57 mail sendmail[3113]: k4C6qvha003113: <juan@mydomain.foo>... User unknown
May 12 08:52:57 mail sendmail[3112]: k4C6qvQl003112: to=<juan@mydomain.foo>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32142, relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown
May 12 08:52:57 mail sendmail[3113]: k4C6qvha003113: from=<>, size=2142, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
May 12 08:52:57 mail sendmail[3112]: k4C6qvQl003112: k4C6qvQm003112: return to sender: User unknown
May 12 08:52:57 mail sendmail[3113]: k4C6qvhc003113: from=<>, size=4652, class=0, nrcpts=1, msgid=<200605120652.k4C6qvQm003112@myhost.mydomain.foo>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1]
May 12 08:52:57 mail sendmail[3112]: k4C6qvQm003112: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=33166, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k4C6qvhc003113 Message accepted for delivery)
May 12 08:52:57 mail sendmail[3114]: k4C6qvhc003113: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=34861, dsn=2.0.0, stat=Sent



why am i getting unkown user beacause of milter "Amavis-milter" ?
why is my mail bot being delivered?

any help on this please

thanx
cheers

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Fri May 12, 2006 3:23 am

Some obvious questions:

Are you trying to deliver to a Scalix user or a UNIX mailbox?

If the former then a Scalix user with internet address juan@mydomain.foo must exist, if the latter a UNIX username juan.

The errors you're getting don't look like they're amavisd-related but you can easily check this by commenting out the

Code: Select all

SMTPFILTER=TRUE


line from smtpd.cfg and restarting the smtp relay with:

Code: Select all

omoff -d0 smtpd && omon smtpd


Try repeating your tests after this and see what happens.
Ben Tisdall
www.redcircleit.com
London

Juan
Posts: 11
Joined: Fri Apr 14, 2006 6:43 pm

Postby Juan » Fri May 12, 2006 3:33 am

Goodday,

no it a normal scalix user, mabee if i make a new user and try that user?

i havesmtpfilter=true

thankx for swift reply...
cheers

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Fri May 12, 2006 5:39 am

Juan wrote:no it a normal scalix user, mabee if i make a new user and try that user?

i havesmtpfilter=true


I suggested commenting (or removing) that line, then restarting the smtp relay to eliminate amavisd from your enquiries.

But before you do that yes, add a Scalix user and try sending a mail to that user. Be sure to make a note of what SAC autogenerates as the email address if you're adding the user that way.

HTH
Ben Tisdall

www.redcircleit.com

London


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 12 guests

cron