Page 1 of 1
Problems sending mail outside of Scalix Server
Posted: Tue Jan 17, 2006 10:14 am
by cblaine
All,
I am working on the intital setup of our Scalix box. I am going through and setting up the network specific settings for my location. Currently, I'm attempting to find out what is going on with sending mail outside of the scalix box itself. I can send and receive e-mail fine inside of the box, and I can receive mail into my accounts from outside of the box, however, any mail I try to send externally it never leaves the box. It looks to me like it is going out to sendmail, but I'm unsure of how to troubleshoot anything beyond that.
I am running Scalix 9.4.2 Enterprise on RedHat ES 4
Any direction as to where to go next, I would very mcuh appreciate it.
Thanks
Chris Blaine
Re: Problems sending mail outside of Scalix Server
Posted: Tue Jan 17, 2006 12:12 pm
by ScalixSupport
cblaine wrote:All,
I am working on the intital setup of our Scalix box. I am going through and setting up the network specific settings for my location. Currently, I'm attempting to find out what is going on with sending mail outside of the scalix box itself. I can send and receive e-mail fine inside of the box, and I can receive mail into my accounts from outside of the box, however, any mail I try to send externally it never leaves the box. It looks to me like it is going out to sendmail, but I'm unsure of how to troubleshoot anything beyond that.
I am running Scalix 9.4.2 Enterprise on RedHat ES 4
Any direction as to where to go next, I would very mcuh appreciate it.
Thanks
Chris Blaine
Hi Chris,
please check /var/log/maillog and post relevant entries from your tests. Send a message outside and check that file. If there is any problem with it, the log will tell us what it is.
Cheers,
Sascha.
Maillog Output
Posted: Tue Jan 17, 2006 12:24 pm
by cblaine
Here is the output in the maillog
Code: Select all
Jan 17 10:27:31 bones sm-msp-queue[8117]: k0FFBDGW003451: to=<cblaine@Removed.net>, delay=2+00:16:18, xdelay=00:
00:00, mailer=relay, pri=4981454, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Jan 17 10:27:31 bones sm-msp-queue[8117]: k0FEwMBt003278: to=<christopher.blaine@REmoved.net>, delay=2+00:29:07, xdelay=00:00:
00, mailer=relay, pri=4981548, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Also, Here are the entries in my smtpd.cfg, entries changed (in quotes) to protect the innocent.
Code: Select all
RELAY Log_Accept 127.0.0.1
SUBMIT Log_Accept 127.0.0.1
RELAY Accept "IP of THIS machine"
SUBMIT Accept "IP of THIS machine"
ANONYMOUS Accept "IP of THIS machine"
ANONYMOUS Accept "IP of OTHER Exchange box"
ANONYMOUS Accept "DNS DOMAIN"
ANONYMOUS Accept "Enterprise SMTP servers"
AUTH_SUCCESS Accept ALL
ANONYMOUS Log_Reject ALL
RELAY Log_Reject ALL
I truly appreciate the help.
Thanks
Chris
Posted: Tue Jan 17, 2006 12:52 pm
by ScalixSupport
Hi Chris,
It appears that sendmail either isn't listening on 127.0.0.1 or it's refusing relayed messages. First, on the Scalix server type:
and see if it connects. You should see a string that includes something like "ESMTP Sendmail" If it doesn't, edit your /etc/mail/sendmail.cf file and search for "DaemonPortOptions". It should say something like:
Code: Select all
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
If telnet did connect, check your /etc/mail/access file and make sure it includes the lines:
Code: Select all
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
If you have to make any changes to these files, you need to restart sendmail.
Thanks,
Rachel
Posted: Tue Jan 17, 2006 1:08 pm
by ScalixSupport
Also, please check /etc/sysconfig/sendmail. There is an incorrect statement in the install guide which says that DAEMON=no should be set. If this is the case, please change it back to DAEMON=yes and restart sendmail.
This statement has been corrected for the next release.
Cheers
Dave
Sendmail Daemon
Posted: Tue Jan 17, 2006 1:21 pm
by cblaine
Thanks to Scalix Support.
I was tearing my hair out about how it used to work, and now it doesn't, what did I do????
The problem was with the sendmail configuration file with the daemon set to no.
As soon as I set it to yes, and restarted I had a ton of mail in my inbox.
Thanks
Chris Blaine