PDA

View Full Version : POP-Relay-Fix.



Technics
Jul 30th, 2001, 05:14 AM
Hi,

If you have installed the Pop-before-Relay package on your box that is supplied by Cobalt in there download sections i would advise you to do the following fix. I got this from the cobalt mailing list tryed it and it worked.


1. TELNET/SSH into your server and su to root
2. Make a safe copy of the poprelayd daemon file:
cd /usr/local/sbin
cp poprelayd poprelayd.old
3. Edit poprelayd:
pico -w poprelayd
4. Change the following line:

from (all one line):

if ($s =~ /POP login by user \"[\-\_\w]+\" at \(.+\) ([0-9\.]+)/) {

to (all one line):

if (($s =~ /POP login by user \"[\-\_\w]+\" at \(.+\) ([0-9\.]+)/) and
($s !~ /reject\=553/) and ($s !~ /from\=/)) {

5. Check file for perl syntax:
perl -c poprelayd
(should get "poprelayd syntax OK")
6. Restart the poprelayd daemon:
/etc/rc.d/init.d/poprelayd restart
7. TEST to ensure it works as normal. If it doesn't restore the safe copy
and restart the daemon and scream!

NightHawk
Aug 5th, 2001, 10:49 AM
And what are we supposed to scream???

I know, we scream TECHNICS!!! HELP!!!!

lol

Technics
Aug 6th, 2001, 02:34 AM
Sorry very sleepy here ... you need help with what ?? lol

NightHawk
Aug 6th, 2001, 07:25 AM
nothing right now.....

but, if we try your fix.......and it don't work....
we scream for you....right???


lol

:cool:

Technics
Aug 6th, 2001, 02:39 PM
Yeah i guess you do :)

NightHawk
Aug 13th, 2001, 07:02 PM
Originally posted by Technics
Hi,


1. TELNET/SSH into your server and su to root
2. Make a safe copy of the poprelayd daemon file:
cd /usr/local/sbin
cp poprelayd poprelayd.old
3. Edit poprelayd:
pico -w poprelayd
4. Change the following line:




Ok, but what do I do when my raq don't have poprelayd on it?? lol

The pkg is installed and working...but when I goto shell and do a locate...that file don't exist.

Technics
Aug 14th, 2001, 08:05 AM
You buzz my MSN and i take a look for you :).

If the PKG is installed then that file should also be there.