Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SuSe + Postfix ... lagged

Posted on 2004-10-28
6
Medium Priority
?
386 Views
Last Modified: 2013-12-16
Hello,

my problem is that the mailserver on my system isn't sending messages any more and as I can see it is lagged because of many mail queues.

/var/log/mail is showing many messages like:
---------------------------------------------------------------------------------------
Oct 29 01:51:23 myserver postfix/smtp[1476]: connect to angelfire.com[209.202.218.12]: Connection timed out (port 25)
Oct 29 01:51:23 myserver postfix/smtp[1476]: 87CD7490B7A: to=<earlnjoy@angelfire.com>, relay=none, delay=182366, status=deferred (...
Oct 29 01:51:23 myserver postfix/qmgr[1331]: 8DD4A492478: to=<dominicl@angelfire.com>, relay=none, delay=182037, status=deferred (...
Oct 29 01:51:24 myserver postfix/qmgr[1331]: 87D414945E9: to=<p.argo@angelfire.com>, relay=none, delay=179369, status=deferred (co...
Oct 29 01:51:24 myserver postfix/qmgr[1331]: CEC1E49D061: from=<wwwrun@myserver.mydomain.com>, size=6270, nrcpt=1 (queue active)...
Oct 29 01:51:24 myserver postfix/qmgr[1331]: DEFAD494934: from=<wwwrun@myserver.mydomain.com>, size=2377, nrcpt=1 (queue active)..
Oct 29 01:51:24 myserver postfix/qmgr[1331]: CE18449D2D2: from=<wwwrun@myserver.mydomain.com>, size=6272, nrcpt=1 (queue active)..
---------------------------------------------------------------------------------------

Otherwise "relay" is activated for security reasons and without AUTH nobody can send anything here.

Does anybody has an idea why this mailserver is doing so and how could I solve this problem?!

BlueJ
0
Comment
Question by:BlueJ
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 36

Expert Comment

by:grblades
ID: 12442834
So 'mailq' shows many mails stuck in the queue?

You are relaying all email to a specific mail server?
What server are you using? Is it the angelfire.com mnetioned in the log above?
0
 

Author Comment

by:BlueJ
ID: 12449460

Hello grblades,

With relaying, I meant the SMTP-auth.
I don't have any relay domains or relay hosts configured in main.cf

The restrictions configuration looks like:
----------------------------------------
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination
...
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
...
----------------------------------------

My server doesn't has anything with "angelfire.com" to do, it was just an example found in the logfile. They can be found many other hosts.

But what I notice that the most mails seems to be send with apache:
"Oct 30 01:04:54 p15125488 postfix/qmgr[23250]: 7447D492807: from=<wwwrun@myserver.mydomain.com>, size=6270, nrcpt=1 (queue active)"

Am I right ?

0
 
LVL 36

Expert Comment

by:grblades
ID: 12461451
Can you post the output of the 'mailq' command as this should show the reason why the emails were deferred.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:BlueJ
ID: 12465679
I had to delete all my mails in queue because the postfix server was nearly stoned. They were over 300,000 mails in queue.

Now I have nothing in queue but the webserver-user "wwwrun" is still sending suspicious mails:

Nov  1 19:22:06 myserver postfix/pickup[31560]: 6969D49004C: uid=30 from=<wwwrun>
Nov  1 19:22:06 myserver postfix/cleanup[31765]: 6969D49004C: message-id=<20041101182206.6969D49004C@myserver.mydomain.com>
Nov  1 19:22:06 myserver postfix/qmgr[31561]: 209F8490041: skipped, still being delivered
Nov  1 19:22:06 myserver postfix/qmgr[31561]: 3E859490045: from=<admin@staffadministrator.com>, size=3316, nrcpt=2 (queue active)  
Nov  1 19:22:06 myserver postfix/qmgr[31561]: 6969D49004C: from=<wwwrun@myserver.mydomain.com>, size=625, nrcpt=1 (queue active)


In the apache logfiles is nothing unusual.



0
 
LVL 36

Accepted Solution

by:
grblades earned 500 total points
ID: 12465730
What emails should apache be sending?
Is it a public webserver?
Are you sure you dont have a form2mail script configured insecurely which people are using to send spam?

Can you stop postfix delivering email and then look at one of the mails in the queue to see what it contains?
0
 

Author Comment

by:BlueJ
ID: 12585486

Sorry for the late answer grblades, after I did a forced "flush" of the mailqueue the situation became normal.

Thanx
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question