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

Re: My Machine can't receive mail



At 2/1/2002 09:37 AM -0500, you wrote:
I would venture to guess your having the same problem i had. In RHL 7.2
Redhat made it so sendmail will not get mail from anyone but itself.
This was done as i understand for some security reason, not sure.

This was done to reduce the number of open relays out on the Internet, to reduce spam. It is a very valid security concern.


You need to edit the file: /etc/sendmail.cf

No! You should *not* edit the /etc/sendmail.cf unless you damn well know what you're doing. (And generally even for those people it's not necessary.)


Instead you should edit /etc/mail/sendmail.mc. At the very end there is a short comment with an explanation of what to change and how to change it. The instructions have been posted to this list many times, and I don't have my server handy to be sure I give you the exact answer, so I'll not provide many details here.

Comment out the right line by adding "dnl " at the beginning of the line. Save the file. Make a backup copy of /etc/sendmail.cf. Create a new /etc/sendmail.cf using the instructions provided inside sendmail.mc at the very top ("m4 /etc/mail/sendmail.mc > /etc/sendmail.cf"). Restart sendmail.


-- Rodolfo J. Paiz rpaiz indahaus com





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