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

[cobalt-users] poprelayd error with Sendmail 8.10 FIX and Perl 5.6.1



If someone get in trubble with the recent sendmail fix ... maybe all is
working fine except the POP-before-SMTP
and you have something like

sendmail[1063]: ... Cannot open hash database /etc/mail/popip.db:
Permission denied

in /var/log/maillog, or stumble with dbmmanage which cause an error like:

[/~]> dbmmanage /etc/mail/access view
Can't tie /etc/mail/access:  at /usr/bin/dbmmanage line 202.

... then take a look if you updated your Perl Version to 5.6.1, cause
the sendmail uses another type of Database
for the /etc/mail/popip.db than the Perl Script /usr/local/bin/poprelayd
(dbm, ndbm, hash, ...)

If you still have the old binary path change the first line of your
script that updates the popip.db from

#!/usr/bin/perl
#
#  poprelayd - update /etc/mail/popip based on POP logins
#

to

#!/usr/bin/perl5.00503
#
#  poprelayd - update /etc/mail/popip based on POP logins
#

or where ever your old 5.00503 binary live ... and you may also change
the /usr/bin/dbmmanage script accordingly.

Try test it with:

[/~]> poprelayd -a 12.34.56.78
[/~]> dbmmanage /etc/mail/popip.db.db view
12.34.56.78:1046821186

if you get the IP in the popip.db then it might be running fine ...

another way is to change the default perl version back to 5.0 instead 5.6.1
ln -s /usr/bin/perl5.00503 /usr/bin/perl


regards

PS: this hint might also be usefull if you try to compile sendmail 8.12
or install
a new qpopper 4.04 or update imap ...

-- 

¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸

Götz Lohmann  |  D-Mannheim  |  Web-Developer & Sys-Admin
---------------------------------------------------------
He's the fellow that people wonder what he does and why
the company needs him, until he goes on vacation.
¸,ø¤°`°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸_¸,ø¤°`°¤ø,¸_¸,ø¤°°¤ø,¸