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!
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!