Can't send mail, port 25 blocked

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Jan 26, 2009 7:45 am

You should not set SWA to sent mail to your ISP directly, you will break the SMTP auth it requires. Set it to the IP address of your Scalix server (not 127.0.0.1). If you want to send mail to your ISP you need to edit the SMARTHOST in your sendmail.mc and rebuild the sendmail.cf.

kejpa
Posts: 51
Joined: Tue Nov 25, 2008 9:08 am

Postby kejpa » Mon Jan 26, 2009 8:10 am

Valerion wrote:You should not set SWA to sent mail to your ISP directly, you will break the SMTP auth it requires. Set it to the IP address of your Scalix server (not 127.0.0.1). If you want to send mail to your ISP you need to edit the SMARTHOST in your sendmail.mc and rebuild the sendmail.cf.

Done!
Set it to 192.168.1.50 which is the local IP port of the server, my public is dynamically set so I don't think I can use that one,right?

And I've restarted the server. I think! ;)

Code: Select all

 omoff -w -d 0 smtpd
 omon smtpd


Still no show :(

Thanks again, though
/Kjell

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Mon Jan 26, 2009 2:19 pm

If you:

Code: Select all

# telnet 192.168.1.50 25


what answers?

kejpa
Posts: 51
Joined: Tue Nov 25, 2008 9:08 am

Postby kejpa » Mon Jan 26, 2009 4:09 pm

Hi.
it's looking good...

Code: Select all

Trying 192.168.1.50...
Connected to 192.168.1.50.
Escape character is '^]'.
220 mandrake.kejpa.com ESMTP Scalix SMTP Relay 11.4.2.12068; Mon, 26 Jan 2009 22:07:16 +0200 (EET)
^]

Just like I think it should look like, isn't it?

/Kjell

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Mon Jan 26, 2009 8:03 pm

Yup, that looks fine. It also means you can use smtp debugging to see a test message go through, and figure out where it's ending up.

kejpa
Posts: 51
Joined: Tue Nov 25, 2008 9:08 am

Postby kejpa » Tue Jan 27, 2009 2:24 am

schmoe90 wrote:Yup, that looks fine. It also means you can use smtp debugging to see a test message go through, and figure out where it's ending up.

Nice :)
I'd love to, just don't know how. Is there any good How-To ?

Thanks a lot!
/Kjell

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Tue Jan 27, 2009 1:52 pm

I don't think there's a HowTo, but there are many posts on smtp debugging. Basically, you'll add debug_log=true to sys/smtpd.cfg, restart it and look at the tmp/smtpd-*.log.

kejpa
Posts: 51
Joined: Tue Nov 25, 2008 9:08 am

Postby kejpa » Tue Jan 27, 2009 5:46 pm

Ok,
I'll try that in a couple of days, I'm off for vacation a while.
Some people are lucky, others have vacation ;)

Thanks again!
/Kjell

kejpa
Posts: 51
Joined: Tue Nov 25, 2008 9:08 am

Postby kejpa » Tue Feb 03, 2009 9:31 am

Ok,
I'm back, and the problem is still too obvious. Was able to read my mail on the trip, but not answering :(

Checked a few things and firstly I added debug_log=true to smtpd.cfg, restarted it and looked for the log, Nowhere to be found :(
Then I tried some forums about smtp debugging and found that I could check how the status of the services were (omstat -a) and, hurray or something...

Code: Select all

SMTP Relay                    Partially Abor 14:46:51

At least there's some progress. I think

Any help appreciated
/Kjell


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 2 guests