[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] catch-all address, but kick some back
- Subject: RE: [cobalt-users] catch-all address, but kick some back
- From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun Sep 1 14:11:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>
> If you were feeling creative you could write your own
> sendmail wrapper for these accounts that would fake a bounce.
> The way I'd do it is to remove the catch all and send an
> email yourself to get a bounce for the exact formatting,
> replace the catch-all, and the get to coding. Basically in
> the wrapper you just add the appropiate bounce headers to the
> email and send it back out to the offending party (the party
> that you've grep'ed/awk'ed from the incoming email).
>
> Wouldn't be easy, no, but should do what you're wanting,
> assuming you can't find a better solution.
>
I think the easiest way would be to turn off the catch-all in the GUI
and configure the "no such user" addresses in the custom section of the
virtualusertable manually followed by the catchall. IIRC, it checks in
order from top to bottom which is why certain addresses like postmaster,
nobody, etc. still follow what is specified there.
e.g.
whatever@xxxxxxxxxxxxxx[tab]error:nouser No such user here
whatever2@xxxxxxxxxxxxxx[tab]error:nouser No such user here
@www.sample.net[tab]username
--
Dan Kriwitsky
Please reply to the list only. Offlist replies are not read.