08/26/2000
Problem: How do I disable e-mail relay on the RaQ?
Solution:
There are two ways to configure a Cobalt RaQ to allow open mail relaying. Please be advised that making this modification opens your machine up to use as a spam relay.
Method 1:
1. Telnet into RaQ; login as root. The password is the admin password used to access the web interface.
2. Edit the file /etc/mail/name_allow. Make the contents of the file contain top-level domain names, i.e.,
com
net
org
edu
Include any other top-level domains you require.
Use the UNIX vi editor to edit /etc/mail/name_allow.
If you don't know how to use vi, the following command will work. Type exactly what is below into the UNIX command prompt:
cat > /etc/mail/name_allow
com
net
org
edu
^d
Type exactly what is shown above. ^D means Control-D.
3. Restart sendmail (the mail delivery service).
Enter the following commands at the command prompt:
/etc/rc.d/init.d/sendmail stop
/etc/rc.d/init.d/sendmail startMethod 2:
This is an untested hack that completely opens your machine up to relaying.
Telnet into the RaQ
backup your copy of sendmail .cf
cp /etc/sendmail.cf sendmail.cf.old
edit the file /etc/sendmail.cf
Search for the line:
R$*<@$+>$* $#error $@ 5.7.1 $: 551 we do not relay
Add a '#' sign to comment out this line - it should read
#R$*<@$+>$* $#error $@ 5.7.1 $: 551 we do not relay
Restart sendmail (as above) and test.
©1996 - 2008 Computer Business Consultants, Inc. All rights reserved. |