Reply To: User-Agent: Unison/1.7.6 Qmail,vpopmail,tmda-1.1.7 are running on gentoo.
My mail client is Mac OS X 10.4.7 Mail. I tried to adjust the scripts in the contrib directory but I've clearly missed something. I have a file called run it contains #!/bin/bash # Startup script for tmda-ofmipd daemon # exec /usr/bin/tcpserver -v -P -R -x /etc/tcprules.d/tcp.tmda-ofmipd.cdb \ -c 40 -u 89 -g 89 \ mail.ercolano.net 8026 \ /etc/tmda/stunnel/stunnel-wrapper My stunnel wrapper has: #!/bin/sh exec /usr/sbin/stunnel /etc/tmda/stunnel/stunnel.conf 2>/var/log/tmda-ofmipd-starttls-stunnel-wrapper My stunnel.conf contains: exec = /etc/tmda/stunnel/tmda-ofmipd-wrapper execargs = /etc/tmda/stunnel/tmda-ofmipd-wrapper cert = /etc/tmda/stunnel/stunnel.pem client = no foreground = yes protocol = smtp debug = 7 My tmda-ofmipd-wrapper contains: #!/bin/sh exec /usr/src/tmda/tmda-1.1.7/bin/tmda-ofmipd -f -1 -d -R imaps://mail.ercolano.net \ -S /usr/src/tmda/tmda-1.1.7/contrib/vpopmail-vdir.sh \ 2>&1 The Mac Mail app smtp server setting is set up to use an SSL connection to port 8026. When I try to send a test mail message I get the following debugs: mail stunnel # cat /var/log/tmda-ofmipd-starttls-stunnel-wrapper 2006.10.10 04:48:03 LOG5[17137:3083996048]: stunnel 4.09 on i686-pc-linux-gnu PTHREAD+POLL+IPv6+LIBWRAP with OpenSSL 0.9.8d 28 Sep 2006 2006.10.10 04:48:03 LOG7[17137:3083996048]: RAND_status claims sufficient entropy for the PRNG 2006.10.10 04:48:03 LOG6[17137:3083996048]: PRNG seeded successfully 2006.10.10 04:48:03 LOG7[17137:3083996048]: Certificate: /etc/tmda/stunnel/stunnel.pem 2006.10.10 04:48:03 LOG7[17137:3083996048]: Key file: /etc/tmda/stunnel/stunnel.pem 2006.10.10 04:48:03 LOG7[17137:3083996048]: stunnel started 2006.10.10 04:48:03 LOG5[17137:3083996048]: stunnel connected from 209.181.88.214:24479 2006.10.10 04:48:03 LOG6[17137:3083996048]: Local mode child started (PID=17138) 2006.10.10 04:48:03 LOG7[17137:3083996048]: Remote FD=5 initialized 2006.10.10 04:48:03 LOG5[17137:3083996048]: Negotiations for smtp (server side) started 2006.10.10 04:48:03 LOG7[17137:3083996048]: RFC 2487 detected 2006.10.10 04:48:03 LOG7[17137:3083996048]: <- auth method: imaps://mail.ercolano.net:993/ 2006.10.10 04:48:03 LOG3[17137:3083996048]: Unknown server welcome 2006.10.10 04:48:03 LOG5[17137:3083996048]: Protocol negotiation failed 2006.10.10 04:48:03 LOG3[17137:3083996048]: Protocol negotiations failed 2006.10.10 04:48:03 LOG7[17137:3083996048]: stunnel finished (0 left) Any thoughts as to what I'm doing wrong here? By the fact that it knows about the imaps authentication it would appear to at least be trying to start tmda-ofmipd. I can successfully use tcpserver to invoke tmda-ofmipd "directly" in single session mode with no stunnel (and the Mac Mail app not using SSL and the mail app going directly to port 8025.) _____________________________________________ tmda-users mailing list (tmda-users@tmda.net) http://tmda.net/lists/listinfo/tmda-users