This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SMTP problem

Hi
I have Astaro 6.301 version updated 
I face strange problem at the SMTP log
I received huge mails try to relay with our server this is sample of logs

2006:08:22-22:40:40 relay exim[16001]: 2006-08-22 22:40:40 H=(213.181.53.6) [80.87.90.22] F= rejected RCPT : Relay not permitted
2006:08:22-22:40:40 relay exim[16064]: 2006-08-22 22:40:40 H=(213.181.53.6) [218.237.253.3] F= rejected RCPT : Relay not permitted
2006:08:22-22:40:41 relay exim[16002]: 2006-08-22 22:40:41 H=(213.181.53.6) [211.175.109.242] F= rejected RCPT : Relay not permitted
2006:08:22-22:40:41 relay exim[16073]: 2006-08-22 22:40:41 H=(213.181.53.6) [211.215.17.73] F= rejected RCPT : Relay not permitted
2006:08:22-22:40:41 relay exim[16065]: 2006-08-22 22:40:41 H=(213.181.53.6) [211.237.214.220] F= rejected RCPT : Relay not permitted
2006:08:22-22:40:41 relay exim[16004]: 2006-08-22 22:40:41 H=(213.181.53.6) [221.133.139.49] F= rejected RCPT : Relay not permitted

All mails comes from hinet.net to yahoo.com.tw
we have delay with our mail server because it is busy and some time it gives error too many connections when anyone sends mail from internet

Could you please help me 

Hesham Mostafa


This thread was automatically locked due to age.
Parents
  • 2006:08:22-22:40:40 relay exim[16001]: 2006-08-22 22:40:40 H=(213.181.53.6) [80.87.90.22] F= rejected RCPT : Relay not permitted


    This is just somebody trying to check astaro box for an open relay and is the standard response that you will get with that sort of activity. It is really nothing to worry about and is not really hurting anything other than maybe using a small amount of bandwidth.

    You can try turning off DoS protection under proxies-->smtp-->advanced settings to increase your incoming parallel connections if you feel there is a bottleneck in your incoming mail, although its not recomended.

    Another thing I am curious to is that when you say it says too many connections, what is it referring to? An external host sending mail to you, your internal mail server trying to send mail or the astaro box itself trying to connect to your backend server.
  • Hi 
    Thanks for your reply I already turn of DoS option and mails return to its normal behavior 
    What I mean by too many connection this is error appear at SMTP log but that before I turn off DOS
    But I want to know is there is any way to stop all this traffic 

    Thanks
    Hesham Mostafa
Reply
  • Hi 
    Thanks for your reply I already turn of DoS option and mails return to its normal behavior 
    What I mean by too many connection this is error appear at SMTP log but that before I turn off DOS
    But I want to know is there is any way to stop all this traffic 

    Thanks
    Hesham Mostafa
Children
  • There is little you can do to stop random servers from trying to send mail.  What the proxy needs is a smtpd_sender_restrictions option like postfix.  That would stop some of it like you're seeing.  One thing you can do for some of it is to look for the worst offenders and check their ISP's range of IPs, then block them.  I've found that a large amount of spam will come from a smaller number of IPs.  If that IP is from a place I have no need to support I'll create a rule and block them.   The attempts still come in but they are dropped before reaching the proxy.

    If you're getting enough attempts to cause connection issues you might want to find out why your IP is on a not so random list of targets.  Maybe get a new IP or ISP.
  • Are you using RBL's ??
    You could try to reject known spammer IPs, although it's free and so without any warranty, it could help you a bit.
    See http://www.spews.org/ for example.
    Commercial version is under http://www.mail-abuse.com/ (just evaluating it, and it seems to be a bit more sensitive then some others)