Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-20-2005, 10:03 PM
|
#1
|
Member
Registered: Nov 2003
Posts: 33
Rep:
|
Maillog unwanted relay
Hi,
I have installed redhat 9.0 linux box with sendmail 8.12.9. I have frequently getting relaying denied in the maillog.
The logs given below:
*************************
Mar 21 08:53:45 bics sendmail[18276]: j2L3MZms018276: ruleset=check_rcpt, arg1=<4ieh123n@yahoo.com.tw>, relay=[166.114.30.40], reject=550 5.7.1 <4ieh123n@yahoo.com.tw>... Relaying denied. IP name lookup failed [166.114.30.40]
Mar 21 08:53:45 bics sendmail[18277]: j2L3Mfmq018277: ruleset=check_rcpt, arg1=<6041a@ms4.hinet.net>, relay=[166.114.30.40], reject=550 5.7.1 <6041a@ms4.hinet.net>... Relaying denied. IP name lookup failed [166.114.30.40]
1. I want to know whether my sendmail server is a open relay or not.
2. How to restrict the relaying denied error..?
Hope i will get the solution thanks...
Regards
Baskar T
|
|
|
03-20-2005, 10:52 PM
|
#2
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
Looks like someone may be trying to use your box as an open relay, but the fact that it is being denied is a good sign. You should check your /etc/mail/access file. IIRC by defauly the sendmail shipped with RH9 will only route mail to/from the localhost and for domains specified in the access database (you'll need to rebuild access.db via makemap if you modify this file). You can also test your mail server by telnetting to port 25 and attempting to send mail from some random domain not serviced by your mail server to another random domain not serviced by your mail server.
Finally, if you're running RH9 in a server capacity, please make sure you have all relevant updates from red Hat and the Fedora legacy project installed.
|
|
|
11-22-2005, 05:10 AM
|
#3
|
Member
Registered: Nov 2003
Posts: 33
Original Poster
Rep:
|
how to drop the ip
Hi btmiller,
Thanks for ur reply.
I have few doubts..
1. I would like to avoid those errors in the maillog. How to do?
2. Is there any method to restrict open relay in sendmail.
thanks in advance.
Regards
Baskar ST
|
|
|
All times are GMT -5. The time now is 03:36 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|