SMTP Relay Partially Aborted - Revisited

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

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

SMTP Relay Partially Aborted - Revisited

Postby kejpa » Tue Nov 01, 2011 9:54 am

Hi,
new server installation and I'm back 2½ years...
I can get mail through SWA but not send. I get the same error message:
Due to a failure to establish a connection, the message could not be sent.
Please try again later. A copy of the message has been placed into your 'Drafts' folder.


Looking in old posts I find that it's probably becuse the SMTP servide is Partially Aborted. But unfortunately I never got an answer on how to solve it. I installed the latest version and then it worked.
Now I have the same latest version and it won't work :(

Looking at the old thread (http://www.scalix.com/forums/viewtopic.php?f=5&t=12466) gives me a few hints:

Code: Select all

[root@mandrake ~]# lsof -i :25
COMMAND   PID USER   FD   TYPE   DEVICE SIZE NODE NAME
sendmail 3865 root    4u  IPv4 10382958       TCP *:smtp (LISTEN)

There is no Scalix service using port 25, as I guess there should be.

Any help is as always appreciated!
/Kjell

mmas
Posts: 58
Joined: Tue Apr 15, 2008 11:14 am
Location: Italy

Re: SMTP Relay Partially Aborted - Revisited

Postby mmas » Wed Nov 02, 2011 7:21 am

suggestions:

service sendmail stop
lsof -i :25

stop unused services (dovecot, spamassassin,...)

service sendmail start

Do an omoff -d0 -w smtp
You might get an error here. That is OK.
Do omreset -o off smtp
omon smtp
[ http://www.scalix.com/forums/viewtopic.php?p=36427 ]

See: http://www.scalix.com/forums/viewtopic.php?f=5&t=1790&start=0

les
Scalix Star
Scalix Star
Posts: 819
Joined: Thu Feb 23, 2006 10:18 am
Location: Sydney, Australia

Re: SMTP Relay Partially Aborted - Revisited

Postby les » Wed Nov 02, 2011 8:19 am

kejpa wrote:Hi,

Looking at the old thread (http://www.scalix.com/forums/viewtopic.php?f=5&t=12466) gives me a few hints:

Code: Select all

[root@mandrake ~]# lsof -i :25
COMMAND   PID USER   FD   TYPE   DEVICE SIZE NODE NAME
sendmail 3865 root    4u  IPv4 10382958       TCP *:smtp (LISTEN)

There is no Scalix service using port 25, as I guess there should be.

/Kjell


Hi,

If sendmail is listening on all interfaces (as from above), then thats where the problem is. Sendmail should only listen on localhost. Scalix will take the reset of the interfaces for its smtp service (omsmtpd).

Set sendmail to listen on localhost only....

vi /etc/mail/sendmail.mc

uncomment....
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
save and quit.
then
make -C /etc/mail
service sendmail restart
then restart scalix smtp
omoff -d0 smtpd
omon smtpd
then lsof should look something like this...

# lsof -i :25
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 24203 root 4u IPv4 9229566 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 26568 root 4u IPv4 9724577 TCP<yourservernamehere>:smtp (LISTEN)
Regards,

Les Stott

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

Re: SMTP Relay Partially Aborted - Revisited

Postby kejpa » Thu Nov 03, 2011 3:50 pm

Thanks!

Allowing sendmail only to operate the local delivery did the trick.

Best regards
/Kjell


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 1 guest

cron