

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
7 messages in net.sourceforge.lists.courier-maildropRE: [maildropl] Reformail not creatin...| From | Sent On | Attachments |
|---|---|---|
| Alex Needham | Sep 24, 2004 8:04 am | |
| Tony Earnshaw | Sep 24, 2004 12:33 pm | |
| Sam Varshavchik | Sep 24, 2004 4:34 pm | |
| Alex Needham | Sep 27, 2004 7:35 am | |
| Alex Needham | Sep 27, 2004 7:51 am | |
| Tony Earnshaw | Sep 27, 2004 12:12 pm | |
| Tony Earnshaw | Sep 27, 2004 5:43 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | RE: [maildropl] Reformail not creating duplicate database | Actions... |
|---|---|---|
| From: | Alex Needham (alex...@intersystems.com) | |
| Date: | Sep 27, 2004 7:51:24 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hi Tony
I'm glad some one else is trying to get the best of breed running as well.
Thanks for your response a few clarifications below, there seems to be some discuusion as to mailbot as a vacation tool?
-----Original Message----- From: cour...@lists.sourceforge.net [mailto:cour...@lists.sourceforge.net] On Behalf Of Tony Earnshaw Sent: 24 September 2004 20:10 To: cour...@lists.sourceforge.net Subject: Re: [maildropl] Reformail not creating duplicate database
fre, 24.09.2004 kl. 17.03 skrev Alex Needham:
Just struggling to get final touches on mail system.
"Well", he answered cautiously, "I hvae more or less what you want working perfectly. Mind you, note the more or less".
Redhat ES 3.0 update3
Check, though update 2 on this rig.
MTA postfix 2.0.16
Postfix 2.1.5
LDA courier maildrop-1.7.0.20040907
Check.
POP/IMAP courier 3.07
Check.
Postfix
mailbox_command = /usr/bin/maildrop -d ${USER} -w 70
Not here. "mailbox_command = /usr/local/bin/dspam --mode=tum --deliver=innocent,spam --feature=whitelist,chained,noise --user $USER -d %u"
What happens is, that Postfix local(8) delivers to dspam, which delivers to /usr/local/bin/maildrop -d %u -w 90. See? It all boils down to the same.
Further:
Seemed to be the way to go from the readme,
Yep.
I can use mailbot for out of office, do some simple .mailfilter(ing), but having real trouble with reformail
mailbot for vacation messages is, basically, a no-no. reformail is the answer. Actually, the maildrop docs figure almost completely.
Mailbot just seems so easy to use
Following the example given in the man page and just to sanity check I wrote the following filter:-
.mailfilter
I use /etc/maildroprc, but never mind ...
logfile "maildrop-filter-log" if (/^Subject: dup/ ) { 'reformail -D 8000 duplicate.cache' cc "| /usr/bin/mailbot -t some.txt -s 'The return Code is $RETURNCODE' /usr/sbin/sendmail -f aper...@example.com" }
So I can send a test message with the subject 'dup' and get it cced, hopefully with reformails RETURNCODE, when I get the cced message there is no value for the $RETURNCODE.
I don't know where the duplicate.cache is created
This is daft - you ain't thinking straight, here. 'reformail -D 8000 duplicate.cache' has nothing to do with Subject:, everything to do with Message-ID:
I know it's a message id database, I just wanted to see if the $RETURNCODE was getting set, and if it was what its value was, and if I could get that out of maildrop into a message
If a message is a dupe (Message-ID:), it will get recorded in ~/Maildir/duplicate.cache (at least, where I use ~/Maildir and not /var/spool/mail/$uid it does).
I would expect the users home dir, maybe once this is solved reformail will start working and I can start fine tuning to stop duplicates.
reformail works. Moreover, it gives you the chance to use super-customized, own-design vacation concepts that are not even in Google yet! At least, mine aren't ;)
I can have a user create a "vacation" (actually "vakantie" - Dutch for "vacation") directory, send a mail to himself with his vacation message and drag it to his vakantie directory and have maildrop/reformail do a complete ucb vacation (excluding bulk senders, database, automatic answers, recipient notification, etc) routine on it until he's back and deletes and expunges his vakantie directory. All IMAP, all MUA-client, no ftp (God forbid) necessary, no hassle. Don't ask me how, please, it's mostly documented in the reformail docs. What isn't is one's own shell/sed/awk scripting skills. Can't help with those.
A little bit of futher investigation shows the $RETURNCODE just does not seem to be being set, using 'test -f some.txt'.
Any help greatly appreciated
Depends. You're thinking wrong.
Tel +44 1753 829681
Basically, the +44 (even though I'm +31, would really rather be +47 - but that's another story) was the primer.
Norway nice place, pretty cold in January.
And the primary person to thank is Sam Varshavchik. He done give you the tools to create your own super-supple, multi-faceted mail recipient structure. Yes, you have to read all of the docs, many times. Yes, you have to think and try things out for yourself, many times. Above all, you have to be a shell (me ksh)/sed/awk proficionado.
Thanks Sam! For (in combination with Wietse Venema and Jonathan Zdziarski) producing the best client mailserver software available, at any price ;)
--Tonni
--Tonni
--
... I may go out tonight if I can borrow a coat to wear ... ... it's just amazing how fair people can be ...
mail: ton...@billy.demon.nl http://www.billy.demon.nlThey love us, don't they, They feed us, won't they,
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop







