I'm trying to use qmail with the Cyrus IMAP server with no local users,
and I've almost got it completely down.  I've got a number of
virtualdomains being sent to alias-<domain> and then a
~alias/.qmail-<domain>-default is delivering it to the Cyrus server.
However, Cyrus doesn't have any inherent notion of domains, so if I want
to have [EMAIL PROTECTED] and [EMAIL PROTECTED] be different users, I have to
give them separate ids in the Cyrus server.  The problem here is that if
[EMAIL PROTECTED]'s id is bob and [EMAIL PROTECTED]'s is bob2, and then
someone sends mail to [EMAIL PROTECTED], Cyrus will just try to deliver it
into [EMAIL PROTECTED]'s maildrop, which is not what I want.  I want qmail
to bounce it.  Now qmail has no way to know to do this unless I tell it
to, which is fine, but I can find no way to get it to manually reject them
cleanly.

I've tried using fastforward and having a catch-all @domain3.com:nosuchuser
and then creating a ~alias/.qmail-nosuchuser that returns a hard error,
but then the sender gets back a bounce that [EMAIL PROTECTED] was
rejected, and if they look hard enough, they'll see what it refers to, but
it's still confusing at best.  It'd be nice if there was some way to tell
qmail that messages to this address should be bounced, but I can't figure
out how.  Can someone tell me how I might be able to do that?

-Bitt

Reply via email to