On Tuesday 04 January 2011 12:11:53 you wrote:
On Tue, 2011-01-04 at 13:03 +0200, Timo Sirainen wrote:
On Tue, 2011-01-04 at 11:59 +0100, komodo wrote:
[root@OVZ.mail ~]# /usr/sbin/sendmail -i -f '<>' -- komodo@domain.com 517 Syntax error.
What is your /usr/sbin/sendmail? It shouldn't be behaving like this. You could try if /usr/lib/sendmail works better. If it does, set:
sendmail_path = /usr/lib/sendmail
Right, looks like Courier's sendmail doesn't like the -i parameter. Its purpose is to not stop when there's a line with only "." in it. So if the -i parameter is removed and a rejected/vacation message body has a line with only ".", the mail is truncated. So I don't think I want to remove that parameter either.
You could of course create a sendmail.sh wrapper that removes the -i parameter. Or use sendmail binary from something else than Courier.
Yes i'm using sendmail from Courier. When i changed sendmail_path to original sednmail binary it's working and vacation is sent, but i can see some errors from sendmail.
Jan 4 12:14:36 OVZ sendmail[15576]: p04BEabd015576: Authentication-Warning: OVZ.mail: komodo set sender to <> using -f Jan 4 12:14:36 OVZ sendmail[15576]: p04BEabd015576: from=<>, size=478, class=-60, nrcpts=1, msgid=<dovecot-sieve-1294139676-404210-0>, relay=komodo@localhost Jan 4 12:14:36 OVZ courieresmtpd: started,ip=[::ffff:127.0.0.1] Jan 4 12:14:36 OVZ sendmail[15576]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=AES256-SHA, bits=256/256
I am not so familiar with sendmail, is there any way to set up something to resolve these errors ?