Toaster won't relay ?

Started by Jim_Keller, May 18, 2004, 07:38:15 PM

Previous topic - Next topic

Jim_Keller

Hello,
 I have my mail toaster almost working, but with IMAP and POP3, the relay clients are not updated when mail is received. Webmail (originating from localhost) works fine, but any outside IPs are not added to the relay table, and ~vpopmail/etc/tcp.rules.cdb does not change size. Any suggestions? Thanks.

Jim_Keller

Some more info:

toaster version: 3.41
FreeBSD: 4.9

ps wwaux | grep courier:

root     48585  0.0  0.2  1432 1000  ??  I    10:46PM   0:00.00 /usr/local/libexec/courier-imap/authlib/authdaemond.plain start
root     48587  0.0  0.2  1496 1120  ??  I    10:46PM   0:00.01 /usr/local/libexec/courier-imap/authlib/authdaemond.plain start
root     48588  0.0  0.2  1496 1120  ??  I    10:46PM   0:00.01 /usr/local/libexec/courier-imap/authlib/authdaemond.plain start
root     48589  0.0  0.2  1496 1120  ??  I    10:46PM   0:00.01 /usr/local/libexec/courier-imap/authlib/authdaemond.plain start
root     48590  0.0  0.2  1496 1120  ??  I    10:46PM   0:00.01 /usr/local/libexec/courier-imap/authlib/authdaemond.plain start
root     48591  0.0  0.2  1496 1120  ??  I    10:46PM   0:00.01 /usr/local/libexec/courier-imap/authlib/authdaemond.plain start
root     48594  0.0  0.1   936  652  ??  I    10:46PM   0:00.00 /usr/local/libexec/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/local/sbin/courierlogger -stderrloggername=pop3d -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup 110 /usr/local/sbin/pop3login /usr/local/libexec/courier-imap/authlib/authdaemon /usr/local/bin/pop3d Maildir
root     48596  0.0  0.1   892  516  ??  I    10:46PM   0:00.00 /usr/local/sbin/courierlogger pop3d
root     48611  0.0  0.1   936  652  ??  I    10:47PM   0:00.00 /usr/local/libexec/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/local/sbin/courierlogger -stderrloggername=pop3d-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/pop3d-ssl.pid -nodnslookup -noidentlookup 995 /usr/local/bin/couriertls -server -tcpd /usr/local/sbin/pop3login /usr/local/libexec/courier-imap/authlib/authdaemon /usr/local/bin/pop3d Maildir
root     48613  0.0  0.1   888  476  ??  I    10:47PM   0:00.00 /usr/local/sbin/courierlogger pop3d-ssl
root     48623  0.0  0.1   936  652  ??  I    10:47PM   0:00.01 /usr/local/libexec/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/local/sbin/courierlogger -stderrloggername=imapd -maxprocs=40 -maxperip=4 -pid=/var/run/imapd.pid -nodnslookup -noidentlookup 143 /usr/local/sbin/imaplogin /usr/local/libexec/courier-imap/authlib/authdaemon /usr/local/bin/imapd Maildir
root     48625  0.0  0.1   892  516  ??  I    10:47PM   0:00.00 /usr/local/sbin/courierlogger imapd
root     48635  0.0  0.1   936  652  ??  I    10:47PM   0:00.01 /usr/local/libexec/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/local/sbin/courierlogger -stderrloggername=imapd-ssl -maxprocs=40 -maxperip=4 -pid=/var/run/imapd-ssl.pid -nodnslookup -noidentlookup 993 /usr/local/bin/couriertls -server -tcpd /usr/local/sbin/imaplogin /usr/local/libexec/courier-imap/authlib/authdaemon /usr/local/bin/imapd Maildir
root     48637  0.0  0.1   892  516  ??  I    10:47PM   0:00.01 /usr/local/sbin/courierlogger imapd-ssl
vpopmail 48664  0.0  0.2  1316  900  p0  I    10:47PM   0:00.00 tcpserver -S -H -R -c10 -x /home/vpopmail/etc/tcp.smtp.cdb -u 89 -g 89 0 smtps rblsmtpd -c -r sbl-xbl.spamhaus.org /usr/local/bin/couriertls -server -tcpd qmail-smtpd /home/vpopmail/bin/vchkpw /usr/bin/true

(vpopmail is installed to /home/vpopmail)

matt

It appears that you built courier yourself, and not The Toaster Way. That's why it doesn't work correctly.

Jim_Keller

>It appears that you built courier yourself, and not The Toaster Way. That's why it doesn't work correctly.

I built courier myself because with the version of the Toaster I had (3.38), the toaster couldn't download the courier .bz2 file. I upgraded to 3.41, which downloaded the file ok, but still showed the same problem. I'm using the pop-before-smtp script in its place for the time being, and it's working fine (I love that script Smile. I didn't re-run the entire toaster_setup though, just courier, vpopmail and qmail with 3.41. Is there something else that needs to be done? Thanks for the response Matt, it's greatly appreciated.

matt

Courier doesn't pass along the IP info when you authentication using courier's authdaemon. Disable that and then it should work for you.