Unable to send messages outside of my domain.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

Ziv

Unable to send messages outside of my domain.

Postby Ziv » Thu Sep 08, 2005 10:14 pm

I have read the admin manual and must be missing the section that explains how to allow users to send messages to addresses outside of the server domain.

For example, I want to send a message from the web interface to a address like coolguy34@yahoo.com... This does not happen.

But if I send a message to me@mydomain.com it is delivered without any trouble.

Any suggestions?

Ziv

natkins
Scalix
Scalix
Posts: 37
Joined: Thu Jul 10, 2003 2:21 am
Location: San Mateo, CA
Contact:

Postby natkins » Fri Sep 09, 2005 5:07 am

I moved this to the server forum as you may find more specialized help there.

Cheers,

Nick.

jg
Scalix
Scalix
Posts: 81
Joined: Thu Mar 25, 2004 8:29 am

Postby jg » Fri Sep 09, 2005 5:41 am

We are going to need some clues here.

When you try and send the message from SWA (the web client) you say this does not happen, which I assume to mean the message doesn't get sent/delivered.

Does anything happen? i.e. do you get a non-delivery returned or an error dialog?

SWA will attempt to submit messages to what is defined in the partner.xml config file. Look for smtpServer= in /etc/opt/scalix/webmail/partner.xml

What do you have listening on this port or port 25 (SMTP) on the machine?

Basically, we need to trace through this submission process to see where it is failing.

If you setup audit logging this might give us some clues, i.e.

omconfaud unix 11 router 11
omconfaud -a smtpd 11

I think you need to bounce the smtp relay to pick up this audit setting:
omoff -d0 smtpd
omon smtpd

Then try and send the message and look at the contents of ~scalix/logs/audit

Also, if you have sendmail in the eqauation, then look in /var/log/maillog when you send the message.

Hope that helps narrow things down.

Cheers,
JG

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

Postby ScalixSupport » Fri Sep 09, 2005 1:28 pm

Speculating here, it sounds like you do not have the IP address of your SWA server in /var/opt/scalix/sys/smtpd.cfg as one of the RELAY accept lines.

If you just have a host name (or domain name), it does require that you have a working DNS or name resolution setup to be able to reverse lookup the name from the IP address.

Cheers

Dave

Ziv

Found it... (feeling dumb)

Postby Ziv » Fri Sep 09, 2005 2:31 pm

Looking in the maillog I noticed that all the errors were reported by POSTFIX!!!!
Then I remembered that about a year ago I switched the MTA to postfix on this system.
So a quick switch back and the mail starts flowing like it should.

Thank you all for your suggestions..
Happy with Scalix,
Ziv

lepage

Same problem

Postby lepage » Wed Nov 30, 2005 7:06 pm

Hi,

I have the same problem using SWM.

Email from the internet arrive fine.

Email for the internet never arrive to destination without
any notification to the sender.

Email within the local domain work fine.

Regards,

André

DNS working fine:

> isq.riq.ca
Server: 199.84.128.1
Address: 199.84.128.1#53

isq.riq.ca mail exchanger = 10 green.riq.qc.ca.
isq.riq.ca mail exchanger = 5 heraclite.riq.qc.ca.

> riq.qc.ca
Server: 199.84.128.1
Address: 199.84.128.1#53

riq.qc.ca mail exchanger = 10 relais2.riq.qc.ca.
riq.qc.ca mail exchanger = 5 relais.riq.qc.ca.

Server on port 25

telnet ap.isq.riq.ca 25
Trying 199.84.130.26...
Connected to ap.isq.riq.ca (199.84.130.26).
Escape character is '^]'.
220 ap.isq.riq.ca ESMTP Scalix SMTP Relay 9.2.1.24; Wed, 30 Nov 2005 18:02:53 -0500 (EST)

telnet 127.0.0.1 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

No message in any queue of Scalix server.

Messages in the sendmail queue.

Using eval 9.2.2

Sendmail log:

Nov 30 13:06:24 ap sendmail[4537]: jAUI6O2E004537: from=<postmaster@isq.riq.ca>, size=1099, class=0, nrcpts=1, msgid=<32579087.1133373984563.JavaMail.root@ap>, proto=ESMTP, relay=root@localhost
Nov 30 13:06:24 ap sendmail[4537]: jAUI6O2E004537: to=<lepage@riq.qc.ca>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31099, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

smtpd.cfg

RELAY accept 127.0.0.1
RELAY accept .isq.riq.ca
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

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

Postby ScalixSupport » Wed Nov 30, 2005 7:07 pm

Connection refused on 127.0.0.1 shows that you do not have sendmail running.
Start sendmail and make sure that it's listening by running the command

Code: Select all

lsof -i :25


This should show sendmail listening on 127.0.0.1:25

Cheers

Dave

lepage

Postby lepage » Wed Nov 30, 2005 7:54 pm

ScalixSupport wrote:Connection refused on 127.0.0.1 shows that you do not have sendmail running.
Start sendmail and make sure that it's listening by running the command

Code: Select all

lsof -i :25


This should show sendmail listening on 127.0.0.1:25

Cheers

Dave


work after I put bak the daemon parameter to yes in the senmail file.

the documentation in chapiter 4 says that it should be at no.

Regards,

André

symbiotw

Still Can not mail out

Postby symbiotw » Wed Nov 30, 2005 11:41 pm

work after I put bak the daemon parameter to yes in the senmail file.

the documentation in chapiter 4 says that it should be at no.

######################################################

I change it to no and try reboot or restart scalix,
it still can not mail out, and maillog say:
"stat=Deferred: Connection refused by [127.0.0.1]",

why localhost port 25 just can't start up?

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

Postby ScalixSupport » Wed Nov 30, 2005 11:51 pm

The documentation is incorrect and I have raised a bug report that statement should be removed in the next release.

You should set daemon=yes and restart to have sendmail listening on 127.0.0.1 port 25.

Cheers

Dave


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 40 guests