List Info

Thread: amavisd-release not releasing




amavisd-release not releasing
user name
2007-01-30 05:41:13
I am trying to use amavisd-release to un-quarantine some
emails
that were detected false-positives.

I added this line to /etc/amavisd.conf:

#v+
$auth_required_release=0;
#v-

Already there were the recommended:

#v+
$inet_socket_port = 10024;
$unix_socketname = "$MYHOME/amavisd.sock";
$interface_policy{'SOCK'}='AM.PDP-SOCK';
$policy_bank{'AM.PDP-SOCK'} = { protocol=>'AM.PDP' };
#v-

I found I also had to amend the path in amavisd-release
script:

#v+
$socketname = '/var/lib/amavis/amavisd.sock';
#v-

Now if I execute the command:

$ sudo amavisd-release spam-slp35sGPVKcQ.gz
250 2.6.0 Ok, id=rel-slp35sGPVKcQ, from
MTA([127.0.0.1]:10025):
250 Ok: queued as E3EDA58552

it appears the mail was released correctly.  Also in
/var/log/mail.log (addresses munged):

#v+
n 30 21:35:02 news amavis[12318]: (rel-slp35sGPVKcQ)
Quarantined
message release: slp35sGPVKcQ <xyzxyz.com>
-> <abcpiggo.com>
Jan 30 21:35:02 news postfix/smtpd[13804]: connect from
news.piggo.dyndns.org[127.0.0.1]
Jan 30 21:35:02 news postfix/smtpd[13804]: E3EDA58552:
client=news.piggo.dyndns.org[127.0.0.1]
Jan 30 21:35:02 news postfix/cleanup[13806]: E3EDA58552:
resent-message-id=<QRslp35sGPVKcQpiggo.com>
Jan 30 21:35:02 news postfix/cleanup[13806]: E3EDA58552:
message-id=<20070129054311.D46415825Email.piggo.com>
Jan 30 21:35:02 news postfix/qmgr[28543]: E3EDA58552:
from=<xyzxyz.com>, size=17285, nrcpt=1
(queue active)
Jan 30 21:35:02 news postfix/smtpd[13804]: disconnect from
news.piggo.dyndns.org[127.0.0.1]
Jan 30 21:35:03 news postfix/cleanup[13806]: 00F3458E64:
resent-message-id=<QRslp35sGPVKcQpiggo.com>
Jan 30 21:35:03 news postfix/cleanup[13806]: 00F3458E64:
message-id=<20070129054311.D46415825Email.piggo.com>
Jan 30 21:35:03 news postfix/qmgr[28543]: 00F3458E64:
from=<xyzxyz.com>, size=17409, nrcpt=1
(queue active)
Jan 30 21:35:03 news postfix/local[13808]: E3EDA58552:
to=<abcpiggo.com>, relay=local, delay=1, status=sent
(forwarded
as 00F3458E64)
Jan 30 21:35:03 news postfix/qmgr[28543]: E3EDA58552:
removed
Jan 30 21:35:16 news postfix/smtp[13809]: 00F3458E64:
to=<abcisp.net.au>, orig_to=<abcpiggo.com>,
relay=mail.m.iinet.net.au[203.0.178.192], delay=13,
status=sent
(250 ok:  Message 126038954 accepted)
Jan 30 21:35:16 news postfix/qmgr[28543]: 00F3458E64:
removed
#v-

Trouble is, the messages are not received at the other end
(eg
from above, abcisp.net.au isn't getting the message.

Any ideas?

-- 
Troy Piggins             ,-O   (o-    O         All your
sigs are belong to us.
http://piggo.com/~troy 
O   )  //     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8O
Ten4g7OPa3Xs7MIr8p7

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

Re: amavisd-release not releasing
user name
2007-01-30 06:10:24
* Troy Piggins is quoted & my replies are inline below
:
> I am trying to use amavisd-release to un-quarantine
some emails
> that were detected false-positives.
> 
> I added this line to /etc/amavisd.conf:
> 
> #v+
> $auth_required_release=0;
> #v-
> 
> Already there were the recommended:
> 
> #v+
> $inet_socket_port = 10024;
> $unix_socketname = "$MYHOME/amavisd.sock";
> $interface_policy{'SOCK'}='AM.PDP-SOCK';
> $policy_bank{'AM.PDP-SOCK'} = { protocol=>'AM.PDP'
};
> #v-

I changes these to :

In amavisd.conf use something like:
$inet_socket_port = [10024, 9998];
$interface_policy{'9998'} = 'AM.PDP';
$policy_bank{'AM.PDP'} = {protocol=>'AM.PDP'};

and in file amavisd-release change socket to:
$socketname = '127.0.0.1:9998';

It wasn't until after I made this change that I discovered
that
messages were getting released correctly, but because they
had
the high spam score of 8, my procmail filters were putting
them
somewhere else.  So I don't know if the above socket
changes
fixed it, or the original setup was working also.

My apologies.

> I found I also had to amend the path in amavisd-release
script:
> 
> #v+
> $socketname = '/var/lib/amavis/amavisd.sock';
> #v-
> 
> Now if I execute the command:
> 
> $ sudo amavisd-release spam-slp35sGPVKcQ.gz
> 250 2.6.0 Ok, id=rel-slp35sGPVKcQ, from
MTA([127.0.0.1]:10025):
> 250 Ok: queued as E3EDA58552
> 
> it appears the mail was released correctly.  Also in
> /var/log/mail.log (addresses munged):
> 
[snip]
> 
> Trouble is, the messages are not received at the other
end (eg
> from above, abcisp.net.au isn't getting the message.
> 
> Any ideas?

As above, seems to be working now.

-- 
Troy Piggins             ,-O   (o-    O         All your
sigs are belong to us.
http://piggo.com/~troy 
O   )  //     O
RLU#415538               `-O   V_/_  OOO
hackerkey://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8O
Ten4g7OPa3Xs7MIr8p7

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
AMaViS-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user

AMaViS-FAQ:http://www.amav
is.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/ho
wto/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )