

![]() | 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: |
3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] qmail aliases and mai...
![]() | 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] qmail aliases and mailfiltering - working | Actions... |
|---|---|---|
| From: | David (abba...@smartchat.net.au) | |
| Date: | Sep 26, 2002 12:38:41 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Ah boy, must a been the work load, but I had not thought of forwards instead of aliases, changed the .qmail-alias_user to read
&real_user@some.domain
and all was fine :)
I would still be interested if something similar could be achieved using aliases instead of forwards though.
Regards
----- Original Message ----- From: "David" <abba...@smartchat.net.au> To: <cour...@lists.sourceforge.net> Sent: Thursday, September 26, 2002 1:14 PM Subject: [maildropl] qmail aliases and mailfiltering
Hi all,
What I am trying to do is get aliased accounts filtered, ie, mail sent to an alias, which goes to the real user gets caught by maildrop, so that it can be collated properly. The .qmail-alias_user only re-directs the mail to the users Maildir, doesnt seem to allow it to be handled by either vdeliver, or maildrop (cause it doesnt seem to be re-placed in the queue.. just physically moved)
This one is puzzling me a bit, and is probably not too hard, but a search of the archives on both here and the vpopmail list didnt seem to show a reult.
Setup - qmail, vpopmail, maildrop (all working, individual .mailfilter files, also working)
I have various aliases created, which create the appropriate ~vpopmail/domains/some.domain/.qmail-alias_user file, something like this
content of .qmail-alias_user /home/vpopmail/domains/some.domain/real_user/Maildir/
this works 'properly' in that it ends up placed in the 'real' users Maildir.
However I also have an entry in the 'real' users mailfilter, that should take mail being sent to this alias, and re-direct it to a folder for easy collation... something like this
~vpopmail/domains/some.domain/real_user/.mailfilter looks something like this: ################### #header - To: #match - alias_user@some.domain #delivery - to - alias_user (the folder I want it to end up in)
exception { if (/^To: *alias_user@some\.domain$/) { to "$VHOME/Maildir/.alias_user/" } } ############################
(should move any mail received that was sent to alias_user to the folder I have to collect it all)
This file is included into a domain wide mailfilter (used for SPAM stuff) and the format works.
However, this one, even though the To IS alia...@somedomain.com still ends up in the real_user INBOX.
I would guess (have been reading tho I am not sure bout this) that it may be because the .qmail-alias_user hasnt got anything in it to allow it to be handled by maildrop, and isn't placed back for vdeliver to process, just moved to the Maildir/ of the real user.
I was wondering what I would need to do to the .qmail-alias (if that is the right place), to re-process it perhaps so that the real users .mailfilter catches it out of the queue, either that, or if anyone has done this sort of thing, if you could give me a few pointers on how you did it, it would be really appreciated.
Thanks heaps
David
(learnin more every day)
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop







