|
From: Christian O. <og...@MA...> - 2000-11-08 14:51:37
|
Hello, i've got a problem with AMaViS 0.2.1-pre3 (and it's still the same with 0.2.1). I am using the option --enable-relay=yes to scan incoming, relayed and outgoing emails. The scanning itself works fine, but as soon as it detects a VIRUS i get the following situation: - the SENDER of the email gets a notification (which is ok) - an email is created with "-Y" as SENDER, which is first sent to root. afterwards it creates an endless loop 'cause the user -Y is unknown (of course ;)) and bounces back, and so on... /var/log/mail looks like this: sendmail[27657]: JAA27657: from=<se...@gm...>, [...] proto=SMTP, relay=www.gmx.net [194.221.183.50] scanmails[27660]: execution started scanmails[27660]: FOUND VIRUS IN MAIL from se...@gm... to ch...@re... sendmail[27790]: JAA27790: from=amavis, [...] relay=amavis@localhost scanmails[27797]: execution started sendmail[27796]: JAA27796: from=amavis, [...] relay=amavis@localhost scanmails[27660]: terminating sendmail[27659]: JAA27657: to=<ch...@re...>, [...] mailer=amavis, relay=chris<@recipient.net.>, stat=Sent scanmails[27797]: No virus found sendmail[27877]: JAA27877: from=<-Y>, [...] relay=amavis@localhost scanmails[27797]: terminating sendmail[27792]: JAA27790: to=root, ctladdr=amavis (569/102), [...] mailer=local, stat=Sent scanmails[27883]: execution started scanmails[27883]: No virus found Nsendmail[27960]: JAA27960: to=<-Y...@re...>, [...], mailer=local, stat=User unknown sendmail[27960]: JAA27960: from=<-Y>, [...] relay=amavis@localhost sendmail[27960]: JAA27960: to=<-Y>, mailer=local, stat=User unknown sendmail[27960]: JAA27960: JAB27960: postmaster notify: User unknown scanmails[27962]: execution started scanmails[27962]: No virus found sendmail[28134]: JAA28134: from=<-Y>, [...] relay=amavis@localhost scanmails[27962]: terminating sendmail[27960]: JAB27960: to=root, [...], mailer=local, stat=Sent sendmail[27960]: JAA27960: JAC27960: postmaster notify: User unknown scanmails[28142]: execution started scanmails[28140]: execution started sendmail[27871]: JAA27796: to=...@gm..., ctladdr=amavis (569/102), [...] mailer=esmtp, relay=mx0.gmx.de., stat=Sent (ok 973584297 qp 8191) scanmails[28142]: No virus found sendmail[28483]: JAA28483: from=<-Y>, [...] relay=amavis@localhost scanmails[28140]: No virus found scanmails[28142]: terminating sendmail[27960]: JAC27960: to=root, [...] mailer=local, stat=Sent scanmails[27883]: terminating [...] I am using the configuration described in the several README-files of the distribution. The command 'causing this loop seems to be (/etc/sendmail.orig.cf): Mlocal, P=/usr/sbin/scanmails, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40, T=DNS/RFC822/X-Unix, A=scanmails -Y -a $h -d $u 'cause if i remove the "-Y" (A=scanmails -a $h -d $u) i get a similar result, just with "-a" as sender... ;) I tried several configurations, but always got the same result. Maybe someone know what's going on? Any help is appreciated! Chris |