GPLHost Dedicated and xen servers
GPLHost:>_ Dedicated, shared, Xen virtual private servers, managed and domain name hosting woldwide with open source control panel here
Domain Technologie Control Forum Forum Index Domain Technologie Control Forum
Take the control of your domain name


Mail Issues - Piping a virtual user to a application

 
Post new topic   Reply to topic    Domain Technologie Control Forum Forum Index -> General help and Debian specific support
View previous topic :: View next topic  
daveb



Joined: 29 Jun 2009
Posts: 12

 PostPosted: Wed Jul 01, 2009 3:22 pm    Post subject: Mail Issues - Piping a virtual user to a application Reply with quote Back to top

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
 
View user's profile Send private message
thedave



Joined: 30 Jun 2009
Posts: 3

 PostPosted: Wed Jul 01, 2009 4:11 pm    Post subject: Reply with quote Back to top

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.
 
View user's profile Send private message
daveb



Joined: 29 Jun 2009
Posts: 12

 PostPosted: Wed Jul 01, 2009 9:28 pm    Post subject: Reply with quote Back to top

Ok I have been searching ... where does the .forward live ?
 
View user's profile Send private message
daveb



Joined: 29 Jun 2009
Posts: 12

 PostPosted: Fri Jul 03, 2009 3:10 am    Post subject: Reply with quote Back to top

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
 
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Domain Technologie Control Forum Forum Index -> General help and Debian specific support All times are GMT
Page 1 of 1

 
Jump to:  
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




Powered by phpBB© 2001-2005 phpBB Group
- Web hosting - Xen VPS hosting
- Seek