"YOON, Joo-Yung" <[EMAIL PROTECTED]> writes:

> The configuration guide in the tmda.net says,
> ----------
> To use TMDA, you must make sure these variables are properly set by
> the time TMDA sees the message. TMDA expects these variables to be
> in the following format:
> 
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> EXTENSION=foo
> ----------------------------

What MTA are you using?  qmail, Postfix, Exim?

> Must I observe this? (In other words, can I skip this?  because I
> do not understand what it is for.)

You don't have to set them yourself.  You have to make sure that your
MTA is configured to set them.  qmail and Postfix do automatically.
You have to configure Exim to do so

http://tmda.net/config-pre.html#exim

and, if you are using Sendmail, you have to follow the instructions at
both of these pages

http://tmda.net/config-pre.html#sendmail

They will not be set to 'sender', or 'recipient+foo' or 'foo'.  They
will be set based on the piece of email you are receiving.  So, if I
send you an email, your MTA will set [EMAIL PROTECTED],
[EMAIL PROTECTED] and EXT=list-tmda (qmail) or
EXTENSION=list-tmda (all the other MTAs).

> And a little question on filter.
> My incoming filter is made as
> 
> from [EMAIL PROTECTED] accept

Do you know someone who has the email address '[EMAIL PROTECTED]'?  If
not, this won't help you.  'foo' is just an example.  To allow mail
from me, using the same example from above, your rule would look like
this

from [EMAIL PROTECTED] accept

If you plan on getting mail from more than 5 or 10 people, you should
put their email addresses into a file, one on each line.  You can name
the file whatever you want.  I'll call it 'whitelist' for this
example.  Many of us put it in the .tmda/lists directory -- in your
case, probably /home/yjy/.tmda/lists.  Then, you should put a rule in
your incoming filter that tells TMDA where to find the file, like this

from-file ~/.tmda/lists/whitelist accept

That will allow you to accept mail from anyone whose address is in
that file.


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to