Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th October 2006, 11:11
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default addtions to the mailgraph/pflogsumm HowTo

I am talking about this howto: http://www.howtoforge.com/mail_stati...raph_pflogsumm

I had spamassassin filtering the latest reports as spam due to these reasons:

1.0 NO_REAL_NAME From: does not include a real name

so I changed this line
Quote:
pflogsumm /var/log/mail.log.0 | formail -c -I"Subject: Mail Statistics" -I"From: pflogsumm@localhost" -I"To: postmaster@example.com" -I"Received: from www.example.com ([192.168.0.100])" | sendmail postmaster@example.com
into this line

Quote:
pflogsumm /var/log/mail.log.0 | formail -c -I"Subject: Mail Statistics" -I"Return-Path: pflogsumm@localhost" -I"From: Pflogsumm pflogsumm@localhost" -I"To: postmaster@example.com" -I"Received: from www.example.com ([192.168.0.100])" | sendmail postmaster@example.com
No I do not get punished for having no real name and there is a return path too.

Last edited by Ovidiu; 6th October 2006 at 14:27.
Reply With Quote
Sponsored Links
  #2  
Old 5th October 2006, 17:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Thumbs up

Nice one!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th October 2006, 04:11
curx curx is offline
Junior Member
 
Join Date: Oct 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

why not useing the "mail" command, like:

pflogsumm /var/log/mail.log.0 | mail -s "Mail Statistics" postmaster@example.com -- -F "The postmasters Fullname" -f postmaster@example.com

... not on every Server is formail installed!

Regards,
Thorsten
--
tsd@debian.systs.org - "apt-get moo"
Reply With Quote
  #4  
Old 23rd October 2006, 11:26
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
 
Default

one more thing:

because the pflogsumm contains a lot of the urls from severall blocklists (if you receive a lot of smaps) so the report could be filtered because of some other issues too, like you can see below:

Quote:
0.2 DNS_FROM_RFC_ABUSE RBL: Envelope sender in abuse.rfc-ignorant.org
4.1 URIBL_JP_SURBL Contains an URL listed in the JP SURBL blocklist
[URIs: pdibb.com]
2.1 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist
[URIs: moretoodo.com pdibb.com]
3.0 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist
[URIs: moretoodo.com]
on the authors page of pflogsumm he gives some examples how to avoid this, maybe someone can incorporate those tipps into the howto?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DSpam + Postfix Mail Gateway HowTo? Rocky Suggest HOWTO 2 5th November 2010 16:30
HowTo install ISPConfig on a STRATO-Server with Debian 3.1 TobiasTM Tips/Tricks/Mods 12 15th July 2008 11:08
Minor suggestion for debian perfect howto tdd_topdog Suggest HOWTO 2 12th July 2006 06:20
Samba as a PDC HOWTO help jesterking HOWTO-Related Questions 2 23rd February 2006 20:45
RHEL 4 Howto g8rbait Suggest HOWTO 12 29th December 2005 22:36


All times are GMT +2. The time now is 12:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.