> The proper term is "forward". A "bounce" is a nondelivery notification.
> 
> >appropriate user somewhere else on the net). I only have limited outgoing
> >bandwidth (but virtually unlimited coming in), so I would much rather reject
> >e-mails than send them to the user or bounce the entire e-mail back to the
> >originator.
> 
> Rejection can only be done by qmail-smtpd. Out-of-the-box, the only
> mechanism for rejecting based on size is databytes, via the

Another strategy, is to control it via a .qmail file for that alias.

I note you say you have "virtually unlimited coming in" so in your
.qmail file for that particular alias you could go*:

| [ `wc -l` -gt 20000 ] && echo Too big && exit 100;exit 0
&remote-address

That will bounce all messages that are larger than 20,000 bytes. Otherwise
they will be forwarded.


Regards.

* Untested script - no warranty.

Reply via email to