2 messages in net.sourceforge.lists.courier-users[courier-users] Couriersmtpd: from=<#...
FromSent OnAttachments
Sander Holthaus - Orange XLJan 26, 2005 5:33 pm 
Sam VarshavchikJan 27, 2005 7:39 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Couriersmtpd: from=<#@[]>: 517 Syntax errorActions...
From:Sander Holthaus - Orange XL (in@orangexl.com)
Date:Jan 26, 2005 5:33:39 pm
List:net.sourceforge.lists.courier-users

The following log-entry caught my attention:

Jan 26 03:45:11 ********* courieresmtpd: started,ip=[***.***.**.***] Jan 26 03:45:18 ********* courieresmtpd: error,relay=***.***.**.***,msg="540 TLS not available.",cmd: STARTTLS Jan 26 03:45:26 ********* courieresmtpd: error,relay=***.***.**.***,from=<#@[]>: 517 Syntax error.

Somebody tries to connect over SMTP, issues a STARTTLS to which I reply TLS not available. But what's up with that last line?

Kind Regards, Sander Holthaus

PS: I found this related, unanswered, message in the mail-archives:

Hi,

I have two courier servers, both running 0.45.4, both accepting mail for their respective domains but the postmaster account on "ice" is forwarded to an account on "cipher". When a DSN on "ice" cannot be delivered it gets bounced back to postmaster as it should, but "cipher" will not accept the message, given the logs below:

May 9 12:16:57 ice courierd:

started,id=0007B117.4094C6BF.000049DA,from=<>,module=dsn,host=,addr=<postmas

ter>

May 9 12:16:57 ice courierd: Waiting. shutdown time=none, wakeup time=Sun May 9 12:17:53 2004, queuedelivering=12, inprogress=1 May 9 12:16:57 ice courierd: newmsg,id=00115E73.409E0519.000073CA: dns; localhost (localhost [127.0.0.1]) May 9 12:16:57 ice courierd:

started,id=00115E73.409E0519.000073CA,from=<#@[]>,module=esmtp,host=cipher.x

nk.nu,addr=<wj@cipher.xnk.nu>

May 9 12:16:57 ice courierd: Waiting. shutdown time=none, wakeup time=Sun May 9 12:17:53 2004, queuedelivering=13, inprogress=2 May 9 12:16:57 ice courierd: completed,id=0007B117.4094C6BF.000049DA

May 9 12:16:57 ice courierd: Waiting. shutdown time=none, wakeup time=Sun May 9 12:17:53 2004, queuedelivering=12, inprogress=1 May 9 12:16:57 ice courieresmtp:

id=00115E73.409E0519.000073CA,from=<#@[]>,addr=<wj@cipher.xnk.nu>: 517 Syntax error.

May 9 12:16:57 ice courieresmtp:

id=00115E73.409E0519.000073CA,from=<#@[]>,addr=<wj@cipher.xnk.nu>,status:

failure

May 9 12:16:57 ice courierd: completed,id=00115E73.409E0519.000073CA

May 9 12:16:57 cipher courieresmtpd: started,ip=[::ffff:xxx.xxx.xxx.xxx]

May 9 12:16:57 cipher courieresmtpd:

error,relay=::ffff:xxx.xxx.xxx.xxx,from=<#@[]>: 517 Syntax error.

In /etc/courier/aliases/system I have the line "postmaster:

wj@cipher.xnk.nu" specifying the forwarding, and it works for root mail (forwarded to postmaster), for instance logwatch emails, without any problems - it's just the DSNs that acts up...

I'm curious why the #@[] characters gets added by the forwarding courier server, isn't it still supposed to be an empty FROM address on a DSN message even though it's being redirected? Can this behaviour be set anywhere?

Regards,

Werner