How to shield the SMTP relay &doesn't affect the normal mail

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
cempot
New user
New user
Posts: 2
Joined: 2014-06-14 08:27

How to shield the SMTP relay &doesn't affect the normal mail

Post by cempot » 2014-06-14 09:03

There is always a lot of dynamic IP address want to try the SMTP relay mail, cause my log is very large, how to block them?
PS:The IP address is too many^

Code: Select all

"SMTPD"	3260	140380	"2014-06-14 14:50:11.026"	"221.6.29.142"	"RECEIVED: RCPT TO: <xavier@ms23.hinet.net>"
"SMTPD"	3260	140380	"2014-06-14 14:50:11.027"	"221.6.29.142"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3172	140385	"2014-06-14 14:50:11.158"	"1.160.122.78"	"RECEIVED: RCPT TO: <slowjamz2044@yahoo.com.tw>"
"SMTPD"	3172	140385	"2014-06-14 14:50:11.160"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."
"SMTPD"	960	140385	"2014-06-14 14:50:11.286"	"1.160.122.78"	"RECEIVED: RCPT TO: <mimi87600@yahoo.com.tw>"
"SMTPD"	960	140385	"2014-06-14 14:50:11.288"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3356	140380	"2014-06-14 14:50:11.388"	"221.6.29.142"	"RECEIVED: RCPT TO: <wdpcxljq@jkrcmdjb.com>"
"SMTPD"	3356	140380	"2014-06-14 14:50:11.388"	"221.6.29.142"	"SENT: Too many invalid commands. Bye!"
"SMTPD"	3364	140385	"2014-06-14 14:50:11.432"	"1.160.122.78"	"RECEIVED: RCPT TO: <milkgirl1017@yahoo.com.tw>"
"SMTPD"	3364	140385	"2014-06-14 14:50:11.434"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1208	140385	"2014-06-14 14:50:11.576"	"1.160.122.78"	"RECEIVED: RCPT TO: <mnt6813@yahoo.com.tw>"
"SMTPD"	1208	140385	"2014-06-14 14:50:11.577"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."
"SMTPD"	2108	140385	"2014-06-14 14:50:11.726"	"1.160.122.78"	"RECEIVED: RCPT TO: <n7575719.tw@yahoo.com.tw>"
"SMTPD"	2108	140385	"2014-06-14 14:50:11.727"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1764	140385	"2014-06-14 14:50:11.878"	"1.160.122.78"	"RECEIVED: RCPT TO: <patrick510520@yahoo.com.tw>"
"SMTPD"	1764	140385	"2014-06-14 14:50:11.880"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3364	140385	"2014-06-14 14:50:12.028"	"1.160.122.78"	"RECEIVED: RCPT TO: <orangestar_music@yahoo.com.tw>"
"SMTPD"	3364	140385	"2014-06-14 14:50:12.030"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3620	140385	"2014-06-14 14:50:12.186"	"1.160.122.78"	"RECEIVED: RCPT TO: <savel3847@yahoo.com.tw>"
"SMTPD"	3620	140385	"2014-06-14 14:50:12.188"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3336	140385	"2014-06-14 14:50:12.341"	"1.160.122.78"	"RECEIVED: RCPT TO: <ofkrjfdef@yahoo.com.tw>"
"SMTPD"	3336	140385	"2014-06-14 14:50:12.342"	"1.160.122.78"	"SENT: 530 SMTP authentication is required."

Code: Select all

"SMTPD"	2504	140389	"2014-06-14 14:50:20.055"	"114.45.21.119"	"RECEIVED: RCPT TO: <nmdrrete45@yahoo.com.tw>"
"SMTPD"	2504	140389	"2014-06-14 14:50:20.056"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3172	140389	"2014-06-14 14:50:20.300"	"114.45.21.119"	"RECEIVED: RCPT TO: <patricia7491@yahoo.com.tw>"
"SMTPD"	3172	140389	"2014-06-14 14:50:20.302"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1764	140389	"2014-06-14 14:50:20.535"	"114.45.21.119"	"RECEIVED: RCPT TO: <skyseasand@yahoo.com.tw>"
"SMTPD"	1764	140389	"2014-06-14 14:50:20.536"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1888	140389	"2014-06-14 14:50:20.780"	"114.45.21.119"	"RECEIVED: RCPT TO: <pandafs@yahoo.com.tw>"
"SMTPD"	1888	140389	"2014-06-14 14:50:20.781"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1588	140389	"2014-06-14 14:50:21.022"	"114.45.21.119"	"RECEIVED: RCPT TO: <saasaa5880@yahoo.com.tw>"
"SMTPD"	1588	140389	"2014-06-14 14:50:21.024"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	2504	140387	"2014-06-14 14:50:21.077"	"112.124.115.239"	"RECEIVED: RCPT TO: <upc.order@gmail.com>"
"SMTPD"	2504	140387	"2014-06-14 14:50:21.079"	"112.124.115.239"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1208	140389	"2014-06-14 14:50:21.268"	"114.45.21.119"	"RECEIVED: RCPT TO: <rilovitch@yahoo.com.tw>"
"SMTPD"	1208	140389	"2014-06-14 14:50:21.269"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	960	140389	"2014-06-14 14:50:21.512"	"114.45.21.119"	"RECEIVED: RCPT TO: <sanandkumar@yahoo.com.tw>"
"SMTPD"	960	140389	"2014-06-14 14:50:21.514"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3336	140387	"2014-06-14 14:50:21.561"	"112.124.115.239"	"RECEIVED: RCPT TO: <xavier@ms23.hinet.net>"
"SMTPD"	3336	140387	"2014-06-14 14:50:21.562"	"112.124.115.239"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1144	140389	"2014-06-14 14:50:21.753"	"114.45.21.119"	"RECEIVED: RCPT TO: <sana8039@yahoo.com.tw>"
"SMTPD"	1144	140389	"2014-06-14 14:50:21.754"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3172	140389	"2014-06-14 14:50:21.988"	"114.45.21.119"	"RECEIVED: RCPT TO: <qq245956@yahoo.com.tw>"
"SMTPD"	3172	140389	"2014-06-14 14:50:21.989"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1588	140387	"2014-06-14 14:50:22.046"	"112.124.115.239"	"RECEIVED: RCPT TO: <wdpcxljq@jkrcmdjb.com>"
"SMTPD"	1588	140387	"2014-06-14 14:50:22.046"	"112.124.115.239"	"SENT: Too many invalid commands. Bye!"
"SMTPD"	3364	140389	"2014-06-14 14:50:22.223"	"114.45.21.119"	"RECEIVED: RCPT TO: <panyecong@yahoo.com.tw>"
"SMTPD"	3364	140389	"2014-06-14 14:50:22.225"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	3260	140389	"2014-06-14 14:50:22.465"	"114.45.21.119"	"RECEIVED: RCPT TO: <pilie1@yahoo.com.tw>"
"SMTPD"	3260	140389	"2014-06-14 14:50:22.466"	"114.45.21.119"	"SENT: 530 SMTP authentication is required."
"SMTPD"	1588	140389	"2014-06-14 14:50:22.703"	"114.45.21.119"	"RECEIVED: RCPT TO: <pooh750710@yahoo.com.tw>"
"SMTPD"	1588	140389	"2014-06-14 14:50:22.704"	"114.45.21.119"	"SENT: Too many invalid commands. Bye!"

User avatar
mattg
Moderator
Moderator
Posts: 18329
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: How to shield the SMTP relay &doesn't affect the normal

Post by mattg » 2014-06-15 03:12

Using Geo-IP
Using a comprehensive firewall
utilising autoban in hMailserver (only for same IP address)
Using some rules to track common elements of the SPAM, and kill the connection when this is detected


Welcome to the internet. :)
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

Post Reply