[Balug-talk] virtusertable and reg ex-like functionality
amaterasu2915 at yahoo.com
Fri Jan 14 11:14:59 PST 2005
Sorry about that. I am using Red Hat 9, with Sendmail
I'm not sure how to describe the config, perhaps you
mean the sendmail.mc or .cf files? I've changed a
couple things there, such as allowing for the domain
to be masqueraded for all outgoing emails and such.
Otherwise it's quite similar to the default
As an aside, virtusertable seems to work fine in
sifting and redirecting incoming emails. I just don't
know how to get it to sort at a regex-like level of
detail -- if that is even at all possible.
Thanks for you help.
--- William Pietri <william at scissor.com> wrote:
> On Thu, 2005-01-13 at 18:18 -0800, Eric Yoon wrote:
> > So ideally, I'd like my server to accept
> > addresses that fit a user[0-9]+[@]mail.domain.com
> > nomenclature, and then reject all others,
> resulting in
> > a rebound of the incorrect email. Is is possible
> > do this using virtusertable?
> It might be helpful if you explained what mail
> package you're using,
> what version it is, and what the config that calls
> the virtusertable
> looks like...
> William Pietri <william at scissor.com>
> Balug-talk mailing list
> Balug-talk at balug.org
I had another question for the group, regarding the
use of regular expression-like sorting in
virtusertable. As I noted in a previous message to
the group (which, by the way, has answered every
question and solved every problem I have submitted to
it, thank you!) I am developing a web site that
provides members with forwarding addresses.
The forwarding address would take a form like this,
user3214 at mail.domain.com
the "3214" would be a set of numbers that is unique to
Ideally, I'd like my virtusertable to handle the
sorting of such forwarding addresses. For example:
Unfortunately, the above use of reg ex directly in
virtusertable doesn't work. Is there perhaps a way of
getting the same functionality?
Ideally, the server would carefully accept forwarding
email addresses that fit a certain format, and send
them for processing to the remailer alias. The rest,
it would not even allow into the system, and the
sender would get the usual "undelivered"
I can set up a system in which the remailer program
takes in all emails directed to @mail.domain.com,
stores the data from those emails that fit the above
regular expression, and discards all others. But I
realized that that may not be an optimal solution --
people may make honest mistakes, and I'd like for them
to know that their email has been rejected. I could
have my program send out an alert for each rejection
on its own, but it seems that that would be cumbersome
for my system and mail server.
So ideally, I'd like my server to accept forwarding
addresses that fit a user[0-9]+[@]mail.domain.com
nomenclature, and then reject all others, resulting in
a rebound of the incorrect email. Is is possible to
do this using virtusertable? Or is there perhaps some
other method that I'm not aware of? Thank you for
Beginner Linux/PHP/mySQL user
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
More information about the Balug-talk-balug.org