Rod Collen wrote:

>I am trying to mimic sendmail's virtusertable to foward all mail to a domain
>to an account on a remote host. How do I go about doing this?

Heres a copy of a mail on this list a couple days ago:

Create a virtual user of "alias@[yourdomain.com]" (change 
[yourdomain.com] to your domain in question, but the "alias@" is 
mandatory). Note the [UID] and [GID] of that new user you made, as you 
need it for the following commands:

mkdir /pathto/[yourdomain.com]dir/alias
/pathto/courier/bin/maildirmake /pathto/[yourdomain.com]dir/alias/Maildir
chown -R [UID].[GID] /pathto/[yourdomain.com]dir/alias
chmod -R 700 /pathto/[yourdomain.com]dir/alias

vi /pathto/[yourdomain.com]dir/alias/.courier-default

In the file ".courier-default" put your email address where you want all 
non-matched emails to go to for that virtual domain.

So, in your case, fill the .courier-default with the destination address 
you want all mail sent too that goes to *@domain.com.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Two, two, TWO treats in one.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to