RE : Vacation problem
Here's the problem: $ telnet mail.intellinetinc.com smtp Trying 139.142.54.37... Connected to h139-142-54-37.gtcust.grouptelecom.net. Escape character is '^]'. 220 intellinetinc.com ESMTP Sendmail 8.12.4/8.12.4; Thu, 23 Jan 2003 01:28:23 -0700 (MST) ehlo joe 250-intellinetinc.com Hello franconia.calvaedi.com [213.39.1.226], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP mail from: 550 5.7.1 ... Command rejected That's bad. See rfc1123, section 5.2.9, or http://www.rfc-ignorant.org/policy-dsn.php Not a cyrus bug, a sendmail configuration bug.
Re: Vacation problem
[EMAIL PROTECTED] wrote: I'm wondering why cyrus setting sender to , not to [EMAIL PROTECTED], or even postmaster as I made configuration in my imapd.conf? May be I missed something? You don't want an auto-generated message generating a bounce message, since that could lead to an infinite loop. Thus, just like mailer-daemon messages in the MTA, a vacation message should have the envelope from set to . -- John A. Tamplin Unix System Administrator Emory University, School of Public Health +1 404/727-9931
Re: Vacation problem
Quoting John Alton Tamplin [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: I'm wondering why cyrus setting sender to , not to [EMAIL PROTECTED], or even postmaster as I made configuration in my imapd.conf? May be I missed something? You don't want an auto-generated message generating a bounce message, since that could lead to an infinite loop. Thus, just like mailer-daemon messages in the MTA, a vacation message should have the envelope from set to . So what is you suggestion? How do I fix this problem? Why the mail server doesn't accept the message if the envelope from set right?
Re: Vacation problem
[EMAIL PROTECTED] wrote: So what is you suggestion? How do I fix this problem? Why the mail server doesn't accept the message if the envelope from set right? It is hard to tell from the logs since you are using 4 different email addresses, but it looks like sieve tried to send mail from (which sendmail accepted, but gave an authentication warning since cyrus isn't listed as a trusted user in your sendmail.cf file) to [EMAIL PROTECTED] That gets sent, apparently to the same MTA, which then has a problem talking to the relay mail.montana-education.ab.ca. It then tries to send it to [EMAIL PROTECTED] (presumably an alias from postmaster), and again has a problem talking to mail.intellinetinc.com and panics since it has nowhere to send the bounce message. So, it looks like Cyrus is fine but your MTA is misconfigured. -- John A. Tamplin Unix System Administrator Emory University, School of Public Health +1 404/727-9931
Re: Vacation problem
Quoting John Alton Tamplin [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: So what is you suggestion? How do I fix this problem? Why the mail server doesn't accept the message if the envelope from set right? It is hard to tell from the logs since you are using 4 different email addresses, but it looks like sieve tried to send mail from (which sendmail accepted, but gave an authentication warning since cyrus isn't listed as a trusted user in your sendmail.cf file) to [EMAIL PROTECTED] That gets sent, apparently to the same MTA, which then has a problem talking to the relay mail.montana-education.ab.ca. It then tries to send it to [EMAIL PROTECTED] (presumably an alias from postmaster), and again has a problem talking to mail.intellinetinc.com and panics since it has nowhere to send the bounce message. So, it looks like Cyrus is fine but your MTA is misconfigured. I did some code change in lmtpd.c in function send_response (line 872): I changed smbuf[3] = ; to smbuf[3] = [EMAIL PROTECTED]; And it worked fine. Assuming that, I think the problem is in MTA (Sendmail in my case) configuration. BUT I didn't configured my sendmail to refuse empty Return-Path: I suspect Sendmail is configured to do that by default. And I'm sure there are thousands MTAs doing the same thing (let's say to reject spam messages using empty Return-Path) I'm not sure whose problem is that, cyrus or MTA but by defaulf installation (and wothout some code change in lmtpd.c) it simply does'n work! Dmitry