Re: sieve - redirect - delay

2001-01-15 Thread Simon Loader


 the problem is. If i write a mail to flo[rian]@proescholdt.de
 it is delivered to his mailbox on the server, but the
 redirection from cyrus to [EMAIL PROTECTED]
 stays in the queue for nearly half an hour before it is sent
 out.
 The same mail sent to [EMAIL PROTECTED] gehts
 out at once. The server does not have any relevant load.
 
 /var/log/mail says
 
 Jan 14 18:38:46 raidserver sendmail[12713]: f0EHC0v12711:
 [EMAIL PROTECTED], ctladdr=cyrus (52/12),
 delay=00:26:46, xdelay=00:26:46, mailer=smtp, pri=30812,
 relay=fmrlallmx.t-online.com. [194.25.134.92], dsn=2.0.0, stat=Sent
 (Message accepted.)
 
 is this a failure or a feature? (bouncing mail)
 And if true is it possible to switch it off?
 I could not find anything about a kind of delay feature in
 the sieve internet draft.
 

I would suggest it has something to do with hotmail who
run a strange MTA. I have had hotmail messages in the queue for days
before they actully get sent. You might want to try telneting
to each hotmail mx record by hand to see if they are all up???

-- 
Simon

( hotmail has many mx records all with the same number I presume
 sendmail will only try one and back off )



sieve - redirect - delay

2001-01-14 Thread Timo Proescholdt

Hello out there,


after solving my lmtp problem with your help i discovered
another problem.
I use the following sieve script to redirect messages to my
brother who is on an exchange in the United Staates for a year.
The mail should get forwarded to his hotmail account but we
want to keep a copy of every mail so that he has the same
mailbox when he comes back.

-- sieve.script of user flo on mailserver

if address :contains :all ["to" , "cc" , "bcc"]
 "[EMAIL PROTECTED]" {
 redirect "[EMAIL PROTECTED]";
 keep;}

 elsif address :contains :all ["to", "cc", "bcc"]
 "[EMAIL PROTECTED]" { redirect
 "[EMAIL PROTECTED]";
 keep;}
--

the problem is. If i write a mail to flo[rian]@proescholdt.de
it is delivered to his mailbox on the server, but the
redirection from cyrus to [EMAIL PROTECTED]
stays in the queue for nearly half an hour before it is sent
out.
The same mail sent to [EMAIL PROTECTED] gehts
out at once. The server does not have any relevant load.

/var/log/mail says

Jan 14 18:38:46 raidserver sendmail[12713]: f0EHC0v12711: 
[EMAIL PROTECTED], ctladdr=cyrus (52/12),
delay=00:26:46, xdelay=00:26:46, mailer=smtp, pri=30812, 
relay=fmrlallmx.t-online.com. [194.25.134.92], dsn=2.0.0, stat=Sent 
(Message accepted.)

is this a failure or a feature? (bouncing mail)
And if true is it possible to switch it off?
I could not find anything about a kind of delay feature in
the sieve internet draft.

im running cyrus 2.07 on linux 2.2.14

greetings
timo




Re: sieve - redirect - delay

2001-01-14 Thread Ken Murchison



Timo Proescholdt wrote:
 
 Hello out there,
 
 after solving my lmtp problem with your help i discovered
 another problem.
 I use the following sieve script to redirect messages to my
 brother who is on an exchange in the United Staates for a year.
 The mail should get forwarded to his hotmail account but we
 want to keep a copy of every mail so that he has the same
 mailbox when he comes back.
 
 -- sieve.script of user flo on mailserver
 
 if address :contains :all ["to" , "cc" , "bcc"]
  "[EMAIL PROTECTED]" {
  redirect "[EMAIL PROTECTED]";
  keep;}
 
  elsif address :contains :all ["to", "cc", "bcc"]
  "[EMAIL PROTECTED]" { redirect
  "[EMAIL PROTECTED]";
  keep;}

FYI, you could shorten this up and write is as:

if address ["to" , "cc" , "bcc"]
["@proescholdt.de", "[EMAIL PROTECTED]"] {
redirect "[EMAIL PROTECTED]";
keep;
}

You could go even one step further by using :regex for combining your
brothers addresses.

 the problem is. If i write a mail to flo[rian]@proescholdt.de
 it is delivered to his mailbox on the server, but the
 redirection from cyrus to [EMAIL PROTECTED]
 stays in the queue for nearly half an hour before it is sent
 out.
 The same mail sent to [EMAIL PROTECTED] gehts
 out at once. The server does not have any relevant load.
 
 /var/log/mail says
 
 Jan 14 18:38:46 raidserver sendmail[12713]: f0EHC0v12711:
 [EMAIL PROTECTED], ctladdr=cyrus (52/12),
 delay=00:26:46, xdelay=00:26:46, mailer=smtp, pri=30812,
 relay=fmrlallmx.t-online.com. [194.25.134.92], dsn=2.0.0, stat=Sent
 (Message accepted.)
 
 is this a failure or a feature? (bouncing mail)
 And if true is it possible to switch it off?
 I could not find anything about a kind of delay feature in
 the sieve internet draft.

I don't believe this has anything to do with cyrus/sieve, at least not
by design.  I've had a similar script used here and there is no delay. 
I'd look into your sendmail setup.

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