question on virtusertable - sendmail
lists at jnielsen.net
Fri Nov 24 12:46:18 PST 2006
On Friday 24 November 2006 15:18, Giorgos Keramidas wrote:
> On 2006-11-24 15:04, David Banning
<david+dated+1164830658.2933e3 at skytracker.ca> wrote:
> >> @domain.com bounce
> >> You can define "bounce" in /etc/mail/aliases, or just leave it
> >> undefined (since it will probably bounce anyway).
> > I am looking at my /etc/mail/aliases
> > how would I define bounce?
> > I know I could simple send it to /dev/null, but I want it to bounce
> > back to the sender with a "no such user" error.
> How about bouncing from inside `virtusertable' itself?
> alpha at domain.com alpha
> beta at domain.com beta
> @domain.com error:nouser 550 No such user here
> I think this is the cleanest way to do something like the setup you
> described, since all the relevant information is kept closely packed
> together in `virtusertable' itself.
I thought there should be a better way than what I described. With this
approach you don't necessarily need a catchall entry. Just let the mail
flow through for everyone except exceptions listed in virtusertable.
More information about the freebsd-questions