Problem sending email

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jra

Problem sending email

Postby jra » Fri Mar 23, 2007 5:12 am

Hi,

I have a live scalix server with 200 users. RHEL 4, Scalix 11.0.1, amavis with clamd and spamassassin mostly with Outlook express/Outlook client sending mail with smtp.

Everyting seems to goes well, but sending mail sometimes is very slow. Even small messases from our intranet stay a long time in the outbox. Logs dont show any errors.

Anybody can help me?

Jose

TRACKS
Posts: 106
Joined: Mon Feb 19, 2007 4:56 pm

Postby TRACKS » Fri Mar 23, 2007 10:34 am

Are you using the Outlook connector?
TRACKS
4000+ users

jra

Postby jra » Mon Mar 26, 2007 6:55 am

No, we replaced a exim with cyrus installation. We want to put in place the outlook stuff, but now we're only using smtp + Pop3 with outlook and express mixed users.

In the old server sending messages with smtp was almost instantaneous.

I have stopped the antivirus part of amavis, with no luck. Are everybody getting slower smtp connections with scalix? Or is it my config?

Thanks.

TRACKS
Posts: 106
Joined: Mon Feb 19, 2007 4:56 pm

Postby TRACKS » Mon Mar 26, 2007 10:24 am

Do you have all the correct DNS additions for your server? My SMTP in my system is pretty fast. If you really want fast deliverability build a different server and use postfix.
TRACKS
4000+ users

KevinAnderson

Postby KevinAnderson » Mon Mar 26, 2007 1:02 pm

Unless you're talking about a massive userbase, Scalix's SMTP will easily keep up with your needs.

So, lets see why it's slow. As already indicated, this will almost certainly be a DNS issue.

On the server, can you please post the output from:

cat /var/opt/scalix/??/s/sys/smtpd.cfg|grep -v #
hostname -f
hostname
cat /etc/hosts

On a desktop, can you give me the output from:
ifconfig
nslookup <name of Scalixserver as shown in SMTP config>

Thanks
Kev.

jra

Postby jra » Tue Mar 27, 2007 12:44 pm

Hi

stmpd.cfg:
8<------------------------------------------
GREETING=SMTPd
EXTENSIONS=AUTH,DSN,8BITMIME

MAX_CLIENTS=9
MAX_SUBPROCS=20
SMTPFILTER=TRUE


RELAY accept 127.0.0.1
RELAY accept xxxxxxx.es
RELAY accept es.xxxxxxx.com
RELAY reject 10.80.20.240
RELAY accept 10.80.20.0/255.255.255.0
RELAY accept 192.168.0.0/255.255.0.0
RELAY Log_Reject ALL

RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*



[SUBMIT]
ANONYMOUS Log_Reject ALL



[LMTP]
LISTEN=localhost:24

DEBUG_LOG=TRUE

8<---------------------------------------------------

hostname:
mercurio.xxxxxx.es

hostname -f:
mercurio.xxxxxx.es

/etc/hosts:
8<-----------------------------------------------

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain

8<------------------------------------------------

My desktop are windows 2000/xp

I don't have the ifconfig command in my system

nslookup mailhost.xxxxxx.es:
8<------------------------------

Server: srvmad03.xxxxxx.es
Address: 10.80.20.4

Name: mercurio.xxxxxxx.es
Address: 10.80.20.9
Aliases: mailhost.xxxxxx.es

8<-----------------------------

To make the change from my old server hades.xxxxxxx.es i just changed the alias in my DNS from hades.xxxxxx.es to mercurio.xxxxxx.es

Thanks.
Jose

KevinAnderson

Postby KevinAnderson » Tue Mar 27, 2007 1:22 pm

Ok.

Can you please add a line:

10.80.20.9 mercurio.xxxxxxx.es mercurio

to /etc/hosts on your mail server.

Can you also please post the output from omshowmnmp?

Kev.

jra

Postby jra » Wed Mar 28, 2007 6:30 am

Ok.

I added the line to my /etc/hosts. I need to restart the server?

The output of omshowmnmp is:

mercurio mercurio.xxxxxxx.es

Thanks,
Jose

Ruthiness
Posts: 79
Joined: Tue Nov 13, 2007 8:11 pm

Please help with SMTPD slowness

Postby Ruthiness » Fri Feb 01, 2008 1:59 pm

I am wondering if I am having the same issue. Can anyone provide advice as to how I should modify my hosts file? It seems sending through smtpd is very slow from clients - the clients are using IMAPS to receive - no Outlook Connector involved.

hosts file:

127.0.0.1 localhost.localdomain localhost
10.49.1.40 mailpa.maindomaincom mailpa

hostname
mailpa.maindomain.com

hostname -f
mailpa.maindomain.com

omshowmnmp
mailpa mailpa.maindomain.com

Could this be the issue (which I have TOLD them about time and again!)

[root@mailpa scripts]# nslookup
> mailpa.maindomain.com
Server: 66.54.175.122
Address: 66.54.175.122#53

Non-authoritative answer:
Name: mailpa.maindomain.com
Address: 66.227.xxx.xxx
> 66.227.xxx.xxx
Server: 66.54.175.122
Address: 66.54.175.122#53

Non-authoritative answer:
xxx.xxx.227.66.in-addr.arpa name = mailpa.maindomain.
xxx.xxx.227.66.in-addr.arpa name = mailpa.olddomain.com.

Authoritative answers can be found from:
xxx.227.66.in-addr.arpa nameserver = ns2.yipes.com.
xxx.227.66.in-addr.arpa nameserver = ns3.yipes.com.
xxx.227.66.in-addr.arpa nameserver = ns1.yipes.com.
ns1.yipes.com internet address = 209.213.223.126
ns2.yipes.com internet address = 209.120.176.19
ns3.yipes.com internet address = 66.7.155.198

First of all.. not sure why in the reverse lookup it has for the maindomain an entry which does not have the .com... huh????

Ok here is an nslookup on just the mx record for the domain:

Non-authoritative answer:
maindomain.com mail exchanger = 0 mailpa.maindomain.com.

and same nslookup for the old domain (MX record)

Non-authoritative answer:
olddomain.com mail exchanger = 0 mailpa.olddomain.com.

Is our problem with slowness at smtpd being caused by the fact that THEY have gone and defined the SAME IP ADDRESS for the MX record for old domain as well as new domain? In other words, they have set an A record that points to same IP as the new mail server at the old domain so that:

mailpa.maindomain.com ip address identical to mailpa.olddomain.com

I have told them not to do this. I told them to do the following for the old domain

oldomain.com DNS:
IN MX 10 mailpa.maindomain.com

Can anyone tell me what I need to tell this client to do and if I am on the right path?
Is this configuration error in olddomain.com DNS causing the SMTPD slowness problems or not?

What tests do I need to do to PROVE this if this is the case?????


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 2 guests

cron