(Answer) (Category) NetMAXFAQ : (Category) FTP / Mail / Time Services :
How do I allow anyone to relay email through my NetMAX WebServer/Professional?
Applies to: NetMAX WebServer and Professional 2.x - 3.x
address-suppressed

Versions L2.2Pv2.x

To make your mail server an open relay (a potential target for spammers):

Edit the /etc/sendmail.cf file and comment out the following line:

R$*                    $#error $@ 5.7.1 $: "550 Relaying denied"

So when you're done, it should read:

#R$*                    $#error $@ 5.7.1 $: "550 Relaying denied"

You'll also want to add this file to the /etc/commit.conf file so that NetMAX doesn't overwrite this customization.

Edit the /etc/commit.conf file to contain the following line:

skip /etc/sendmail.cf

After you edit this file, you must commit your changes by forcing the mail committer to run by going to Home|Services|Mail. Click STORE (no configuration changes are required). Click COMMIT in the green Command Panel. Lastly, click on the smaller COMMIT button in the Input Frame.

Versions L2.2Pv3.x

To make your mail server an open relay (a potential target for spammers):

Edit the /etc/sendmail.cf file and comment out the following lines:

R     $#error $@ 4.7.1 $: "450 Relaying temporarily denied. Cannot resolve PTR record for " $&{client_addr}
R     $#error $@ 5.7.1 $: "550 Relaying denied. IP name possibly forged " $&{client_name}
R     $#error $@ 5.7.1 $: "550 Relaying denied. IP name lookup failed " $&{client_name}
R$*                    $#error $@ 5.7.1 $: "550 Relaying denied"

So when you're done, it should read:

#R    $#error $@ 4.7.1 $: "450 Relaying temporarily denied. Cannot resolve PTR record for " $&{client_addr}
#R    $#error $@ 5.7.1 $: "550 Relaying denied. IP name possibly forged " $&{client_name}
#R    $#error $@ 5.7.1 $: "550 Relaying denied. IP name lookup failed " $&{client_name}
R$*                     $:  $&{client_name}
# pass to name server to make hostname canonical
R $* $~P             $:  $[ $1 $2 $]
R$* .                   $1                      strip trailing dots
R                    $@ RELAYFROM
R $=w                $@ RELAYFROM
R $* $=R                     $@ RELAYFROM
R $*                 $: $>LookUpDomain <$1>  <$1> <+Connect>
R $*             $@ RELAYFROM
R<$*> <$*>              $: $2

# anything else is bogus
#R$*                     $#error $@ 5.7.1 $: "550 Relaying denied"

You'll also want to add this file to the /etc/commit.conf file so that NetMAX doesn't overwrite this customization.

Edit the /etc/commit.conf file to contain the following line:

skip /etc/sendmail.cf

After you edit this file, you must commit your changes by forcing the mail committer to run by going to Home|Services|Mail. Click STORE (no configuration changes are required). Click COMMIT in the green Command Panel. Lastly, click on the smaller COMMIT button in the Input Frame.
address-suppressed

Previous: (Answer) Why isn't Sendmail running on my NetMAX machine?
Next: (Answer) Why doesn't my Windows95/98 machine talk to the network time server?
This document is: http://www.netmax.org/cgi-bin/fom.cgi?file=275
[Search] [Appearance]
This is a Faq-O-Matic 2.721.
This FAQ administered by ...Cybernet Systems Corp.