Amavis a sendmail - problem

Daniel Prynych Daniel.Prynych na hornet.cz
Úterý Září 25 06:10:17 CEST 2001


Upravil jste si soubor neco.mc ze ktereho generujete sendmail.cf
Je nutno pridat:
define(`LOCAL_MAILER_PATH',`/usr/sbin/scanmails')dnl
define(`LOCAL_MAILER_ARGS',`scanmails -Y -a $h -d $u')dnl
define(`LOCAL_MAILER_FLAGS',`SPfhn9')

a odstranit
FEATURE(local_procmail)
nebo dopsat na zacatek dnl : 
dnl FEATURE(local_procmail)                                                   

Daniel Prynych                                


Dne po 24. září 2001 18:10 jste napsal(a):
> Zdravim vsechny ve spolek,
>
> mam takovej problem s antivirakem pod Linuxem. Kdyz jsem stejnou
> konfiguraci Amavisu mel pod RH 7.0 tak vse fungovalo OK, ale jak jsem
> nainstaloval RH7.1, tak to nechce makat :((
>
> Problem je nejspise v programu scanmails, ktery sendmail v pripade dosle
> posty spusti. Kdyz prijde posta z ciziho serveru tak vse je OK, ale kdyz je
> mail odeslan z Apache na stejnem stroji, tak to vypise nasledujici chybove
> hlaseni :
>
>
> Sep 24 17:51:50 ns sendmail[26491]: f8OFpo826491: from=nobody, size=78,
> class=0, nrcpts=1, msgid=<200109241551.f8OFpo826491 na domena.cz>,
> relay=nobody na localhost Sep 24 17:51:51 ns scanmails[26495]: execution
> started
> Sep 24 17:51:51 ns scanmails[26495]: No virus found
> Sep 24 17:51:51 ns procmail[26575]: Insufficient privileges to deliver to
> "uzivatel01" Sep 24 17:51:51 ns scanmails[26495]: terminating
> Sep 24 17:51:51 ns sendmail[26494]: f8OFpo826491: to=admin na domena.cz,
> ctladdr=nobody (99/99), delay=00:00:01, xdelay=00:00:01, mailer=local,
> pri=30078, dsn=5.0.0, stat=Insufficient permission Sep 24 17:51:51 ns
> sendmail[26494]: f8OFpo826491: f8OFpp726494: DSN: Insufficient permission
> Sep 24 17:51:51 ns scanmails[26580]: execution started
> Sep 24 17:51:53 ns scanmails[26580]: No virus found
> Sep 24 17:51:53 ns procmail[26754]: Insufficient privileges to deliver to
> "uzivatel01" Sep 24 17:51:53 ns scanmails[26580]: terminating
> Sep 24 17:51:53 ns sendmail[26494]: f8OFpp726494: to=admin na domena.cz,
> delay=00:00:02, xdelay=00:00:02, mailer=local, pri=30178, dsn=5.0.0,
> stat=Insufficient permission Sep 24 17:51:53 ns sendmail[26494]:
> f8OFpp726494: f8OFpp826494: return to sender: Insufficient permission Sep
> 24 17:51:53 ns scanmails[26759]: execution started
> Sep 24 17:51:55 ns scanmails[26759]: No virus found
> Sep 24 17:51:55 ns procmail[27027]: Insufficient privileges to deliver to
> "uzivatel01" Sep 24 17:51:55 ns scanmails[26759]: terminating
> Sep 24 17:51:55 ns sendmail[26494]: f8OFpp826494: to=admin na domena.cz,
> delay=00:00:02, xdelay=00:00:02, mailer=local, pri=30278, dsn=5.0.0,
> stat=Insufficient permission Sep 24 17:51:55 ns sendmail[26494]:
> f8OFpp726494: Losing ./qff8OFpp726494: savemail panic Sep 24 17:51:55 ns
> sendmail[26494]: f8OFpp726494: SYSERR(nobody): savemail: cannot save
> rejected email anywhere Sep 24 17:52:19 ns scanmails[27033]: execution
> started
> Sep 24 17:52:20 ns scanmails[27033]: No virus found
> Sep 24 17:52:20 ns scanmails[27033]: terminating
> Sep 24 17:52:20 ns sendmail[27032]: f8OFpo826491: to=admin na domena.cz,
> ctladdr=nobody (99/99), delay=00:00:30, xdelay=00:00:01, mailer=local,
> pri=120078, dsn=2.0.0, stat=Sent
>
>
> Nesetkal jste se nekdo s necim podobnym ??
>
> Diky za kazde nakopnuti :))
>
> V. Kroc
>


Další informace o konferenci Linux