Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2014 11:53:07 -0400
From:      Janos Dohanics <web@3dresearch.com>
To:        freebsd-ports@freebsd.org
Subject:   websieve.pl System Error
Message-ID:  <20140718115307.3d4630359306ff4b63529e37@3dresearch.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140718115307.3d4630359306ff4b63529e37>