From: Franki <fr...@gs...> - 2001-05-31 06:44:56
|
yep, amavis-perl-11 I followed the instructions to the letter with readme.sendmail, modified sendmail.cf exactly as detailed in the readme and saved the original as sendmail.orig.cf These are the mods listed in that readme file.... ###################################################### a) open /etc/sendmail.cf in your favorite editor b) change the queue directory, i.e. to O QueueDirectory=/var/spool/mqamavis c) change the status file, i.e. to O StatusFile=/var/log/amavis.st d) change rule set 0 to R$* $: $>Parse0 $1 initial parsing R<@> $#local $: <@> special case error msgs R$* $: $>98 $1 handle local hacks R$* $#amavis $:$1 #R$* $: $>Parse1 $1 final parsing Be carefull of tabs, so here's the code again, instead of [tab] press the tab key :-) R$*[tab][tab]$: $>Parse0 $1[tab][tab]initial parsing R<@>[tab][tab]$#local $: <@>[tab][tab]special case error msgs R$*[tab][tab]$: $>98 $1[tab][tab]handle local hacks R$*[tab][tab]$#amavis $:$1 #R$*[tab][tab]$: $>Parse1 $1[tab][tab]final parsing Add the new mailer defintion: Mamavis, P=/usr/sbin/amavis, F=mlsACDFMS5:/|@qhP, S=0, R=0 T=DNS/RFC822/X-Unix, A=amavis $f $u ################################################################ got all the perl modules and the compress utils loaded as well and then did the: ./configure --enable-relay --enable-sendmail It compiled it, and then did make and make install.... it created /usr/sbin/amavis and I have virusscan installed which it also found... the error shows up in /var/log/mail/errors as not being able to find /usr/sbin/scanmails Which I thought was part of an earlier version, so I checked the mods I made to sendmail.cf and there is no reference to scanmails, so I don't know why it is asking for scanmails. I thought maybe scanmails should be a link to /usr/sbin/amavis, so I created a sym link to that effect, no diference, then I actually make a copy of amavis called scanmails in that dir,, and that didn't work either.. As I said, the only thing that shows up in the log is a cannot find /usr/sbin/scanmails no such file or directory, like so: f4T86VL15134: SYSERR(root): Cannot exec /usr/sbin/scanmails: No such file or di f4T86VL15134: SYSERR(root): Cannot exec /usr/sbin/scanmails: No such file or di f4T86VL15134: SYSERR(root): Cannot exec /usr/sbin/scanmails: No such file or di f4T86VL15134: SYSERR(root): Cannot exec /usr/sbin/scanmails: No such file or di f4T86VL15134: SYSERR(root): Cannot exec /usr/sbin/scanmails: No such file or di Why is it asking for scanmails when I was under the impression that scanmails was from an earlier version of amavis? (I definatly have amavis-perl-11 downloaded off the web page 3 days ago. the filename I downloaded was: amavis-perl-11.tar.gz) virusscan is working perfectly, I have actually put the test virus file onto the servers filesystem and then scanned and found it.... so the virus prog is working. /var/spool/mqueue is owner:root and group:mail and chmod 40755 /var/spool/mqamavis is owner:amavis group:amavis and chmod 40755 I am alittle lost as to what to do here,,,, I was about to try recompiling sendmail to use milter, but I'd rather not to be honest.... as doing it the way detailed above is more my speed at present, for many reasons, one of which is that I regularly update all my linux installs to stop possible security problems, and I don't want to have to custom compile sendmail each time I do it,,, and the method above is easy to adopt with new installs... So I guess what I need to know is do I have to load the older amavis on to get the scanmails file? Have I made a mistake in my ./configure --enable-relay --enable-sendmail that it even asks for that file? Many thanks for helping me out here, it is very much appreciated. kindest regards Frank... -----Original Message----- From: ama...@li... [mailto:ama...@li...]On Behalf Of Rainer Link Sent: Wednesday, 30 May 2001 11:05 PM To: Franki Cc: ama...@li... Subject: Re: [AMaViS-user] Ummm, how do you set ownership to a user that doesn't exist?? On Wed, May 30, 2001 at 07:34:17AM +0800, Franki wrote: > (most of the probs had nothing to do with amavis itself, but rather getting > all the perl modules loaded,, (long story, but none of them would "make" > becuase of mandrakes perl setup..) So, you're using amavis-perl, I assume. > Unfortunatly, I got no error messages and no emails went though.. the mail > seemed to just disappear, there was nothing in /var/spool/mqamavis or the > normal queue dir,,,,, Hum, did you read README.sendmail _carefully_ ? Esp. the example configuration section?! Moreover, please provide us with some snippets from sendmail's log (i.e. /var/log/mail) and the permissions of /var/spool/mqeue and /var/spool/mqamavis. best regards, Rainer Link -- Rainer Link | SuSE - The Linux Experts li...@su... | Developer of A Mail Virus Scanner (amavis.org) www.suse.de | Founder OpenAntiVirus Project (www.openantivirus.org) _______________________________________________ AMaViS-user mailing list AMa...@li... http://lists.sourceforge.net/lists/listinfo/amavis-user |