Linux - SecurityThis 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.
I need some help here. I have a IMAP / SMTP server using sendmail 8.12.8 for the SMTP. (REDHAT 8.0) The problem i'm having is that whereever I send email using my server, it relays perfectly. As far as I can see, from wherever I am, I can relay with my server with no authentication. Eek!!
What I want it to do is require a username/password to send the mail.
I've been trawling through masses of security documentation, most of which says that it shouldn't be relaying be default. I've looked in sendmail.mc and /etc/mail/access, both of which imply that relaying is denied.
But I got rid of them, just to be sure. It now just has:
Code:
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost..
When I telneted to port 25 on my server (to see what sendmail version responded), I got a response from a completely different server. It it now clear that freeserve are redirecting all port 25 queries to their own SMTP server. That is why it appeared that my server was relaying my emails.
The access restrications were always in. I thought my server was relaying without authorization, when in fact it was the freeserve server that was relaying, with authoization (from me logging on to their dial-up)
My server is now on another port, and doesn't work anyhooo!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.