Mark said: > Kurt, > > > Running Amavisd-new under FreeBSD 5.3-Release. > > I've just started using the aforementioned script, and it's > not doing > > exactly what I expect. In particular, when I run it either > as root or vscan > > (the amavis user) like so: # /usr/local/etc/rc.d/amavisd.sh restart > > I get .: Can't open %%RC_SUBR%%: No such file or directory > > > > The script is below - I have no idea what the line that reads > > . %%RC_SUBR%% > > is doing, but it seems to be the culprit. > > > # PROVIDE: amavisd > > # BEFORE: mail > > # KEYWORD: FreeBSD shutdown > > prefix=%%PREFIX%% > > Seems like you have a copy of the file: > /usr/ports/security/amavisd-new/files/amavisd.sh.in > in your /usr/local/etc/rc.d/amavisd.sh, instead of having > a preprocessed copy, as provided by 'make install'. > Try: make deinstall reinstall > > Mark
As this is a production machine, I can't do that, though I'll try it on a test machine and see what comes of it. :::::: LATER :::::: Test machine revealed the secret formula in /usr/ports/security/amavisd-new/work/amavisd.sh Works like a champ. Thanks for the tip. Kurt ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
