Networking Forums

Networking Forums > Computer Networking > Linux Networking > SendMail and open relay

Reply
Thread Tools Display Modes

SendMail and open relay

 
 
Jerry Baker
Guest
Posts: n/a

 
      09-30-2004, 11:00 PM
Hi,
Sorry, I am new to Linux and sendmail. I went to http://aboutmydns.com and
ran their quick test. It complains that my sendmail is an open relay, which
is very likely. How do I close it. I still want my Internal users to send
out emails.

Thanks.


 
Reply With Quote
 
 
 
 
Claus =?iso-8859-1?Q?A=DFmann?=
Guest
Posts: n/a

 
      09-30-2004, 11:04 PM
Jerry Baker wrote:

> Sorry, I am new to Linux and sendmail. I went to http://aboutmydns.com and
> ran their quick test. It complains that my sendmail is an open relay, which
> is very likely. How do I close it. I still want my Internal users to send
> out emails.


The default configuration doesn't do that, so what did you change?
See cf/README.

Please post two logfile entries (from=/to=) of a relayed mail
that show the problem. If you don't want to post real data here,
contact sendmail.org.

Include your .mc (not .cf) file and the output of

echo '$=R' | sendmail -bt -d0.10

--
A: Maybe because some people are too annoyed by top-posting.
Q: Why do I not get an answer to my question(s)?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
 
Reply With Quote
 
miguelk
Guest
Posts: n/a

 
      10-01-2004, 02:31 AM
Jerry;

I'm assuming that you have a standard install from a distibution like
Fedora or Red Hat. Check that your access file (mine is in /etc/mail)
looks something like this and no more:

localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY

# internal net
10.1.9 RELAY

Where my internal net is 10.1.9.0/24

Check that your local-host-names file has something like this:

# hosts that you receive mail for
localhost
yourdomain.com

Also make sure that you have this line in sednmail.cf to make sendmail
accessible (this assumes you want to receive mail from outside):

O DaemonPortOptions=Port=smtp,Addr=0.0.0.0, Name=MTA

(Fedora has 127.0.0.1 as the default)

Be sure to restart sendmail after making changes.

Also make sure that if this server runs apache you do not have the
ProxyPass directive enabled. I had a month during which spammers were
using that hole to access sendmail and spam.

> Hi,
> Sorry, I am new to Linux and sendmail. I went to http://aboutmydns.com and
> ran their quick test. It complains that my sendmail is an open relay, which
> is very likely. How do I close it. I still want my Internal users to send
> out emails.
>
> Thanks.

 
Reply With Quote
 
Diggy
Guest
Posts: n/a

 
      10-01-2004, 05:43 PM
Jerry,

We want to help, but a word of etiquette - please don't cross-post

Diggy

On 30 Sep 2004 19:31:43 -0700, (E-Mail Removed) (miguelk)
wrote:

>Jerry;
>
>I'm assuming that you have a standard install from a distibution like
>Fedora or Red Hat. Check that your access file (mine is in /etc/mail)
>looks something like this and no more:
>
>localhost.localdomain RELAY
>localhost RELAY
>127.0.0.1 RELAY
>
># internal net
>10.1.9 RELAY
>
>Where my internal net is 10.1.9.0/24
>
>Check that your local-host-names file has something like this:
>
># hosts that you receive mail for
>localhost
>yourdomain.com
>
>Also make sure that you have this line in sednmail.cf to make sendmail
>accessible (this assumes you want to receive mail from outside):
>
>O DaemonPortOptions=Port=smtp,Addr=0.0.0.0, Name=MTA
>
>(Fedora has 127.0.0.1 as the default)
>
>Be sure to restart sendmail after making changes.
>
>Also make sure that if this server runs apache you do not have the
>ProxyPass directive enabled. I had a month during which spammers were
>using that hole to access sendmail and spam.
>
>> Hi,
>> Sorry, I am new to Linux and sendmail. I went to http://aboutmydns.com and
>> ran their quick test. It complains that my sendmail is an open relay, which
>> is very likely. How do I close it. I still want my Internal users to send
>> out emails.
>>
>> Thanks.


 
Reply With Quote
 
chris-usenet@roaima.co.uk
Guest
Posts: n/a

 
      10-04-2004, 09:09 AM
Diggy <(E-Mail Removed)> wrote:
> We want to help, but a word of etiquette - please don't cross-post


Crossposting is perfectly acceptable, provided the groups are
relevant. Multiposting is not acceptable under any circumstances.

This message appears to have been correctly crossposted. Good for you,
poster.

Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to relay David De Smet Windows Networking 0 05-24-2007 03:38 PM
Bypass relay? Robin Faichney Broadband 4 10-07-2004 09:45 AM
SBS 2003 Premium - Open Relay =?Utf-8?B?QWxsYW4=?= Windows Networking 0 04-29-2004 01:01 AM
sendmail will not relay, says ipv6 address is forged Pim Zandbergen Linux Networking 3 01-26-2004 09:51 PM
dhcp relay? Nick Linux Networking 5 01-15-2004 05:06 AM



1 2 3 4 5 6 7 8 9 10 11