Jeremy Runner wrote:
> What is the purpose of the info below in the badmailfrom file. I could
> not receive or send for one of the domains I created until I removed the
> info.
These are regular expressions that are compared to the "envelope's" sender
address. If it matches, the mail is rejected with an appropriate message.
I'll do my best to translate each one into english. Please cut me some slack
if I don't get them quite right.
> .*\ @.*
This says: any number of (*) any character (.) followed by a space (\ )
followed by an 'at' character (@) followed by any number of any character
(.*). Simply put, it's checking for a space before the @ sign.
As I understand it, the initial '.*' and trailing '.*' are not needed, as
the regex (qregex, actually) is matched against any substring of the
address, not the entire address. Thus,
\ @
would accomplish the same thing.
> [EMAIL PROTECTED]
This one says: not any number (*) of (!) any character (.) followed by an
'at' character (@) followed by any number of any character (.*) followed by
a period (\.) followed by any number of any character (.*). Simply put, it's
looking for "@something.", and if it doesn't find it, it's rejected.
Once again, this could be simplified as:
@.*\.
> .*%.*
You want to guess what this is doing?
Ok, scroll down for the answer.
It's looking for a percent sign! Again, simply
%
would do. I'm guessing that this might have been the one causing you problems.
I wonder why we need these qregex's in the badmailfrom file for the basic
toaster. I'm thinking that chkuser checks for all this stuff (and a whole
lot more). Are these leftovers from the toaster's pre-chkuser days?
Then again, maybe I'm missing something.
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]