> On 06.02.22 14:02, Marc wrote:
> >Thanks! Got it to work with this:
> >EXTRA_FLAGS=" -D xxxxxx.xxx.xxx -- -p 34219"
> 
> the man page for spamass-milter says:
> 
>      -D host
>              Connects to a remote spamd server on host, instead of using
> one
>              on localhost.  This option is deprecated; use -- -d host
> instead.
> 
> so, 1. it's deprecated, 2. only uses host.
> 

It is not deprecated and -d is for debug.

in source:
    307       cout << "   -C RejectCode: using this Reject Code." << endl;
    308       cout << "   -d xx[,yy ...]: set debug flags.  Logs to syslog" << 
endl;
    309       cout << "   -D host: connect to spamd at remote host 
(deprecated)" << endl;
    310       cout << "   -e defaultdomain: pass full email address to spamc 
instead of just\n"
    311               "          username.  Uses 'defaultdomain' if there was 
none" << endl;
    312       cout << "   -f: fork into background" << endl;
    313       cout << "   -i: skip (ignore) checks from these IPs or netblocks" 
<< endl;

on centos8

 ~]# spamass-milter -h
spamass-milter: invalid option -- 'h'
spamass-milter - Version 0.4.0
SpamAssassin Sendmail Milter Plugin
Usage: spamass-milter -p socket [-b|-B bucket] [-d xx[,yy...]] [-D host]
                      [-e defaultdomain] [-f] [-i networks] [-m] [-M]
                      [-P pidfile] [-r nn] [-u defaultuser] [-x] [-a]
                      [-C rejectcode] [-R rejectmsg] [-g group]
                      [-- spamc args ]
   -p socket: path to create socket
   -b bucket: redirect spam to this mail address.  The orignal
          recipient(s) will not receive anything.
   -B bucket: add this mail address as a BCC recipient of spam.
   -C RejectCode: using this Reject Code.
   -d xx[,yy ...]: set debug flags.  Logs to syslog

Reply via email to