#1  
Old 30th June 2006, 12:17
hotchilli hotchilli is offline
Member
 
Join Date: Jan 2006
Posts: 60
Thanks: 2
Thanked 0 Times in 0 Posts
Default postfix/script

Could this script be run for utilsing the infomation mentioned in post thread:

http://www.howtoforge.com/forums/showthread.php?t=5256



# vim: set ts=4 shiftwidth=4:

SHELL=/bin/bash
PMDIR=$HOME/procmail
LOGFILE=$PMDIR/pmlog

# To insert a blank line between each message's log entry,
# uncomment next two lines (this is helpful for debugging)
## LOG="
## "

# Set to yes when debugging; default is no
#VERBOSE=yes

MAILDIR=$HOME/Mail # Make sure this directory exists!

#INCLUDERC=$PMDIR/rc.testing

:0fw
| /usr/bin/spamassassin

:0
* ^X-Spam-Flag: YES
spam/

:0
* ^Delivered-To: mail2news_munge@mydoamin\.com
| ~mail2news/bin/multipost -M

:0
* ^Delivered-To: mail2news_nospam@mydomain\.com
| ~mail2news/bin/multipost -m

:0
* ^Delivered-To: mail2news@mydomain\.com
| ~mail2news/bin/multipost


Hotchilli
Reply With Quote
Sponsored Links
  #2  
Old 1st July 2006, 12:55
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
 
Default

I don't know this mail2news tool, but make sure
Code:
MAILDIR=$HOME/Mail # Make sure this directory exists!
is correct.
I think it should be
Code:
MAILDIR=$HOME/Maildir # Make sure this directory exists!
but I'm not sure...
__________________
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
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


All times are GMT +2. The time now is 18:16.


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