[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Network HELP PLEASE!!



At 10/26/2001 05:27 PM -0500, you wrote:
>If it isn't listening, then you need to restart sendmail.
>Did you try adding yourself to RELAY?

Yes I added myself to the relay, is there a way to just set the relay open
so I don't have to keep adding things to it?

After seeing the rest of the thread, I see you got your incoming mail working. Congratulations. Note: this is why you provide *lots* of detail when asking questions; everyone would have caught the comment with "#" in a second, sparing you a lot of grief.


As to relay, you DO NOT DO NOT DO NOT want to have an open relay. Sooner or later, you *will* get your system trashed by a spammer pushing 2,500,000 messages through it or blackholed by a bunch of people for letting spammers use it.

Instead, use AUTH. With it you can send from anywhere on Earth since it uses your username and password to authenticate you before sending mail. Real users can send mail, no one else can. If you've already upgraded to 8.11.6, I'm pretty sure that the three relevant lines are already in sendmail.mc (although I don't remember whether they were commented out).

If AUTH is already configured in sendmail, you can "telnet localhost 25" and, when sendmail answers, issue the command "ehlo localhost" (note "ehlo" spelling). You should get a list of lines as answers, an one of them will be "250-AUTH".

In order for it to *actually* work, you must also ensure that you have a file named smtp in your /etc/pam.d directory. If /etc/pam.d/smtp does not exist, simply copy the file for pop with "cp pop smtp" inside that directory.

Now, you tell your mail client that "My server requires authentication" for outgoing mail and you're good to go. No spam relay, total liberty to wander the world.


-- Rodolfo J. Paiz rpaiz@indahaus.com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []