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 [EMAIL PROTECTED] 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 "[EMAIL PROTECTED]". 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 [EMAIL PROTECTED] You'll probably also want to modify the postmaster user to have its mail get forwarded to [EMAIL PROTECTED]

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  -  [EMAIL PROTECTED]
Vpopmail - virtual domains for qmail: http://vpopmail.sf.net/
QmailAdmin - web interface for Vpopmail: http://qmailadmin.sf.net/

Reply via email to