This might work better then: $(echo $RECIPIENT | sed -E "s/^${HOST}-([EMAIL PROTECTED])+.*/[EMAIL PROTECTED]/")
This is assuming no usernames have a - in their username. Q On Sat, 18 Nov 2006 13:14:28 -0600, Matt Decker wrote: > The following doesn't work in a few cases: > > $(echo $RECIPIENT | sed -r 's/[^-]+-//') in place of > [EMAIL PROTECTED] in your .qmail file --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]