 |
 |
 |
 |
|
 |
 |
 |
 |
 |
daveb
Joined: 29 Jun 2009 Posts: 12
 |
Posted: Wed Jul 01, 2009 3:22 pm Post subject: Mail Issues - Piping a virtual user to a application |
 |
|
I need to pipe a virtual mailbox to an application
I would normally use the alias functionality to do this but I am having trouble understanding how to do this function with the DTC managed domains
any ideas would help alot.
Thanks |
|
| |
|
|
|
 |
 |
 |
 |
 |
thedave
Joined: 30 Jun 2009 Posts: 3
 |
Posted: Wed Jul 01, 2009 4:11 pm Post subject: |
 |
|
i'm new to dtc and just learning about how it works, but in general this is accomplished with forwarding or procmail.
an example of using a user's .forward to pipe email through a program would be the vacation program:
| Code: |
| "|/usr/bin/vacation username" |
this may or may not work for other other programs based on any security restrictions in place, but the general syntax is "|/path/to/program".
as for procmail... that's too big a topic for a simple forum response, but there is tons of information to be found on the internet.
anyway, i'd start looking there.
d. |
|
| |
|
|
|
 |
 |
 |
 |
 |
daveb
Joined: 29 Jun 2009 Posts: 12
 |
Posted: Wed Jul 01, 2009 9:28 pm Post subject: |
 |
|
| Ok I have been searching ... where does the .forward live ? |
|
| |
|
|
|
 |
 |
 |
 |
 |
daveb
Joined: 29 Jun 2009 Posts: 12
 |
Posted: Fri Jul 03, 2009 3:10 am Post subject: |
 |
|
so I came up with a convoluted solution but a solution that works.
I set up fetchmail to query the DTC controlled mailboxes. I set up piping from fetchmail to the application.
Several hops but it does work |
|
| |
|
|
|
 |
 |
 |
 |
 |
|
 |
 |
 |
 |