On Thu, Aug 27, 2015 at 10:00:52AM +0800, Alan Cheng wrote: > Hello, >
Hello, Sorry for the delay, still catching up on mails from this summer ;-) > My OpenSMTPD is having problems sending out emails. It gets a error message > saying somthing like "received invalid command: "RCPT > TO:<[email protected]>".Turned on debugging but still no clue. > Anyone has any pointers? thanks! > Yes: > Here is related log: > > root@cactus:/usr/local/etc# tail -f /var/log/mail.log > > Aug 27 01:51:30 cactus smtpd[12220]: debug: smtp: new client on listener: > 0x953f50 > Aug 27 01:51:30 cactus smtpd[12220]: smtp-in: session e228d1ddb97126ff: > connection from host 54.209.64.223.static.js.chinamobile [223.64.209.54] > established > Aug 27 01:51:31 cactus dovecot: imap(acheng): Connection closed in=23 out=501 > Aug 27 01:51:31 cactus smtpd[12220]: debug: session_start_ssl: switching to > SSL > Aug 27 01:51:31 cactus smtpd[12220]: debug: pony: rsae_priv_enc > Aug 27 01:51:31 cactus smtpd[12220]: smtp-in: session e228d1ddb97126ff: TLS > started version=TLSv1/SSLv3 (TLSv1.2), cipher=ECDHE-RSA-AES128-GCM-SHA256, > bits=128 > Aug 27 01:51:31 cactus smtpd[12220]: smtp-in: session e228d1ddb97126ff: > received invalid command: "RCPT TO:<[email protected]>" > client connected to 223.64.209.54 > And here is my smtpd.conf: > pki cactus.keda.io certificate "/etc/ssl/private/cactus.keda.io.crt" > pki cactus.keda.io key "/etc/ssl/private/cactus.keda.io.key" > listen on localhost > listen on eth0 tls pki cactus.keda.io auth-optional > table aliases file:/usr/local/etc/mail/aliases > table secrets file:/usr/local/etc/mail/secrets > accept for local alias <aliases> deliver to maildir > "/var/mail/%{user.username}/" ^^^--- doesn't match this rule (not a local connection) > accept from any for domain keda.io alias <aliases> deliver to maildir > "/var/mail/%{user.username}/" ^^^--- doesn't match this rule (not matching domain) > accept for any relay ^^^--- doesn't match this rule (not a local connection) -- Gilles Chehade https://www.poolp.org @poolpOrg -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
