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
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
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: > > >I'm wondering why cyrus setting sender to <>, not to <[EMAIL PROTECTED]>, > or > >even 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: I'm wondering why cyrus setting sender to <>, not to <[EMAIL PROTECTED]>, or even 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 with sieve ... newest stable ...
"Marc G. Fournier" wrote: > > Just had one of my colleagues set her vacation, but it doesn't appear to > be working ... > > default contains: > > -- > > # Mail rules for user tammy > # Created by Websieve version 0.48 > require ["fileinto","vacation"]; > > vacation :days 7 :addresses ["[EMAIL PROTECTED]", "[EMAIL PROTECTED]", >"[EMAIL PROTECTED]"] "I will be away from the office until Monday, July 30. >For assistance, please contact Mark We > stlake at ext. 1439 or email [EMAIL PROTECTED] > "; > > -- > > when I send her an email, she gets the message, but I don't get the > vacation message ... maillog has a message of: > > Jul 13 16:03:55 new-relay sendmail[81144]: f6DJ3tc81144: from=<[EMAIL PROTECTED]>, >size=926, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, >proto=ESMTP, daemon=MTA, relay=relay.acadiau.ca [131.162.2.90] > Jul 13 16:03:55 new-relay sendmail[81146]: f6DJ3tc81144: >to=<[EMAIL PROTECTED]>, delay=00:00:00, xdelay=00:00:00, mailer=cyrus, >pri=30926, relay=localhost, dsn=4.3.0, stat=Deferred: 451 deliver: didn't exec?!? > > do I have somethign misconfigured, or is the default file wrong? Check the location of the sendmail binary. It doesn't look like its in the location that lmtpd looks by default (/usr/lib/sendmail). Use the 'sendmail' option in imapd.conf to specify where its path. Ken -- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key--http://www.oceana.com/~ken/ksm.pgp