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 of the S25R
>>> http://www.gabacho-net.jp/en/anti-spam/anti-spam-system.html
>>> rejection rules, and started noticing false positives.  One sender
>>> was trying and trying to send, but kept getting the 4xx message and
>>> not getting through.
>> 
>> Sorry, there is no built-in header_checks action to call a policy service.
>> 
>> A milter or proxy could do this.
> 
> perhaps he did mean
> selective greylisting
> 
> i.e like this
> 
> http://lists.ee.ethz.ch/postgrey/msg01214.html


Thanks mate.  Bit of reading for me there, so am looking into it.

-- 
Troy Piggins


Re: transport not triggered

2011-05-25 Thread Noel Jones

On 5/25/2011 4:13 PM, houmles wrote:

I have virtual_alias_domains=$transport_maps so it should be
there.



What a terrible idea.  What happens when you (or someone else) 
decides to add yahoo.com or hotmail.com or a wildcard default 
to transport_maps?


Use a dedicated map to define domains.

This probably won't fix your original problem, but will save 
you a huge headache later.





Re: transport not triggered

2011-05-25 Thread Jeroen Geilman

On 05/25/2011 11:13 PM, houmles wrote:

I have virtual_alias_domains=$transport_maps so it should be there.

There is log:
May 25 23:43:40 prusa3 postfix/smtpd[7395]: A4B08382: 
client=xxx.xxx.xxx[x.x.x.x]
May 25 23:43:40 prusa3 postfix/cleanup[7398]: A4B08382: 
message-id=<4ddd6c14.9030...@domain.com>
May 25 23:43:40 prusa3 postfix/qmgr[7392]: A4B08382: 
from=, size=940, nrcpt=2 (queue active)
May 25 23:43:40 prusa3 postfix/error[7400]: A4B08382: 
to=, orig_to=, 
relay=none, delay=0.05, delays=0.02/0.01/0/0.02, dsn=4.0.0, 
status=SOFTBOUNCE (User unknown in virtual alias table)
May 25 23:43:40 prusa3 postfix/pipe[7399]: A4B08382: 
to=, relay=maildrop, delay=0.05, 
delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via 
maildrop service)



If I try to set it to virtual_mailbox_domains or relay_domains problem 
is same but in mydestination I received 2 mails to my mailbox, no 
autoreply sent:


Log:
May 25 23:44:53 prusa3 postfix/smtpd[7594]: 0C443382: 
client=xxx.xxx.xxx[x.x.x.x]
May 25 23:44:53 prusa3 postfix/cleanup[7597]: 0C443382: 
message-id=<4ddd6c5c.3060...@domain.com>
May 25 23:44:53 prusa3 postfix/qmgr[7592]: 0C443382: 
from=, size=940, nrcpt=2 (queue active)
May 25 23:44:53 prusa3 postfix/pipe[7598]: 0C443382: 
to=, relay=maildrop, delay=0.05, 
delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via 
maildrop service)
May 25 23:44:53 prusa3 postfix/pipe[7599]: 0C443382: 
to=, relay=maildrop, delay=0.06, 
delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via 
maildrop service)

May 25 23:44:53 prusa3 postfix/qmgr[7592]: 0C443382: removed

On 05/25/11 22:22, Jeroen Geilman wrote:

On 05/25/2011 11:22 AM, houmles wrote:

Hi all,

Iam trying to setup autoreply via transport on already running
mail server. My problem is transport isn't triggered instead all
vacation emails are going thru none transport.

main.cf:
transport_maps = mysql:/etc/postfix/mysql/transport_maps.cf

in transport table i have:
autoreply.domain.org autoreply:

postmap -q "autoreply.domain.org"
mysql:/etc/postfix/mysql/transport_maps.cf returns:
autoreply:

in virtual table i have:
u...@domain.org u...@domain.org@autoreply.domain.org

in master.cf
autoreply  unix  -   n   n   -   -   pipe
flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f
${sender} -- ${recipient}

user and group vacation exist

Even though in logs i have message bounced as "User unknown in virtual
alias table" because mail is handled by relay=none not by autoreply.

Any help?



autoreply.domain.org MUST be in one of mydestination, 
virtual_mailbox_domains, virtual_alias_domains, or relay_domains.


Other than that, show the actual logs.



Thanks




The RHS of virtual_alias_maps must also be a valid address, or postfix 
will rightfully reject it.


Consider changing the logic to use user+dom...@autoreply.domain.org.


--
J.



Re: transport not triggered

2011-05-25 Thread houmles

I have virtual_alias_domains=$transport_maps so it should be there.

There is log:
May 25 23:43:40 prusa3 postfix/smtpd[7395]: A4B08382: 
client=xxx.xxx.xxx[x.x.x.x]
May 25 23:43:40 prusa3 postfix/cleanup[7398]: A4B08382: 
message-id=<4ddd6c14.9030...@domain.com>
May 25 23:43:40 prusa3 postfix/qmgr[7392]: A4B08382: 
from=, size=940, nrcpt=2 (queue active)
May 25 23:43:40 prusa3 postfix/error[7400]: A4B08382: 
to=, orig_to=, 
relay=none, delay=0.05, delays=0.02/0.01/0/0.02, dsn=4.0.0, 
status=SOFTBOUNCE (User unknown in virtual alias table)
May 25 23:43:40 prusa3 postfix/pipe[7399]: A4B08382: 
to=, relay=maildrop, delay=0.05, 
delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop 
service)



If I try to set it to virtual_mailbox_domains or relay_domains problem 
is same but in mydestination I received 2 mails to my mailbox, no 
autoreply sent:


Log:
May 25 23:44:53 prusa3 postfix/smtpd[7594]: 0C443382: 
client=xxx.xxx.xxx[x.x.x.x]
May 25 23:44:53 prusa3 postfix/cleanup[7597]: 0C443382: 
message-id=<4ddd6c5c.3060...@domain.com>
May 25 23:44:53 prusa3 postfix/qmgr[7592]: 0C443382: 
from=, size=940, nrcpt=2 (queue active)
May 25 23:44:53 prusa3 postfix/pipe[7598]: 0C443382: 
to=, relay=maildrop, delay=0.05, 
delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop 
service)
May 25 23:44:53 prusa3 postfix/pipe[7599]: 0C443382: 
to=, relay=maildrop, delay=0.06, 
delays=0.02/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via maildrop 
service)

May 25 23:44:53 prusa3 postfix/qmgr[7592]: 0C443382: removed

On 05/25/11 22:22, Jeroen Geilman wrote:

On 05/25/2011 11:22 AM, houmles wrote:

Hi all,

Iam trying to setup autoreply via transport on already running
mail server. My problem is transport isn't triggered instead all
vacation emails are going thru none transport.

main.cf:
transport_maps = mysql:/etc/postfix/mysql/transport_maps.cf

in transport table i have:
autoreply.domain.org autoreply:

postmap -q "autoreply.domain.org"
mysql:/etc/postfix/mysql/transport_maps.cf returns:
autoreply:

in virtual table i have:
u...@domain.org u...@domain.org@autoreply.domain.org

in master.cf
autoreply  unix  -   n   n   -   -   pipe
flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f
${sender} -- ${recipient}

user and group vacation exist

Even though in logs i have message bounced as "User unknown in virtual
alias table" because mail is handled by relay=none not by autoreply.

Any help?



autoreply.domain.org MUST be in one of mydestination, 
virtual_mailbox_domains, virtual_alias_domains, or relay_domains.


Other than that, show the actual logs.



Thanks






Re: transport not triggered

2011-05-25 Thread Jeroen Geilman

On 05/25/2011 11:22 AM, houmles wrote:

Hi all,

Iam trying to setup autoreply via transport on already running
mail server. My problem is transport isn't triggered instead all
vacation emails are going thru none transport.

main.cf:
transport_maps = mysql:/etc/postfix/mysql/transport_maps.cf

in transport table i have:
autoreply.domain.org autoreply:

postmap -q "autoreply.domain.org"
mysql:/etc/postfix/mysql/transport_maps.cf returns:
autoreply:

in virtual table i have:
u...@domain.org u...@domain.org@autoreply.domain.org

in master.cf
autoreply  unix  -   n   n   -   -   pipe
flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f
${sender} -- ${recipient}

user and group vacation exist

Even though in logs i have message bounced as "User unknown in virtual
alias table" because mail is handled by relay=none not by autoreply.

Any help?



autoreply.domain.org MUST be in one of mydestination, 
virtual_mailbox_domains, virtual_alias_domains, or relay_domains.


Other than that, show the actual logs.



Thanks




--
J.



Re: Another open source anti spam framework

2011-05-25 Thread lst_hoe02

Zitat von Ulrich Kautz :


Hello all

i wrote another anti SPAM framework called Decency, which works  
perfectly with Postfix. It's based on Perl POE and Mouse and is  
highly modularized / componentized. Since something last week, it  
has earned it's own website:

 http://www.decency-antispam.org
Also on github:
 https://github.com/ukautz/decency
The CPAN release is heavily outdated and will be renewed at the end  
of this month.


In short what it does:
* It has a policy server, called Doorman, implementing techniques  
such as Greylisting, Geo Weighting, DNSBLs, Honeypot building, SPF  
and so on.
* The second component is a content filter, called Detective, which  
implements third party filters (CRM114, DSPAM, ..), virus filters  
(for now: ClamAV) and also performs internal filtering, such as  
DKIM, deeper DNSBLs checks (Received-header) and also can act as an  
Archiving facility.

* Its modular build, everybody can extend it.
* Designed for single mail filter boxes as well as distributed structures.
* Open source.
* Simple configuration (imho).
* More on the mentioned website..

I used it in production for about half a year. Currently it's going  
towards public stable version 0.2.0.


Any feedback, critic, help, whatever is welcome.


Maybe a link should be added here  
http://www.postfix.org/addon.html#content so people using Postfix can  
easily find it.


Regards

Andreas





smime.p7s
Description: S/MIME Cryptographic Signature


transport not triggered

2011-05-25 Thread houmles

Hi all,

Iam trying to setup autoreply via transport on already running
mail server. My problem is transport isn't triggered instead all
vacation emails are going thru none transport.

main.cf:
transport_maps = mysql:/etc/postfix/mysql/transport_maps.cf

in transport table i have:
autoreply.domain.org autoreply:

postmap -q "autoreply.domain.org"
mysql:/etc/postfix/mysql/transport_maps.cf returns:
autoreply:

in virtual table i have:
u...@domain.org u...@domain.org@autoreply.domain.org

in master.cf
autoreply  unix  -   n   n   -   -   pipe
flags=Rq user=vacation argv=/var/spool/vacation/vacation.pl -f
${sender} -- ${recipient}

user and group vacation exist

Even though in logs i have message bounced as "User unknown in virtual
alias table" because mail is handled by relay=none not by autoreply.

Any help?

Thanks



Another open source anti spam framework

2011-05-25 Thread Ulrich Kautz
Hello all

i wrote another anti SPAM framework called Decency, which works perfectly with 
Postfix. It's based on Perl POE and Mouse and is highly modularized / 
componentized. Since something last week, it has earned it's own website:
 http://www.decency-antispam.org
Also on github:
 https://github.com/ukautz/decency
The CPAN release is heavily outdated and will be renewed at the end of this 
month.

In short what it does:
* It has a policy server, called Doorman, implementing techniques such as 
Greylisting, Geo Weighting, DNSBLs, Honeypot building, SPF and so on.
* The second component is a content filter, called Detective, which implements 
third party filters (CRM114, DSPAM, ..), virus filters (for now: ClamAV) and 
also performs internal filtering, such as DKIM, deeper DNSBLs checks 
(Received-header) and also can act as an Archiving facility.
* Its modular build, everybody can extend it.
* Designed for single mail filter boxes as well as distributed structures.
* Open source.
* Simple configuration (imho).
* More on the mentioned website..

I used it in production for about half a year. Currently it's going towards 
public stable version 0.2.0.

Any feedback, critic, help, whatever is welcome.

Greets from Berlin
Ulrich



signature.asc
Description: OpenPGP digital signature