Re: postfix and/or amavisd-new duplicating sender_bcc's?

2011-09-28 Thread Troy Piggins
* Wietse Venema wrote : Troy Piggins: I'm using sender_bcc maps to archive/backup sent mail. Config extracts below. It does work, but is creating duplicates when mail is sent from clients other than localhost. IE if I send mail using See http://www.postfix.org/FILTER_README.html

Re: postfix and/or amavisd-new duplicating sender_bcc's?

2011-09-28 Thread Troy Piggins
* Jeroen Geilman wrote : * On 2011-09-28 11:57, Troy Piggins wrote: * Wietse Venema wrote : * Troy Piggins: I'm using sender_bcc maps to archive/backup sent mail. Config extracts below. It does work, but is creating duplicates when mail is sent from clients other than localhost. IE if I

postfix and/or amavisd-new duplicating sender_bcc's?

2011-09-27 Thread Troy Piggins
/etc/procmailrc: ... :0: * ^X-Original-To:.*_sent@netserv\.ourdomain\.local | gzip -fc9 ${HOME}/Sent_${DATE}.gz ... -- Troy Piggins

Re: sender_bcc - patterns questions

2011-08-11 Thread Troy Piggins
On Thu, Aug 11, 2011 at 10:02:21AM +1000, Troy Piggins wrote: On Wed, Aug 10, 2011 at 09:47:37AM +0200, Jeroen Geilman wrote: snip / It is not a variable expansion. Use this instead: /(user1)@mydomain.com/ $1_s...@mydomain.com Read http://www.postfix.org/pcre_table.5.html, section

sender_bcc - patterns questions

2011-08-10 Thread Troy Piggins
you think I'm on the right track? Mostly in terms of using pcre for the table. Wasn't sure whether this or regex would be better? 4. Any other suggestions/advice? -- Troy Piggins

Re: sender_bcc - patterns questions

2011-08-10 Thread Troy Piggins
On Wed, Aug 10, 2011 at 09:47:37AM +0200, Jeroen Geilman wrote: On 2011-08-10 09:20, Troy Piggins wrote: snip / 1. Could you please confirm that the pattern between the slashes is just the sender's address that we're trying to match? sender_bcc_maps matches the envelope sender address

Re: sender_bcc - patterns questions

2011-08-10 Thread Troy Piggins
On Wed, Aug 10, 2011 at 10:11:49AM +0200, Ansgar Wiechers wrote: On 2011-08-10 Jeroen Geilman wrote: On 2011-08-10 09:20, Troy Piggins wrote: snip / It is not a variable expansion. Use this instead: /(user1)@mydomain.com/ $1_s...@mydomain.com Read http://www.postfix.org

Re: can you greylist custom header checks etc?

2011-05-25 Thread Troy Piggins
* Robert Schetterer wrote : * Am 24.05.2011 13:43, schrieb Noel Jones: * On 5/24/2011 2:38 AM, Troy Piggins wrote: Just curious if it's possible to pass messages that match certain header checks to postgrey instead of flat out rejecting them. The reason I ask is that I was trying out some

can you greylist custom header checks etc?

2011-05-24 Thread Troy Piggins
positives. One sender was trying and trying to send, but kept getting the 4xx message and not getting through. -- Troy Piggins

sent mail statistics - lots more than expected?

2011-05-22 Thread Troy Piggins
, but figured many users here would be familiar with it? -- Troy Piggins

Re: sent mail statistics - lots more than expected?

2011-05-22 Thread Troy Piggins
* Jeroen Geilman wrote : * On 05/23/2011 01:25 AM, Troy Piggins wrote: I've recently been keeping an eye on my mail statistics usingmailgraph http://mailgraph.schweikert.ch/ . I'm impressed by the amount of spam/rejections achieved using just postgrey and some postfix restrictions. One

Re: sent mail statistics - lots more than expected?

2011-05-22 Thread Troy Piggins
into what that is. -- Troy Piggins

Re: anyone rejecting incorrect dates with pcre header_checks?

2011-04-28 Thread Troy Piggins
* Duane Hill wrote : Thursday, April 28, 2011, 1:19:11 AM, you wrote: Troy Piggins wrote: Wondering how you're solving this for emails sent with Date: headers way in the past or future. What do you think is a reasonably acceptable in terms of dates. 3 days each side of the correct

postgrey vs targrey

2011-04-28 Thread Troy Piggins
that just postgrey alone is sufficient? What would it catch that postgrey doesn't? -- Troy Piggins

Re: postgrey vs targrey

2011-04-28 Thread Troy Piggins
* Michael Orlitzky wrote : On 04/28/2011 07:45 PM, Troy Piggins wrote: Might not be the right place to post this, so just let me know to move on if so... I've been using the wonderful postgrey on my server and it seems to do a wonderful job of cutting down spam. I am now curious about

Re: rejecting long subject strings with pcre header checks

2011-04-28 Thread Troy Piggins
* Voytek Eymont wrote : I've followed the recent advice as I'm also getting a lot of these_long_subjects_emails_with_crap_in_them: -- * Noel Jones wrote : On 4/27/2011 6:17 AM, Troy Piggins wrote: Hi there. I'm noticing lately most of the spam that gets through my

rejecting long subject strings with pcre header checks

2011-04-27 Thread Troy Piggins
They do seem to have non-alnum chars such as ?-. etc. Just no spaces. I'm thinking there must be a header check with pcre on Subject that could catch these. Been googling but can't find anyone that seems to mention this. Might be my poor search term selection? Any suggestions? -- Troy

Re: rejecting long subject strings with pcre header checks

2011-04-27 Thread Troy Piggins
* Noel Jones wrote : On 4/27/2011 6:17 AM, Troy Piggins wrote: Hi there. I'm noticing lately most of the spam that gets through my postgrey/postfix/amavis/spamassassin/procmail rules contains subject lines that are extremely long strings with no spaces in them. eg: Subject

Re: rejecting long subject strings with pcre header checks

2011-04-27 Thread Troy Piggins
* Wietse Venema wrote : Troy Piggins: Hi there. I'm noticing lately most of the spam that gets through my postgrey/postfix/amavis/spamassassin/procmail rules contains subject lines that are extremely long strings with no spaces in them. eg: Subject

Re: rejecting long subject strings with pcre header checks

2011-04-27 Thread Troy Piggins
* Noel Jones wrote : On 4/27/2011 7:23 AM, Troy Piggins wrote: * Noel Jones wrote : On 4/27/2011 6:17 AM, Troy Piggins wrote: snip / regexp and pcre compatible expression: /^Subject: +[^[:space:]]{60}/ REJECT no spaces Thanks mate. That works beautifully. One minor improvement. I

Re: rejecting long subject strings with pcre header checks

2011-04-27 Thread Troy Piggins
encoding, and applies the test on the plaintext. Thanks for that. -- Troy Piggins

anyone rejecting incorrect dates with pcre header_checks?

2011-04-27 Thread Troy Piggins
a cron script that modifies the header_checks file, but that may be a bit clumsy? -- Troy Piggins