freebsd amavis-new problem ?

Berislav Purgar berislav at jware.hr
Sat May 9 08:12:39 CEST 2015


> * J. Echter <j.echter at echter-kuechen-elektro.de>:
>> Am 07.05.2015 um 11:36 schrieb Berislav Purgar:
>> >Hello
>> >
>> >i noticed this warnning messages in my maillog . what it menas ?
>> >
>> >May  7 10:39:23 w8 postfix/lmtp[13407]: C20392383B1: to=<xxx at xxx.net>,
>> >orig_to=<xxxx at xxxx.xxx>, relay=127.0.0.1[127.0.0.1]:10024, delay=17186,
>> >delays=17186/0.01/0/0.61, dsn=4.5.0, status=deferred (host
>> >127.0.0.1[127.0.0.1] said: 451 4.5.0 Error in processing, id=12964-10,
>> >quar+notif FAILED: mail_dispatch: no recognized protocol name:
>> >SCALAR(0x80596ac90) at /usr/local/sbin/amavisd line 9374. (in reply to
>> end
>> >of DATA command))
>> >May  7 10:54:22 w8 amavis[12964]: (12964-15) (!!)TROUBLE in check_mail:
>> >quar+notif FAILED: mail_dispatch: no recognized protocol name:
>> >SCALAR(0x80596ac90) at /usr/local/sbin/amavisd line 9374.
>
> It means you have configured notification if a message has been put into
> quarantine and amavis fails to send the notification because something is
> wrong with the config.
>
> You might have a typo in the protocol name you've specified. The error
> message
> sounds like it: "no recognized protocol name".
>
> What does this give?
>
> $ sudo grep method /path/to/amavisd.conf
>
> You should get a list like this:
>
> $virus_quarantine_method = undef;
> $spam_quarantine_method = undef;
> $banned_files_quarantine_method = undef;
> $bad_header_quarantine_method = undef;
>
>     forward_method => 'smtp:[::1]:10025',
>     notify_method => 'smtp:[::1]:10025',
>     forward_method => 'smtp:[::1]:10025',
>     notify_method => 'smtp:[::1]:10025',
>     notify_method => 'smtp:[::1]:10025',
>
>
> p at rick
>
> --
> [*] sys4 AG
>
> https://sys4.de, +49 (89) 30 90 46 64
> Franziskanerstraße 15, 81669 München
>
> Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
> Vorstand: Patrick Ben Koetter, Marc Schiffbauer
> Aufsichtsratsvorsitzender: Florian Kirstein
>
>

tnx for tip . here is grep of amavisd.conf :

grep method amavisd.conf

  os_fingerprint_method => undef,  # don't query p0f for internal clients
  forward_method => 'smtp:[127.0.0.1]:10027',
$quarantine_method_by_ccat{+CC_SPAMMY} = \@spam_quarantine_to_maps;
# $notify_method  = 'smtp:[127.0.0.1]:10025';
# $forward_method = 'smtp:[127.0.0.1]:10025';  # set to undef with milter!
# $bad_header_quarantine_method = undef;
# $os_fingerprint_method = 'p0f:*:2345';  # to query p0f-analyzer.pl
# $clean_quarantine_method, $virus_quarantine_to, $banned_quarantine_to,


root at w8:/usr/local/etc # grep protocol amavisd.conf
  protocol => 'AM.PDP',


$quarantine_method_by_ccat{+CC_SPAMMY} = \@spam_quarantine_to_maps;
^^^ maybe this line is problem in my config




More information about the amavis-users mailing list