8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] "Best" method for...
FromSent OnAttachments
Rod CollenJun 22, 2002 12:59 pm 
Sam VarshavchikJun 22, 2002 4:52 pm 
Mark ConstableJun 22, 2002 9:36 pm 
Daniel HigginsJun 22, 2002 10:27 pm 
Daniel HigginsJun 22, 2002 10:27 pm 
Daniel HigginsJun 22, 2002 10:27 pm 
Mark ConstableJun 22, 2002 11:16 pm 
Daniel HigginsJun 23, 2002 12:02 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] "Best" method for forwarding mail, sendmail virtualusertableActions...
From:Daniel Higgins (dhig@netc.net)
Date:Jun 22, 2002 10:27:41 pm
List:net.sourceforge.lists.courier-users

i have, it works nicely. except that it's less than ideal if you're trying to automate the login/aliases creation process from a separate box whitout too much hassle.

beside creating tons of gay php scripts (or whatever you prefer) that runs on an apache server, the other solution is implementing an ssh client in your controlling application... not quite an easy task (well, maybe easy, but certainly not something you can do in a few minutes)

----- Original Message ----- From: "Mark Constable" <mar@renta.net> To: <cour@lists.sourceforge.net> Sent: Sunday, June 23, 2002 12:36 AM Subject: Re: [courier-users] "Best" method for forwarding mail, sendmail virtualusertable

Rod Collen wrote:

Basically, I want to mimic sendmail's virtusertable so I can forward mail like this: john@domain_i_host.com to jo@hotmail.com where john doesnt exist as a user on my system.

I am using MySQL so it would be great if it could be done there, I haven't experiment with that yet but at a glance it doesn't look like that would work.

One way is to create an alias@domain_i_host.com entry in your MySQL table and a .courier-john file wherever the home directory is and include the remote email address in that file. A .courier-default is also needed, in this case, to redirect all other wildcard entries to some other default user for this domain.

A simpler method might be to use "john@domain_i_host.com: jo@hotmail.com" in an aliases file but I have not tested this.

------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/