Ive got a default dot-courier script to do some address rewriting so that I can have several domains associated with one user account.#!/bin/sh## Written 24Jan03 by Stephen S Kelley# last modified 24Jan03 SSK## this script delivers mail for addresses that have no specific accountsor aliases# give sysad all mail not matching specific domainsNEWADDR=[EMAIL PROTECTED]case $HOST in # rewrite [EMAIL PROTECTED] to [EMAIL PROTECTED] domain1) NEWADDR=[EMAIL PROTECTED] ;; # rewrite [EMAIL PROTECTED] to [EMAIL PROTECTED] domain2) NEWADDR=[EMAIL PROTECTED] ;; # return mail with mailbox unknown return ??? (what do I return here? Ive tried 64, 65, 67, 68, 69, 70, 76, 77, 78, or 112) ;;esacprintf $NEWADDR\nexit 0
This works fine except for addresses where there is no user
account and then the bounce reads:
The e-mail system was unable to
deliver the message, but did not report a specific reason. Check the
address and try again. If it still fails, contact your system
administrator.
brahma.virtustate.com #5.0.0
How can I get the bounce to report that the mailbox does not
exist on this server?
Dr. Stephen S. Kelley, President
VirtuState, Inc.
[EMAIL PROTECTED]
http://www.virtustate.com