Hi, Before consulting the question, let me talk about my needs first.
I am now in the E-MailRelay and a transparent mode of the gateway products installed together, and then from the local mail client (such as: outlook / foxmail) to send mail (such as 163.com to other mail server, non-self-built non-network Mail server) out, send mail through E-MailRelay ,I want the mail to send out normally, E-MailRelay order should be how to write?I have tried many times and always have certification problems. I follow the steps below to install the compiled E-MailRelay: ./configure --with-openssl --enable-debug
make
make installBut I use the emailrelay command when prompted the following error: # emailrelay --as-proxy smtp.163.com:25 --port=10025 -r --syslog --client-auth /usr/local/etc/emailrelay.auth --log --close-stderr --client-tls
emailrelay: error: cannot do tls/ssl: openssl not built in: remove tls options from the command-line or rebuild the emailrelay executable with openssl
emailrelay: exception: cannot do tls/ssl: openssl not built in: remove tls options from the command-line or rebuild the emailrelay executable with openssl
(1) emailrelay --as-proxy smtp.synitalent.com:25 --port=10025 -r --syslog --client-auth /usr/local/etc/emailrelay.auth --log --close-stderrerror maillog:May 13 09:47:35 localhost emailrelay[10522]: emailrelay: info: smtp connection from 192.168.9.149:48575
May 13 09:47:35 localhost emailrelay[10522]: emailrelay: info: smtp connection closed: smtp protocol done: 192.168.9.149:48575
May 13 09:47:35 localhost emailrelay[10522]: emailrelay: warning: cannot do tls/ssl required by remote smtp server: authentication will probably fail: try enabling client-tls
May 13 09:47:35 localhost emailrelay[10522]: emailrelay: warning: invalid challenge
May 13 09:47:35 localhost emailrelay[10522]: emailrelay: warning: exception: authentication error: for "tao...@sy..." using LOGIN
May 13 09:47:35 localhost emailrelay[10522]: emailrelay: error: polling: authentication error: for "tao...@sy..." using LOGIN
May 13 09:47:35 localhost emailrelay[10522]: emailrelay: info: failing file: "emailrelay.10522.640038.2.envelope.busy" -> "emailrelay.10522.640038.2.envelope.bad"
AUTH file I tried a lot of ways, the final certification failure, I do not know whether the format or with the TLS/SSL? What is the solution to my problem?
Best wishes! Looking forward to your relay...
thanks,taojuan
|