Re: savemail: cannot save rejected email anywhere

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gordon,
	Thanks for your rely.

On 08/15/2010 03:20 AM, Gordon Messmer wrote:
> On 08/14/2010 07:29 PM, Kevin J. Cummings wrote:
>>
>> 	Can someone please tell me where I can either configure sendmail to
>> save these somewhere for me, or how I can get SpamAssassin to not drop
>> these system "logwatch" emails (and *only* these logwatch emails) on the
>> floor.
> 
> Check the man page for Mail::SpamAssassin::Conf.  Locate the 
> whitelist_from_rcvd option.  That option will help you whitelist only 
> your logwatch messages.  You'll need the "From" address and the hostname 
> of the machine which sends them, as recorded in the headers of a message 
> that you successfully received.

The "From" address is:  root@xxxxxxxxxxxxxxxxxxxxxxx
which makes sense since it is being run directly as a cron.hourly
script.  I have added this whitelist_from_rcvd to
/etc/mail/spamassassin/local.cf.  I guess I'll have to wait and see what
happens on its next few runs.  The last of these emails that got tagged
as [SPAM] was 3:00 this morning.  And the last one I missed was on 8/13
at 07:00 in the morning.  I have restarted spamassassin after the changes.

> Your other option is to simply not run SpamAssassin on messages that you 
> receive from hosts under your control, but since you haven't told us how 
> you run SA, I don't know how you'd do that.

I had already tried to do that by adding this line to my
/etc/mail/spamassassin/local.cf file:

trusted_networks 192.168.6/24

and my mail server is on that network....  Do I need to do the same for
127.0.0.1?  (since the email is originating on the same system as the
mail server?)

And, yes, I did state that spamassassin is running directly as a
sendmail milter, but you neglected to quote that in your reply.

-- 
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux