> -----Original Message-----
> From: Dan Serban [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 21, 2001 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: OK One problem at a time
>
>
> I've been struggling with this for over a week, I don't
> understand why it's
> not working, but nothing my machine does seems to be the norm.  At this
> point I cannot relay messages out.  I use courier IMAP and vpopmail and of
> course qmail.  From what I gather, when a user authenticates through IMAP,
> vpopmail should lock ~vpopmail/etc/open.smtp and add the login
> users' IP to
> the environment and opens relaying for the specific user.  This does not
> seem to work correctly, it errors out with the basic (that host
> isn't in my
> relay hosts file) message.  It seems that vpopmail isn't doing what it was
> touted to do.  I've used the --enable-roaming-users=y configure option and
> have changed the imapd config file in /usr/lib/courier-imap/etc/ the
> AUTHMODULES="authdaemon" and the authdaemonrc file has
> authmodulelist="authvchkpw authshadow authpwd".  I can
> authenticate through
> courier-imap no problem, I can't send any mail through the virtual domain
> ...  I have tried setting the SMTP server to the main domain name
> that qmail
> reflects through most of its /var/qmail/control/ files such as
> defaultdomain
> etc.  Is there something I should pay close attention to in the
> /var/qmail/control/ directory?  locals, virtualdomains etc..?
> _please_ help
> me I'm almost ready to call uncle on this.
>
> Dan
>

Thats why you should use mySQL :)

tcpserver (after tcpserver-mysql patch) will automatically check to see if
the IP address is the in RELAY table and if it is, it will send the email.
Every successful pop3 login, will update the RELAY table in mysql.  I
wouldnt do it any other way.

I never had any luck wit the open.smtp file either.. thats why I changed.
It's also very simple to migrate a CDB database of users over to mysql.  You
would just have to reconfigure vpopmail with mysql support.  If this is not
a production server, it's even a stronger reason to switch.

Just my opinion.

Dallas

Reply via email to