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 <[EMAIL PROTECTED]>
-> <[EMAIL PROTECTED]>
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=<[EMAIL PROTECTED]>
Jan 30 21:35:02 news postfix/cleanup[13806]: E3EDA58552:
message-id=<[EMAIL PROTECTED]>
Jan 30 21:35:02 news postfix/qmgr[28543]: E3EDA58552:
from=<[EMAIL PROTECTED]>, 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=<[EMAIL PROTECTED]>
Jan 30 21:35:03 news postfix/cleanup[13806]: 00F3458E64:
message-id=<[EMAIL PROTECTED]>
Jan 30 21:35:03 news postfix/qmgr[28543]: 00F3458E64:
from=<[EMAIL PROTECTED]>, size=17409, nrcpt=1
(queue active)
Jan 30 21:35:03 news postfix/local[13808]: E3EDA58552:
to=<[EMAIL PROTECTED]>, 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=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>,
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, [EMAIL PROTECTED] 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://v3sw5HPUhw5ln4pr6OSck1ma9u6LwXm5l6Di2e6t5MGSRb8OTen4g7OPa3Xs7MIr8p7
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/