Hello,

I run Courier on a SuSE 8.1 testing box and a Debian woody production box.  Recently I 
tried the upgrade to 3.0.2 on the SuSE box and it worked like a champ.  It should be 
noted that I use relay-ctrl for selective relaying.  qmail is my MTA.  

Here are my configure options:

./configure --prefix=/usr/local/courier-3.0.2 \
--without-authpwd \
--without-authshadow \
--with-authpam \
--without-authuserdb \
--without-authcram \
--without-authvchkpw \
--without-authldap \
--with-authmysql \
--without-authpgsql \
--with-authdaemon \
--without-authcustom \
--without-ipv6 \
--with-ssl \
--with-mysql-libs=/usr/local/mysql/lib/mysql \
--with-mysql-includes=/usr/local/mysql/include/mysql

My courier run script is the default with an additional:

/usr/local/bin/envdir /etc/relay-ctrl /usr/local/bin/relay-ctrl-chdir \

added before the line:

/usr/local/courier-3.0.2/libexec/couriertcpd -address=$ADDRESS \

In etc/imapd I also have the following for AUTHMODULES:

AUTHMODULES="authdaemon authvmailmgr relay-ctrl-allow"

a symlink is in libexec/authlib for relay-ctrl-allow.

Other than that, this is pretty much a vanilla install of courier.

On the SuSE box, this works great, selective relaying works fine, no problems.

Now the Debian box.  Same exact installation/configure options.  I had to install fam, 
libfam and libfam-devel for the new fam reqts.  fam is run fron inetd instead of as a 
daemon like on the SuSE box, otherwise I cannot think of any real differences between 
the two.

The behavior on the Debian box is best described as bizarre.  I can connect to the 
IMAP server and run basic IMAP commands using mconnect from the outside world and from 
squirrelmail with the web server and courier on the same box, but using an email 
client like Sylpheed (claws 0.9.10), I can retrieve, view and delete messages, but 
when I attempt to send I get bizarre errors such as: "Bad SMTP Response" or "Cannot 
get envelope headers".  Sylpheed's log window shows this during retrieval:

[07:08:26] IMAP4> 48 UID FETCH 8805:8806 (UID FLAGS RFC822.SIZE 
BODY.PEEK[HEADER.FIELDS (Date From To Cc Newsgroups Subject Message-Id References 
In-Reply-To Content-Type Seen Status X-Status)])
[07:08:26] ** warning: error occurred while getting envelope.
[07:08:40] * message: creating IMAP4 connection to mail.netbits.us:143 ...

and this extremely helpful message during an attempt to send:

[07:11:33] * message: Connecting to SMTP server: mail.netbits.us ...
[07:11:33] ** warning: bad SMTP response
[07:11:33] ** warning: Error occurred while sending the message.

I would believe this to be sylpheed's fault, but if I revert back to 2.2.1 all is well 
and good.  If memory serves, I believe I removed the relay-ctrl additions and received 
the same behavior.

Any ideas?  Anything I can do to provide more detailed debugging information?

Thanks,

Josh



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to