Current time: 11-17-2024, 07:51 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Resuelto] Problemas con policyd-weight
Author Message
FCHip Offline
Banned

Posts: 47
Joined: Aug 2009
Post: #1
[Resuelto] Problemas con policyd-weight
Hola de nuevo chicos.
Estoy teniendo en el servidor problemas con policyd-weight, me estoy dando cuenta que muchos correos "legítimos" no llegan a sus destinatarios porque ese servicio los para.
Son muchos falsos positivos los que me marca como "Mail appeared to be SPAM or forged" y son remitentes que aunque no se ajusten al protocolo son legítimos y no es spam.
¿Cómo podría relajar a policyd para que no filtrara tantos falsos positivos?, ¿cual es vuestra configuración recomendada?
Si lo necesitáis os paso el .conf que tengo de policyd. Tengo la versión 0.1.15.1-2.

Muchas gracias por vuestra ayuda.
(This post was last modified: 01-31-2012 06:55 PM by kurgans.)
01-19-2012 07:19 PM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #2
RE: Problemas con policyd-weight
A ve pega el log del rechazo del server seguramente sera la lista que fallaba en squeeze la IPV6 esa
01-20-2012 08:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
FCHip Offline
Banned

Posts: 47
Joined: Aug 2009
Post: #3
RE: Problemas con policyd-weight
(01-20-2012 08:37 PM)kurgans Wrote:  A ve pega el log del rechazo del server seguramente sera la lista que fallaba en squeeze la IPV6 esa

Hola kurgans.
Este es un ejemplo pero hay muchos más casos de correos legítimos que antes sí entraban en el servidor antiguo que tenía, con lenny y ispcp 1.0.3.

Code:
Jan 16 13:49:15 ks201231 postfix/smtpd[29062]: connect from mail3.cargill.com[167.136.25.150]
Jan 16 13:49:18 ks201231 postfix/policyd-weight[31478]: weighted check:  NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 IN_IPv6_RBL=4.25 CL_IP_EQ_FROM_MX=-3.1 IN_PM_RFCI=2.225 IN_ABUSE_RFCI=2.225; <client=167.136.25.150> <helo=mail3.cargill.com> <from=maria@cargill.com> <to=ibericadegolosinas@ibericadegolosinas.es>; rate: 1.1
Jan 16 13:49:18 ks201231 postfix/policyd-weight[31478]: decided action=550 Mail appeared to be SPAM or forged. Ask your Mail/DNS-Administrator to correct HELO and DNS MX settings or to get removed from DNSBLs; in postmaster.rfc-ignorant.org; in abuse.rfc-ignorant.org; <client=167.136.25.150> <helo=mail3.cargill.com> <from=maria-teresa_pardo@cargill.com> <to=ibericadegolosinas@ibericadegolosinas.es>; delay: 2s
Jan 16 13:49:18 ks201231 postfix/smtpd[29062]: NOQUEUE: reject: RCPT from mail3.cargill.com[167.136.25.150]: 550 5.7.1 <ibericadegolosinas@ibericadegolosinas.es>: Recipient address rejected: Mail appeared to be SPAM or forged. Ask your Mail/DNS-Administrator to correct HELO and DNS MX settings or to get removed from DNSBLs; in postmaster.rfc-ignorant.org; in abuse.rfc-ignorant.org; from=<Maria-Teresa_PARDO@cargill.com> to=<ibericadegolosinas@ibericadegolosinas.es> proto=ESMTP helo=<mail3.cargill.com>
Jan 16 13:49:18 ks201231 postfix/smtpd[29062]: disconnect from mail3.cargill.com[167.136.25.150]
01-21-2012 04:27 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #4
RE: Problemas con policyd-weight
Quote:IN_IPv6_RBL=4.25

(09-08-2011 04:34 PM)kilburn Wrote:  
Code:
# policyd-weight defaults > /etc/policyd-weight.conf

Y ahora modificamos el fichero, comentando la línea correspondiente a ese RBL:
Code:
...
## DNSBL settings
   @dnsbl_score = (
#    HOST,                    HIT SCORE,  MISS SCORE,  LOG NAME
    'pbl.spamhaus.org',       3.25,          0,        'DYN_PBL_SPAMHAUS',
    'sbl-xbl.spamhaus.org',   4.35,       -1.5,        'SBL_XBL_SPAMHAUS',
    'bl.spamcop.net',         3.75,       -1.5,        'SPAMCOP',
    'dnsbl.njabl.org',        4.25,       -1.5,        'BL_NJABL',
    'ix.dnsbl.manitu.net',    4.35,          0,        'IX_MANITU',
#    'rbl.ipv6-world.net',     4.25,          0,        'IPv6_RBL'
);
...

Reiniciamos policyd-weight y listos! Smile
01-21-2012 05:46 AM
Visit this user's website Find all posts by this user Quote this message in a reply
FCHip Offline
Banned

Posts: 47
Joined: Aug 2009
Post: #5
RE: Problemas con policyd-weight
(01-21-2012 05:46 AM)kurgans Wrote:  
Quote:IN_IPv6_RBL=4.25

(09-08-2011 04:34 PM)kilburn Wrote:  
Code:
# policyd-weight defaults > /etc/policyd-weight.conf

Y ahora modificamos el fichero, comentando la línea correspondiente a ese RBL:
Code:
...
## DNSBL settings
   @dnsbl_score = (
#    HOST,                    HIT SCORE,  MISS SCORE,  LOG NAME
    'pbl.spamhaus.org',       3.25,          0,        'DYN_PBL_SPAMHAUS',
    'sbl-xbl.spamhaus.org',   4.35,       -1.5,        'SBL_XBL_SPAMHAUS',
    'bl.spamcop.net',         3.75,       -1.5,        'SPAMCOP',
    'dnsbl.njabl.org',        4.25,       -1.5,        'BL_NJABL',
    'ix.dnsbl.manitu.net',    4.35,          0,        'IX_MANITU',
#    'rbl.ipv6-world.net',     4.25,          0,        'IPv6_RBL'
);
...

Reiniciamos policyd-weight y listos! Smile

Muchas gracias Kurgans, lo pruebo y te cuento Smile
01-26-2012 05:48 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)