Bruno Pereira <[EMAIL PROTECTED]> wrote: > > I put the procmailrc in the /etc/, I think that would make the changes > for all mail.
/etc/procmailrc runs with root privileges. You should be careful what you run there. You might wish to put "DROPPRIVS=yes" before any of this. > :0fw: spamassassin.lock > * < 256000 > | /usr/bin/spamassassin Because of the lock file, if multiple deliveries are occurring at once, only one of them will be able to run spamassassin at a time. This will slow down mail delivery if you receive a lot of mail. It will also keep your system load from shooting upwards when you receive a burst of mail. You might want to consider using spamc/spamd, and running without a lock file, if you want better performance and are confident that you do not receive mail in bursts larger than your server can handle. Note that messages larger than 256K will not be processed by spamassassin due to the restriction shown. > :0e > { > EXITCODE=$? > } This portion indicates that if spamassassin fails for any reason, the mail will be BOUNCED back to the sender with a failure code. This is NOT a good idea. > :0: > * ^X-Spam-Status: Yes > SPAM Messages tagged as spam will be saved in the folder "SPAM", but where will that folder be placed? Normally folders are placed in $MAILDIR, which by default is $HOME/Mail, but whose $HOME will be used? Since /etc/procmailrc runs as root, my guess would be ~root/Mail, but you may wish to do some testing to see if this is correct. It *might* be storing the mail in each users $HOME/Mail/SPAM. Storing mail where your users can't find it is a bad idea. > And, I send a mail with a user that is not registered in the server, > to many people, and the mail was delivered, that can be true? I'm not sure what you are asking here. Do you mean that you sent a message from your server, whose From address was a fake user, not actually found on that server? There is nothing to prevent this from happening, though replies won't be received to such a message. This has nothing to do with spamassassin, though... > I'm here to say thanks to all those people out there that gave me very > good help....none what so ever...so thanks very much...... Please find enclosed, a full refund for the purchase price of your support contract. -- [EMAIL PROTECTED] (Fuzzy Fox) || "Good judgment comes from experience. sometimes known as David DeSimone || Experience comes from bad judgment." ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk