Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-09 Thread Rob Siemborski
On Sun, 9 Nov 2003, Andrzej Filip wrote: > >>It will make remote host sending message to sendmail & cyrus pair responsible > >>for generating the bounce message (in format beyond our control). > > > > Right -- this doesn't satisfy the definition or reject. > > But it satisfy definition of usefulln

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-09 Thread Andrzej Filip
Rob Siemborski wrote: On Fri, 7 Nov 2003, Andrzej Filip wrote: In any case, it is unclear what could usefully be done with this, as reject guarantees that an MDN will be sent, which SMTP error codes do not do. It will make remote host sending message to sendmail & cyrus pair responsible for genera

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Rob Siemborski
On Fri, 7 Nov 2003, Andrzej Filip wrote: > > In any case, it is unclear what could usefully be done with this, as > > reject guarantees that an MDN will be sent, which SMTP error codes do not > > do. > > It will make remote host sending message to sendmail & cyrus pair responsible > for generating

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Andrzej Filip
Rob Siemborski wrote: On Fri, 7 Nov 2003, Andrzej Filip wrote: Now if I get any message with a RCPT TO of "me+spam" it will be rejected if the first test is ignored, even if it shouldn't be. Let me apply what I suggested to your example: first rule uses data not available at "RCPT TO:" stage => "

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Andrzej Filip
Igor Brezac wrote: On Fri, 7 Nov 2003, Andrzej Filip wrote: Igor Brezac wrote: [...] This would be nice, but as much as sendmail 'abuses' these maps I wonder if busier sites would be able to use such maps. Current sendmail.cf can ask up to 7 virtusertable queries but who said we have to use maps a

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Ken Murchison
Ken Murchison wrote: Rob Siemborski wrote: On Thu, 6 Nov 2003, Andrzej Filip wrote: - What would the map name be? cyrus? Would it ever change? Can people envision different types of maps that this daemon would have to support? "cyrus" seems to be good default name. Let us start with "mai

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Ken Murchison
Rob Siemborski wrote: On Thu, 6 Nov 2003, Andrzej Filip wrote: - What would the map name be? cyrus? Would it ever change? Can people envision different types of maps that this daemon would have to support? "cyrus" seems to be good default name. Let us start with "mailbox presence" checking.

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Igor Brezac
On Fri, 7 Nov 2003, Andrzej Filip wrote: > Igor Brezac wrote: > > On Fri, 7 Nov 2003, Andrzej Filip wrote: > > > > > >>Rob Siemborski wrote: > >> > >>>On Thu, 6 Nov 2003, Andrzej Filip wrote: > >>> > >>> > >- What would the map name be? cyrus? Would it ever change? Can people > >envisi

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Andrzej Filip
Igor Brezac wrote: On Fri, 7 Nov 2003, Andrzej Filip wrote: Rob Siemborski wrote: On Thu, 6 Nov 2003, Andrzej Filip wrote: - What would the map name be? cyrus? Would it ever change? Can people envision different types of maps that this daemon would have to support? "cyrus" seems to be good

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Rob Siemborski
On Fri, 7 Nov 2003, Andrzej Filip wrote: > > Now if I get any message with a RCPT TO of "me+spam" it will be rejected > > if the first test is ignored, even if it shouldn't be. > > Let me apply what I suggested to your example: > first rule uses data not available at "RCPT TO:" stage => "envelope

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Andrzej Filip
Rob Siemborski wrote: On Fri, 7 Nov 2003, Andrzej Filip wrote: Would not it be posiible to interpet only heading sieve rules which reject message based on info available at "RCPT TO:" point ? First "non reject" or "need information not available yet" sieve rule would stop "envelope based" sieve r

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-07 Thread Rob Siemborski
On Fri, 7 Nov 2003, Andrzej Filip wrote: > Would not it be posiible to interpet only heading sieve rules which reject > message based on info available at "RCPT TO:" point ? > First "non reject" or "need information not available yet" sieve rule would > stop "envelope based" sieve rules interpreta

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-06 Thread Igor Brezac
On Fri, 7 Nov 2003, Andrzej Filip wrote: > Rob Siemborski wrote: > > On Thu, 6 Nov 2003, Andrzej Filip wrote: > > > >>>- What would the map name be? cyrus? Would it ever change? Can people > >>>envision different types of maps that this daemon would have to support? > >> > >>"cyrus" seems to be

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-06 Thread Andrzej Filip
Rob Siemborski wrote: On Thu, 6 Nov 2003, Andrzej Filip wrote: - What would the map name be? cyrus? Would it ever change? Can people envision different types of maps that this daemon would have to support? "cyrus" seems to be good default name. Let us start with "mailbox presence" checking. I a

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-06 Thread Rob Siemborski
On Thu, 6 Nov 2003, Andrzej Filip wrote: > > - What would the map name be? cyrus? Would it ever change? Can people > > envision different types of maps that this daemon would have to support? > > "cyrus" seems to be good default name. > Let us start with "mailbox presence" checking. I agree.

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-06 Thread Andrzej Filip
Ken Murchison wrote: Igor Brezac wrote: On Wed, 5 Nov 2003, Andrzej Filip wrote: Igor Brezac wrote: On Wed, 5 Nov 2003, Andrzej Filip wrote: Igor Brezac wrote: On Tue, 4 Nov 2003, Andrzej Filip wrote: [...] I also thought that "virtusertable like" solutions [periodic dump of cyrus mailbo

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Igor Brezac
On Wed, 5 Nov 2003, Rob Siemborski wrote: > On Wed, 5 Nov 2003, Igor Brezac wrote: > > > > > - Is the key always the RCPT TO address, including +detail info, or does > > > Sendmail strip this before doing the map lookup? > > > > You need to process whatever the protocol passes to the server. A >

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Rob Siemborski
On Wed, 5 Nov 2003, Igor Brezac wrote: > > - Is the key always the RCPT TO address, including +detail info, or does > > Sendmail strip this before doing the map lookup? > > You need to process whatever the protocol passes to the server. A > question might be, how is cyrus going to respond when +

RE: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread James Miller
PM To: [EMAIL PROTECTED] Subject: Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection Igor Brezac wrote: > On Wed, 5 Nov 2003, Andrzej Filip wrote: > > >>Igor Brezac wrote: >> >>>On Wed, 5 Nov 2003, Andrze

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Igor Brezac
I am including cyrus-devel to this discussion: > I could probably write this service in a couple hours given its > simplicity, but I have a few of questions: Cool! > - What would the map name be? cyrus? I would make this a param setting. You can default to 'cyrus', but I imagine most people

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Ken Murchison
Igor Brezac wrote: On Wed, 5 Nov 2003, Andrzej Filip wrote: Igor Brezac wrote: On Wed, 5 Nov 2003, Andrzej Filip wrote: Igor Brezac wrote: On Tue, 4 Nov 2003, Andrzej Filip wrote: [...] I also thought that "virtusertable like" solutions [periodic dump of cyrus mailbox data into existing s

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Igor Brezac
On Wed, 5 Nov 2003, Andrzej Filip wrote: > Igor Brezac wrote: > > On Wed, 5 Nov 2003, Andrzej Filip wrote: > > > > > >>Igor Brezac wrote: > >> > >>>On Tue, 4 Nov 2003, Andrzej Filip wrote: > >>>[...] > >>> > I also thought that "virtusertable like" solutions [periodic dump of cyrus > mail

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Igor Brezac
On Wed, 5 Nov 2003, Rob Siemborski wrote: > On Wed, 5 Nov 2003, Ken Murchison wrote: > > > > In my opinion it is better if it does more than just the mbox > > > verification. I'd like to see the quota check as well. I am not sure if > > > the "map protocol" allows for multiple return codes rath

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Andrzej Filip
Igor Brezac wrote: On Wed, 5 Nov 2003, Andrzej Filip wrote: Igor Brezac wrote: On Tue, 4 Nov 2003, Andrzej Filip wrote: [...] I also thought that "virtusertable like" solutions [periodic dump of cyrus mailbox data into existing sendmail databases] are the best but most people had wanted "real ti

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Rob Siemborski
On Wed, 5 Nov 2003, Ken Murchison wrote: > > In my opinion it is better if it does more than just the mbox > > verification. I'd like to see the quota check as well. I am not sure if > > the "map protocol" allows for multiple return codes rather than just > > yes/no type answer. Then there is t

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Ken Murchison
Igor Brezac wrote: On Wed, 5 Nov 2003, Andrzej Filip wrote: Igor Brezac wrote: On Tue, 4 Nov 2003, Andrzej Filip wrote: [...] I also thought that "virtusertable like" solutions [periodic dump of cyrus mailbox data into existing sendmail databases] are the best but most people had wanted "real t

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Igor Brezac
On Wed, 5 Nov 2003, Andrzej Filip wrote: > Igor Brezac wrote: > > On Tue, 4 Nov 2003, Andrzej Filip wrote: > > [...] > >>I also thought that "virtusertable like" solutions [periodic dump of cyrus > >>mailbox data into existing sendmail databases] are the best but most people > >>had wanted "real

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Mike Brodbelt
Gary Mills wrote: > On Wed, Nov 05, 2003 at 01:57:01AM -, Mike Brodbelt wrote: > > Sendmail has a mailer flag, usually associated with the `local' mailer, > but one that could be associated with the `cyrus' mailer. When this > flag is present, sendmail will look up the recipient in a database

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-05 Thread Andrzej Filip
Igor Brezac wrote: On Tue, 4 Nov 2003, Andrzej Filip wrote: [...] I also thought that "virtusertable like" solutions [periodic dump of cyrus mailbox data into existing sendmail databases] are the best but most people had wanted "real time" synchronization. True, this would be a long way of doing th

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread Gary Mills
On Wed, Nov 05, 2003 at 01:57:01AM -, Mike Brodbelt wrote: > > FWIW, my interest in it isn't for authentication, but rather as spam > control. At the moment, we get a lot of junk addressed to bogus users in > our domain. This is accepted by sendmail, which then tries to deliver it > to Cyrus.

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread Mike Brodbelt
> On Tue, Nov 04, 2003 at 06:35:31PM +0100, Andrzej Filip wrote: >> Mike Brodbelt wrote: >> >> There are two alternative approaches I can think of right now: >> 1) custom milter >> [servicing only "RCPT TO:"] >> 2) socket map >> [ available in 8.13 preview >> http://www.sendmail.org/8.13.0.PreAlpha

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread Igor Brezac
On Tue, 4 Nov 2003, Andrzej Filip wrote: > Igor Brezac wrote: > > On Tue, 4 Nov 2003, Andrzej Filip wrote: > >>Mike Brodbelt wrote: > >>>A Clockwork Orange wrote: > sendmail-8.12.6+cyrus-imapd-2.0.17 > > I'd like sendmail to check presence of the cyrus mailbox during > establishi

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread Andrzej Filip
Igor Brezac wrote: On Tue, 4 Nov 2003, Andrzej Filip wrote: Mike Brodbelt wrote: A Clockwork Orange wrote: sendmail-8.12.6+cyrus-imapd-2.0.17 I'd like sendmail to check presence of the cyrus mailbox during establishing SMTP connection. If the cyrus mailbox doesn't present sendmail drops SMTP conne

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread Gary Mills
On Tue, Nov 04, 2003 at 06:35:31PM +0100, Andrzej Filip wrote: > Mike Brodbelt wrote: > > > >If there are any better ways to achieve the same end, I'd also be > >interested. > > There are two alternative approaches I can think of right now: > 1) custom milter > [servicing only "RCPT TO:"] > 2) soc

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread Igor Brezac
On Tue, 4 Nov 2003, Andrzej Filip wrote: > Mike Brodbelt wrote: > > A Clockwork Orange wrote: > > > >>sendmail-8.12.6+cyrus-imapd-2.0.17 > >> > >>I'd like sendmail to check presence of the cyrus mailbox during > >>establishing SMTP connection. > >>If the cyrus mailbox doesn't present sendmail dro

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread Andrzej Filip
Mike Brodbelt wrote: A Clockwork Orange wrote: sendmail-8.12.6+cyrus-imapd-2.0.17 I'd like sendmail to check presence of the cyrus mailbox during establishing SMTP connection. If the cyrus mailbox doesn't present sendmail drops SMTP connection (doesn't recieve email). What have i to write in send

Re: sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread Mike Brodbelt
A Clockwork Orange wrote: > Hello, > > sendmail-8.12.6+cyrus-imapd-2.0.17 > > I'd like sendmail to check presence of the cyrus mailbox during > establishing SMTP connection. > If the cyrus mailbox doesn't present sendmail drops SMTP connection > (doesn't recieve email). > What have i to write in s

sendmail-8.12.6+cyrus-imapd-2.0.17: check presence of the cyrus mailbox during establishing SMTP connection

2003-11-04 Thread A Clockwork Orange
Hello,   sendmail-8.12.6+cyrus-imapd-2.0.17   I'd like sendmail to check presence of the cyrus mailbox during establishing SMTP connection. If the cyrus mailbox doesn't present sendmail drops SMTP connection (doesn't recieve email). What have i to write in sendmail.mc file?     Thanks in adva