LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix mail queue problem (https://www.linuxquestions.org/questions/linux-server-73/postfix-mail-queue-problem-575318/)

csdhiman 08-07-2007 07:15 AM

Postfix mail queue problem
 
I am using Postfix on rhl9.0
I am facing problem related to mail queue on server
may be it is due to spam mails it was 13225 when i checked. so the mails are so slow

in postfix main.cf
default_process_limit is 900
smtpd_timeout = 300s


when i use command
# netstat -an |grep <Server ip>:25 |grep ESTABLISHED

then there was 250 ESTABLISHED connections
when i telnet on server's 25 port then it give response after 10 seconds


what this outut means ,is it due to spam ?

pls sugest

gani 08-07-2007 07:32 AM

Try to add the lines below in your main.cf and this will greatly limit/reject connections from spammers and at the same time add postgrey.

Code:

smtpd_helo_required = yes
smtpd_helo_restrictions =
        permit_mynetworks
        permit_sasl_authenticated
        reject_invalid_hostname
        reject_non_fqdn_hostname

-----


All times are GMT -5. The time now is 08:20 PM.