[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vchkpw
Subject:    Re: [vchkpw] Forwarding spec. users w/o local domain
From:       Tom Collins <tom () tomlogic ! com>
Date:       2006-06-28 17:20:34
Message-ID: bd219fa12372f8a6b161dcf1beb307d0 () tomlogic ! com
[Download RAW message or body]

On Jun 28, 2006, at 6:11 AM, Ted Fines wrote:
> Does anyone have any ideas on how to accomplish this goal, using  
> qmailtap or something else?

If the server that accepts mail for macalester.edu can be convinced to  
accept mail for somehost.macalester.edu, you can use vpopmail and  
qmailadmin to accomplish your goals.  Make sure  
user@somehost.macalester.edu is working correctly before modifying your  
gateway system.

Stop qmail-smtpd and qmail-send before doing any of this, to make sure  
you get it set up right.

You're going to add macalester.edu as a vpopmail domain on your gateway  
system.  Change the catchall to "$EXT@somehost.macalester.edu".  If  
you're using qmailadmin, you can just enter "@somehost.macalester.edu"  
as the catchall email address, and it will automatically set it up.

Here's the feature request on that undocumented feature:  
<http://sourceforge.net/tracker/index.php? 
func=detail&aid=910410&group_id=6691&atid=356691>

Remove the entry from smtproutes.  At this point, you might be able to  
start qmail-send (leaving qmail-smtpd off) and use qmail-inject to  
inject a test message.  Watch the logs to make sure it gets through.   
If so, you can start qmail-smtpd back up.

Now, add aliases for the addresses you want forwarded elsewhere.  Use  
QmailAdmin, or just create a .qmail-user45 file in the domain  
directory.

If an alias exists, the email will be forwarded.  If it doesn't exist,  
it will go to user@somehost.macalester.edu.  You'll probably also want  
to modify the postmaster user to have its mail get forwarded to  
postmaster@somehost.macalester.edu.

If you really want to be safe, you could add the domain as test.com  
first, make sure everything works (using qmail-inject, or manually  
telnetting to port 25 on localhost) before doing it with the real  
domain.

--
Tom Collins  -  tom@tomlogic.com
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic