[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Qpopper 3.0.2 + POP/SMTP Relaying Release 1.2-3 = HELP!



Coaxil wrote:
> 
> 1.) RaQ3-Qpopper Release 3.0.2 (Reboot)
> 2.) POP-Authenticated SMTP Relaying Release 1.2-3 (Reboot)
> 3.) Then this one:
> ftp://ftp.cobaltnet.com/pub/experimental/security/qpopper/RaQ3-Qpopper-Expr-
> 2.pkg (Reboot)
> 
> But still I get the mail relay error on all the sites hosted on my RAQ3 when
> I try to send mail. The only email send that does work is when I try to send
> it form one site on the RAQ3 to another that is also on the same RAQ3.

hi barnabas,

i'm no expert here, but i think what may have happened is that there is
a bug in the pop-before-smtp 1.2-3 pkg (i posted on this yesterday, but
haven't heard back from anyone yet to know if i'm right or not).  the
original 1.2 pkg installs a shell script called poprelayd in the
/etc/rc.d/init.d/poprelayd directory.  but the 1.2-3 pkg seems to
install the wrong file in that directory, copying the main poprelayd
perl program there instead.  the purpose of the shell script is to:
"take care of starting and stopping the pop-log-scrubber and sendmail
relay db population tool" (copied from the script documentation). 
without that script the pop before relay process doesn't start properly.

you can confirm if the right poprelayd script is in the init.d directory
a couple of ways:

(1) from the command prompt type:  /etc/rc.d/init.d/poprelayd.  if the
system responds with something like: "program or command not found",
then the start/stop script is not installed.  if the system returns
with: "Usage: poprelayd start|stop|restart", then the script isn't the
problem.

(2) look inside "/etc/rc.d/init.d/poprelayd".  if the first line is:
"#!/usr/bin/perl" then the wrong file is there, but if it starts with
"#!/bin/sh" then the problem is something else.

i had what i think is the same problem with our qube2.  i solved it by
the following steps (i bet there is an easier way to do this, but this
is what worked for me):

(1) i first uninstalled pop-before-relay 1.2.3 (using the appropriate
uninstall script in the "/var/lib/cobalt/uninstallers/" directory)
(2) i then installed the original pop-before-relay 1.2 pkg
(3) i next copied the poprelayd script in the init.d directory to a
different directory (i.e., i typed "cp /etc/rc.d/init.d/poprelayd
/path/to/different/directory/poprelayd")
(4) i reinstalled the qpopper 3.x update pkg (because the
pop-before-relay 1.2 release installs qpopper 2.53 which must be
upgraded before installing the pkg in step 5 below)
(5) then i reinstalled the pop-before-relay 1.2.3 update pkg
(6) and then copied the poprelayd shell script back to the
"/etc/rc.d/init.d/" directory (i.e., the one i had copied to a new
directory in step 3)
(7) and lastly, i started poprelayd by typing:
"/etc/rc.d/init.d/poprelayd start"

that (or something very close to it) is what worked for me on our
qube2.  your mileage may differ.

good luck,

mikey.

-- 
mike songster <mikey@xxxxxxxxxxxxxxxxx>
work1: http://www.biosearchtech.com
work2: http://www.chem.umn.edu/orgs/ampepsoc

spinning and spinning and spinning around...
                                       the feelies