websieve.pl System Error

Janos Dohanics web at 3dresearch.com
Fri Jul 18 15:53:32 UTC 2014


Hello List,

I'm trying to make webmail.pl work, and so far, no luck. Here is what I
have:

FreeBSD 9.2-STABLE #0 r264952 amd64
apache22-2.2.27_4
cyrus-imapd24-2.4.17_5
cyrus-sasl-2.1.26_7
cyrus-sasl-saslauthd-2.1.26
perl5-5.16.3_11
websieve-0.63.a_1

Saslauthd is used for authentication.

Sieve/sieveshell seems to be working:

# sieveshell -a mcsmith -u mcsmith localhost
connecting to localhost
Please enter your password: 
> 

When I try to log in to "Local server" using the web interface, I get:

System Error:
User server=yourmailhost

The apache log shows error messages like:

websieve.pl: defined(%hash) is deprecated
at /usr/local/www/apache22/cgi-bin/websieve.pl line 799.

websieve.pl: \t(Maybe you should just omit the defined()?)

websieve.pl: Name "main::serverdisplay" used only once: possible typo
at /usr/local/www/apache22/cgi-bin/websieve.pl line 622.

Admin.pm: Use of uninitialized value in subroutine entry
at /usr/local/lib/perl5/site_perl/5.16/mach/Cyrus/IMAP/Admin.pm line
109.

Admin.pm: \t(in cleanup) client is not of type Cyrus::IMAP
at /usr/local/lib/perl5/site_perl/5.16/mach/Cyrus/IMAP/Admin.pm line
109.

This last one "client is not of type Cyrus::IMAP" looks a bit
worrying...

However, I can find no trace of the failed login attempt in the log
files.

/usr/local/etc/websieve/websieve.conf:

$imapserver='mail.myserver.com';
$sieveport='4190';
$imapport='143';
$maildomain='myserver.com' ;
$mailhostappend="mail.$maildomain";

%server_hosts=(
"yourmailhost"=>['Local
Server','143','4190','myserver.com','mail.myserver.com'],
);

Would you please advise?

-- 
Janos Dohanics


More information about the freebsd-ports mailing list