Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a Linux Centos Server, running Apache, Postfix, Dovecot, Postgrey, Amavis, Spamassassin and all the normal stuff. It is the POP / SMTP Server for all of our customers' accounts.
Our customers (and we too) have realized that whenever they sent an email, through any mail client program (Outlook, Eudora, Thunderbird, no matter if it is from a Windows or Linux environment), that initial time to connect, auth, login, is being very very delayed. Sometimes it even goes into time out. And when this happens, normally the CPU times are quite good, no overload.
Could it be any parameter setting at /etc/postfix/main.cf or other System files, that should be more accurate and better tuned?
I am not so skillful in Linux, but I have total access to all the System files at this Server. I thank you in advance for any help or hint.
Don't know much about postfix...I'm sure other's will jump in there...but,
To what port are you having your customers connect to send mail?
What tells you/indicates that there is a delay?
Don't know much about postfix...I'm sure other's will jump in there...but,
To what port are you having your customers connect to send mail?
What tells you/indicates that there is a delay?
Hi, scasey. They connect to Ports 110 (POP) and 587 (SMTP). I compare this Server to another I have, exactly like this, in the same Hosting service and network. Sometimes, to send a simple email just saying "Hello", no attachments, it delays until 2 minutes.
Hi, scasey. They connect to Ports 110 (POP) and 587 (SMTP). I compare this Server to another I have, exactly like this, in the same Hosting service and network. Sometimes, to send a simple email just saying "Hello", no attachments, it delays until 2 minutes.
Where is the delay exactly? From when the email goes from Outbox to Sent folder?
Do a live test and see what's being logged in /var/log/maillog and how fast things happen. You'd be interested with the time the connection is received by postfix from the client, the time it sent the message to the relay, and so on. That would at least give you a broad idea of where the bottleneck happens.
I did it. I use an ancient email program called Eudora, and it shows in a Window the sending process steps.
The first step is always "Connecting to..." the Smtp Server. I was looking at this Server's maillog with tail command. After this it does the AUTH / LOGIN process, and only from this point on the Server's maillog registers something. As a matter of fact the longest delay time is during the "Connecting to" process.
Detail: I have another Server, hosted at this same ISP, and whenever I sent emails through it, I don't have this long delay time.
I did it. I use an ancient email program called Eudora, and it shows in a Window the sending process steps.
The first step is always "Connecting to..." the Smtp Server. I was looking at this Server's maillog with tail command. After this it does the AUTH / LOGIN process, and only from this point on the Server's maillog registers something. As a matter of fact the longest delay time is during the "Connecting to" process.
Detail: I have another Server, hosted at this same ISP, and whenever I sent emails through it, I don't have this long delay time.
What could it mean?
Could be a dns related problem, meaning that the name resolution takes too long.
Use the same nameservers for your mail server (in /etc/resolv.conf), as those of the second server and see if it helps.
bathory, we altered using for both the Google Servers Name, 8.8.8.8 and 8.8.4.4. It seems we had an improvement. I'll be sure about his on next week. Thanks a lot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.