[xmail] Re: Poll ...

2006-11-01 Thread Jorn Hass

 just to clear things up, the post-RCPT filter is executed during the SMTP
 phase after each RCPT_TO transaction, before XMail sends the SMTP response
 back to th client. You have no message data available when the filter
 runs. Only client IP:PORT info, and sender return path (and, of course,
 current recipient address).

That is how I thought it would be, which is perfect, as this would be
the hook for people to have filters for outright rejection of senders
and/or domains/IPs.

This would enable to create user filters for *.hinet.net etc...
Currently this only happens on a global base in pre-data, which is not
ideal... I have also noted that the reject message from a pre-data
filter only gets issued once the data gets sent, which causes some
MTA's to go bonk, and ignore the failure return, only to keep
resending until everything goes up in flames. I have basically
firewalled out two servers that did that. One was fixed, the other is
still firewalled... :)

-- 
Best regards,
 Jornmailto:[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Jorn Hass

Hello Davide,


 How many would appreciate per-RCPT SMTP filter capabilities?

This would be a very nice to have, as each user can then control their
own settings etc.

I was actually looking at making this a filter code decision. By
default filter runs, but if user chooses to not have this filter, or
have different levels for i.e. spamassasin, they can then select so
accordingly.

The in filter code would also allow this to be done on a per domain
base.


-- 
Best regards,
 Jornmailto:[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Soenke Ruempler

Hi Davide,

On 30.10.2006 19:20, Davide Libenzi wrote:

 How many would appreciate per-RCPT SMTP filter capabilities?

I'm voting for this, too. But how is your idea of implementation if more
than one RCPTS are given by the client?

I guess the filter will be executed once for every RCPT - the .tab file
would be like this:

 [EMAIL PROTECTED]tabbinarytab@@FILE...
 [EMAIL PROTECTED]tabbinarytab@@FILE...

Just for understanding some example case:

I have a spam filter that's user-based and can reject mails at SMTP
stage. I want to execute it at SMTP POST-DATA stage. Now a mail arrives
with, say, 2 RCPT's. Both have a filter line in the new SMTP filter system.

Filter is executed for RCPT A - and passed.
Filter is executed for RCPT B - and rejected (higher spam level than Aor
smth.).

Now the entire mail with be rejected, won't it? I know, that's nature of
SMTP - it's only for understanding.

The big advantage is that we'd have control about filter execution (and
not only global filters anymore).

Thanks.

-- 

Best regards / Mit freundlichen Gruessen

Sönke Ruempler
[EMAIL PROTECTED]
http://www.ruempler.eu/
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Harri Nykanen

On 30 Oct 2006 at 10:20, Davide Libenzi wrote:

 How many would appreciate per-RCPT SMTP filter capabilities?

Count me in


--
Harri Nykänen
Hyljetie 19 A
02260 ESPOO
FINLAND
mobile: +358 (0)50 4110 400
http://www.nykanen.org

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Erwin Meulensteen

Me too!
More polls for more features :)

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Rob Arends

Yes please 


Rob :-)
 
_
Note To Self: Remember to put something witty here later...
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Davide Libenzi
Sent: Tuesday, 31 October 2006 5:21 AM
To: XMail mailing list
Subject: [xmail] Poll ...



How many would appreciate per-RCPT SMTP filter capabilities?



- Davide


-
To unsubscribe from this list: send the line unsubscribe xmail in the body
of a message to [EMAIL PROTECTED] For general help: send the line
help in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Tracy

Soenke Ruempler wrote:
 Hi Davide,
 
 On 30.10.2006 19:20, Davide Libenzi wrote:
 
 How many would appreciate per-RCPT SMTP filter capabilities?
 
 I'm voting for this, too. But how is your idea of implementation if more
 than one RCPTS are given by the client?
 
 I guess the filter will be executed once for every RCPT - the .tab file
 would be like this:
 
  [EMAIL PROTECTED]tabbinarytab@@FILE...
  [EMAIL PROTECTED]tabbinarytab@@FILE...
 
 Just for understanding some example case:
 
 I have a spam filter that's user-based and can reject mails at SMTP
 stage. I want to execute it at SMTP POST-DATA stage. Now a mail arrives
 with, say, 2 RCPT's. Both have a filter line in the new SMTP filter system.
 
 Filter is executed for RCPT A - and passed.
 Filter is executed for RCPT B - and rejected (higher spam level than Aor
 smth.).
 
 Now the entire mail with be rejected, won't it? I know, that's nature of
 SMTP - it's only for understanding.
 
 The big advantage is that we'd have control about filter execution (and
 not only global filters anymore).
 
 Thanks.
 

It should be possible, based on return code to make only the recipient 
fail. For example, let's say the filter returns 4 (to reject this 
recipient). The SMTP fail code could be 471, which  means only this 
recipient failed. However, if the filter returns 4 + 16, then the SMTP 
fail code could be a 5xx code, meaning that the entire transaction fails.

My own thought was to allow the filter writer to specify any SMTP error 
code and message (perhaps in a .REJ file or some similiar method), and 
simply indicate to XMail by the filter return code whether to terminate 
mail processing for the message, or simply dump this recipient.

But I suppose it will be up to Davide how he wants to handle this...

Tracy
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Davide Libenzi

On Tue, 31 Oct 2006, Tracy wrote:

 It should be possible, based on return code to make only the recipient 
 fail. For example, let's say the filter returns 4 (to reject this 
 recipient). The SMTP fail code could be 471, which  means only this 
 recipient failed. However, if the filter returns 4 + 16, then the SMTP 
 fail code could be a 5xx code, meaning that the entire transaction fails.
 
 My own thought was to allow the filter writer to specify any SMTP error 
 code and message (perhaps in a .REJ file or some similiar method), and 
 simply indicate to XMail by the filter return code whether to terminate 
 mail processing for the message, or simply dump this recipient.
 
 But I suppose it will be up to Davide how he wants to handle this...

Yes, that's the whole point of post-RCPT filters. Allow fine grained 
per-RCPT response codes.


- Davide


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Davide Libenzi

On Tue, 31 Oct 2006, Jorn Hass wrote:

  How many would appreciate per-RCPT SMTP filter capabilities?
 
 This would be a very nice to have, as each user can then control their
 own settings etc.
 
 I was actually looking at making this a filter code decision. By
 default filter runs, but if user chooses to not have this filter, or
 have different levels for i.e. spamassasin, they can then select so
 accordingly.

just to clear things up, the post-RCPT filter is executed during the SMTP 
phase after each RCPT_TO transaction, before XMail sends the SMTP response 
back to th client. You have no message data available when the filter 
runs. Only client IP:PORT info, and sender return path (and, of course, 
current recipient address).


- Davide


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Davide Libenzi

On Tue, 31 Oct 2006, Soenke Ruempler wrote:

 On 30.10.2006 19:20, Davide Libenzi wrote:
 
  How many would appreciate per-RCPT SMTP filter capabilities?
 
 I'm voting for this, too. But how is your idea of implementation if more
 than one RCPTS are given by the client?

Post-RCPT filters are executed after each RCPT_TO submitted by the SMTP 
client. You have the ability to validate them on a per-RCPT basis.



 I guess the filter will be executed once for every RCPT - the .tab file
 would be like this:
 
  [EMAIL PROTECTED]tabbinarytab@@FILE...
  [EMAIL PROTECTED]tabbinarytab@@FILE...
 
 Just for understanding some example case:
 
 I have a spam filter that's user-based and can reject mails at SMTP
 stage. I want to execute it at SMTP POST-DATA stage. Now a mail arrives
 with, say, 2 RCPT's. Both have a filter line in the new SMTP filter system.
 
 Filter is executed for RCPT A - and passed.
 Filter is executed for RCPT B - and rejected (higher spam level than Aor
 smth.).
 
 Now the entire mail with be rejected, won't it? I know, that's nature of
 SMTP - it's only for understanding.

No, one recipient is valid, so the SMTP client is allow to issue a DATA 
command and have the content delivered to the valid recipient. This for an 
MTA point of view. What MUAs do, is not up to me ;)


- Davide


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Soenke Ruempler

On 31.10.2006 17:46, Davide Libenzi wrote:

 Post-RCPT filters are executed after each RCPT_TO submitted by the SMTP 
 client. You have the ability to validate them on a per-RCPT basis.

Got it. The poll was meant for POST-RCPT filter. Not the traditional
SMTP filter (filters.[pre|post]-data.tab). These are the new filters
already noted in the changelog, right?

-- 

Best regards / Mit freundlichen Gruessen

Sönke Ruempler
[EMAIL PROTECTED]
http://www.ruempler.eu/
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Davide Libenzi

On Tue, 31 Oct 2006, Soenke Ruempler wrote:

 
 On 31.10.2006 17:46, Davide Libenzi wrote:
 
  Post-RCPT filters are executed after each RCPT_TO submitted by the SMTP 
  client. You have the ability to validate them on a per-RCPT basis.
 
 Got it. The poll was meant for POST-RCPT filter. Not the traditional
 SMTP filter (filters.[pre|post]-data.tab). These are the new filters
 already noted in the changelog, right?

Yes, it was about the SMTP filters ;) Now you have:

filters.post-rcpt.tab (for each RCPT)
filters.pre-data.tab  (before DATA)
filters.post-data.tab (after DATA)




- Davide


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-31 Thread Mike Harrington

I'm in :)

- Original Message - 
From: Davide Libenzi davidel@xmailserver.org
To: XMail mailing list xmail@xmailserver.org
Sent: Monday, October 30, 2006 10:20 AM
Subject: [xmail] Poll ...


 
 
 How many would appreciate per-RCPT SMTP filter capabilities?
 
 
 
 - Davide
 
 
 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]
 

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-30 Thread John Kielkopf

I would.

Davide Libenzi wrote:
 How many would appreciate per-RCPT SMTP filter capabilities?



 - Davide


 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]


   

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-30 Thread Tracy

Oh! Oh! Me! Me! jumps up and down

:)

Davide Libenzi wrote:
 
 How many would appreciate per-RCPT SMTP filter capabilities?
 
 
 
 - Davide
 
 
 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]
 
 

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-30 Thread Jeff Buehler

I don't need it right now, but I think it's an excellent idea to add it 
if it isn't a crazy amount of work.  I can easily see needing it in the 
future...

Thanks,
Jeff

Davide Libenzi wrote:
 How many would appreciate per-RCPT SMTP filter capabilities?



 - Davide


 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]



   

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-30 Thread Filip Supera

Davide Libenzi a écrit :
 
 How many would appreciate per-RCPT SMTP filter capabilities?
 

+1

Thanks.
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-30 Thread XTechie


Count me in.

~XT
Jeff Buehler wrote:
 I don't need it right now, but I think it's an excellent idea to add it 
 if it isn't a crazy amount of work.  I can easily see needing it in the 
 future...
 
 Thanks,
 Jeff
 
 Davide Libenzi wrote:
 How many would appreciate per-RCPT SMTP filter capabilities?



 - Davide


 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]



   
 
 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]
 
 
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-30 Thread Chris L. Franklin

me 2

XTechie wrote:
 Count me in.

 ~XT
 Jeff Buehler wrote:
   
 I don't need it right now, but I think it's an excellent idea to add it 
 if it isn't a crazy amount of work.  I can easily see needing it in the 
 future...

 Thanks,
 Jeff

 Davide Libenzi wrote:
 
 How many would appreciate per-RCPT SMTP filter capabilities?



 - Davide


 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]



   
   
 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]


 
 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]

   
-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: Poll ...

2006-10-30 Thread Alexander Hagenah

[EMAIL PROTECTED] wrote:

 How many would appreciate per-RCPT SMTP filter capabilities?

++

--

Regards,
Alexander Hageganh




Virus checked by G DATA AntiVirusKit


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]