Sendmail Relay question...

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

kanderson

Sendmail Relay question...

Postby kanderson » Mon Jan 17, 2005 4:23 pm

I've installed Scalix for a customer, on Suse 9.1.

When I sent email to them, the email bounced with the errors "relaying denied" and then, "user unknown" reflected to the sender.

So I edited the sendmail args, so that it isn't listening. (removed -bd) This allows me to recieve email correctly, but now I can't send. /var/log/mail shows the messages retrying about every 30 mins, but deferred as the connection is being refused by 127.0.0.1.

I can play a bit, but I suspect that the root of the problem will lie with sendmail refusing to relay for me. It appears that Amavis is running, but I haven't touched it. That may be throwing something extra into the mix.

I'm sure you'll need more information, but I'm not too sure what else I should provide you with.

Thanks in advance.
Kev.

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

Postby ScalixSupport » Mon Jan 17, 2005 6:40 pm

Sendmail needs to be listening on port 25 of 127.0.0.1 otherwise outgoing mail won't ever get out.

For incoming mail, you need to leave the SMTP relay listening on port 25. Make sure that you only have the following options in your sendmail.cf:

Code: Select all

O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA


The SMTP relay will listen on all other available IP addresses.

Can you post the exact text of the NDN ? This is important becaue "Denied due to spam list" is a Scalix-type relaying error whereas "Relaying denied" is a sendmail error and this will help focus on which MTA to look at.

Cheers

Dave

kanderson

That did it...

Postby kanderson » Mon Jan 17, 2005 7:26 pm

I returned /etc/sysconfig/sendmail to it's original form, set it to listen only on 127.0.0.1 and then I Shutdown Scalix, and bounced sendmail, and then restarted Scalix.

All seems to be 100% now.

Thanks for your time Dave.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 1 guest