[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Installing AMaViS on RAQ 4



> I am trying to configure AMaViS (daemon version) on my RAQ 4 and all I get 
> is this, when I do 'ps ax':
> 
>   6988 ?        S      0:00 perl -T /usr/sbin/amavisd
>   7071 ?        S      0:00 amavis -f info@xxxxxxxxxxxxx info@xxxxxxxxxxxxx 
> info
>   7072 ?        S      0:00 perl -T /usr/sbin/amavisd
> 
> It seems that amavis starts when a new mail arrives but it doesn't finish 
> its job. The process doesn't get ready. It may be that my changes in 
> sendmail.cf aren't right since the amavis documentation isn't too precise 
> at this point. Here is my changed section from sendmail.cf:
> 
> Mlocal,         P=/usr/sbin/amavis, F=lsDFMAw5:/|@qSPfhn9, 
> S=EnvFromL/HdrFromL,$
>                  T=DNS/RFC822/X-Unix,
>                  A=amavis $f $u  -- /usr/bin/procmail -Y -a $h -d $u
> Mprog,          P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, 
> R=EnvToL/$
>                  T=X-Unix/X-Unix/X-Unix,
>                  A=smrsh -c $u

mine looks slightly different:

Mlocal,         P=/usr/sbin/amavis, F=lsDFMAw5:/|@qSPhn9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
                T=DNS/RFC822/X-Unix,
                A=amavis $f $u -- /usr/bin/procmail -Y -d $u
Mprog,          P=/usr/sbin/smrsh, F=lsDFMoqeu9, S=EnvFromL/HdrFromL, R=EnvToL/HdrToL, D=$z:/,
                T=X-Unix/X-Unix/X-Unix,
                A=smrsh -c $u

I think you should leave the "f" out of the "F=" - switches of Mlocal, the README.sendmail states:

| IMPORTANT NOTE: please have closer look at the mailer definition, especially
| the F equate (the mailer flags). You may copy the F= stuff out from your
| original sendmail.cf file, but be careful! You must not use the f flag.
| You may also add the A flag, otherwise "newaliases" will yell "cannot alias
| non-local names".


Jens-Peter