Re: [courier-users] spamassassin into courierfilter

2011-03-26 Thread Gordon Messmer
On 03/23/2011 12:13 PM, Matus UHLAR - fantomas wrote:

 This is what spamass-milter already does. Mail to multiple recipients
 apparently can be re-checked in users' filters to get better results, while
 rejecting much of spam at SMTP level. While this can't be done with
 spamass-milter (yet), I could do this with perlfilter.

I'm confused.  Can you, or can you not (yet) filter using users' own 
configurations with spamass-milter?

 Now I need to know how to add custom headers to D* files in courier queue...

That's complicated.  First, you'd have to decide whether or not to 
reject the message.  This can't be done per-user.  After that, you'd 
need to loop through each user and run spamc for that user.  You'd then 
have to duplicate the message and control data and feed that to 
courier's submit.  When you're done with the loop, you'd mark complete 
all of the deliveries in the original control file.

Courier-pythonfilter's XFilter class does basically that for old courier 
systems.  You can look at the oldSubmit() function for reference.

I wouldn't recommend this.  You gain no performance advantage over 
running spamc once and rejecting obvious spam, and then running spamc 
from maildrop.  You'd be making your system extremely complicated with 
no benefit.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] POP3 connection gets dropped after retrieving message

2011-03-26 Thread Gordon Messmer
On 03/22/2011 06:14 AM, Enrico van Goor wrote:
 Does anyone know how to debug this problem? We've already used strace
 and tcpdump, which doesn't give a solution.

Post your strace output somewhere so that we can examine it.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] WEBMAILDSTART config option

2011-03-26 Thread Matus UHLAR - fantomas
 Matus UHLAR - fantomas writes:
  shouldn't sqwebmaild config file have same option for starting webmaild as
  there are for esmtpd(-msa)/pop3d/imapd and their SSL versions?
 
  the init script checks for all of those if it should start them, but it
  starts webmail always...
 
  now I find it quite hard quite hard to install and start it without
  webmail daemon...

On 25.03.11 18:31, Sam Varshavchik wrote:
 It's expected that Courier gets installed as pre-built packages, and the  
 webmail server is rolled into a separate subpackage that's optional to  
 install.
 
 Therefore, whether or not the webmail server gets started is controlled by  
 installing or uninstalling the webmail subpackage.

So if user installs courier e.g. from sources, is it needed to edit the
provided init script, correct? Because configure also does not allow
skipping of any packages (I'd skip web* and ldap*) and I haven't found any
mention of which files belong to which part of courier.

It makes me feel like courier is not suitable to be compiled by ourselves...

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I wonder how much deeper the ocean would be without sponges. 

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] spamassassin into courierfilter

2011-03-26 Thread Matus UHLAR - fantomas
 On 03/23/2011 12:13 PM, Matus UHLAR - fantomas wrote:
  This is what spamass-milter already does. Mail to multiple recipients
  apparently can be re-checked in users' filters to get better results, while
  rejecting much of spam at SMTP level. While this can't be done with
  spamass-milter (yet), I could do this with perlfilter.

On 26.03.11 10:27, Gordon Messmer wrote:
 I'm confused.  Can you, or can you not (yet) filter using users' own 
 configurations with spamass-milter?

I can, but only if there's only one recipient.

  Now I need to know how to add custom headers to D* files in courier queue...
 
 That's complicated.  First, you'd have to decide whether or not to 
 reject the message.  This can't be done per-user.  After that, you'd 
 need to loop through each user and run spamc for that user.

I have only asked how can I push some headers to filtered mail.
As I have already said, I would run spamc from courierfilter and if there's
only one recipient, I'd like to push x-spam headers to the mail.
In both cases I'd like to remove x-spam headers from incoming mail.

 You'd then 
 have to duplicate the message and control data and feed that to 
 courier's submit.  When you're done with the loop, you'd mark complete 
 all of the deliveries in the original control file.

Is this the only way to modify message from courierfilter?

 Courier-pythonfilter's XFilter class does basically that for old courier 
 systems.  You can look at the oldSubmit() function for reference.
 
 I wouldn't recommend this.  You gain no performance advantage over 
 running spamc once and rejecting obvious spam, and then running spamc 
 from maildrop.  You'd be making your system extremely complicated with 
 no benefit.

That is why i don't want to do the what you have described.
-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Despite the cost of living, have you noticed how popular it remains? 

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] spamassassin into courierfilter

2011-03-26 Thread Gordon Messmer
On 03/26/2011 02:48 PM, Matus UHLAR - fantomas wrote:
 On 26.03.11 10:27, Gordon Messmer wrote:
 That's complicated.  First, you'd have to decide whether or not to
 reject the message.  This can't be done per-user.  After that, you'd
 need to loop through each user and run spamc for that user.

 I have only asked how can I push some headers to filtered mail.
 As I have already said, I would run spamc from courierfilter and if there's
 only one recipient, I'd like to push x-spam headers to the mail.
 In both cases I'd like to remove x-spam headers from incoming mail.

Gotcha.  I'm pretty sure courier-pythonfilter's spamassassin module 
already does what you want it to do.

 Is this the only way to modify message from courierfilter?

Not any more.  It used to be.  It is still the only way you could run 
spamc with per-user configs where there is more than one recipient, due 
to limitations of SMTP.


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] sqwebmail 20110326

2011-03-26 Thread Sam Varshavchik

Download: http://www.courier-mta.org/download.php#sqwebmail

Development release of Courier and sqwebmail packages

== Changes since the last 20110319 build

* Rewritten parser for HTML mail. The new parser is more unicode-aware, and  
takes the approach of whitelisting HTML elements, rather than a  
blacklisting approach. Only known safe elements, that can be parsed, are  
shown.


* The most readily visible change is that the target hostname of an HTML  
link is shown in smaller font before the link. This clearly identifies  
misleading links in junk mail. The entire link is also repeated in the  
_title_ attribute, which modern browsers show as a tooltip when the mouse  
hovers over the link.


pgpPZ1KId4FlH.pgp
Description: PGP signature
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users