View previous topic :: View next topic |
Author |
Message |
s.o.l.a.r.i.s n00b
Joined: 24 Dec 2003 Posts: 41
|
Posted: Sun Jan 22, 2006 3:21 pm Post subject: qmail -intelligent forwarding? [solved] |
|
|
Hello Forum,
I am proud to announce that I just setup my first mail-server: qmail + courier-imap + pop...
So now I am wondering, if qmail is capable of "intelligent" forwarding", if I may call it that. What I want is that each user can define rules, so that qmail forwards messages, which match certain criteria (i.e. words in the content, priority of the mail, sender's domain, words in the subject ... you know what I mean). That would for instance allow a user to have all emails which come from his girlfriend OR have priority: high, to be forwarded directly to the cell-phones email address.
My problem is, that I don't know much about qmail-internals. I am not looking for a complete suite (although I would be happy, if there was one), that solves my problem, but rather for a point and if neccessary a programming /script - language to start from.
Thanks, for your ideas,
Chris
Last edited by s.o.l.a.r.i.s on Sun Jan 22, 2006 10:32 pm; edited 1 time in total |
|
Back to top |
|
|
nielchiano Veteran
Joined: 11 Nov 2003 Posts: 1287 Location: 50N 3E
|
Posted: Sun Jan 22, 2006 6:39 pm Post subject: |
|
|
the solution you are looking for is called procmail.
instead of just dropping your mail in your mailbox, qmail hands it to procmail. Procmail then goes over it's rules and forwards/deletes/copies/... whatever you want. |
|
Back to top |
|
|
magic919 Advocate
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
|
Back to top |
|
|
s.o.l.a.r.i.s n00b
Joined: 24 Dec 2003 Posts: 41
|
Posted: Sun Jan 22, 2006 10:32 pm Post subject: |
|
|
awesome - thanks |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|