| Newsgroups |
gmane.mail.spam.tmda.user |
| Message-ID |
<[email protected]> |
--===============5797579057337641435==
Content-Type: multipart/alternative; boundary=000e0cd66e6e941f9e049f455560
--000e0cd66e6e941f9e049f455560
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
ok...
well Kevin.
I need:
when someone sends an email to me, return an email asking for the person
clicks on the link to be included on a whitelist.
I already read
http://tmda.sourceforge.net/cgi-bin/moin.cgi/TmdaConfiguration
If I follow
"TMDA Server Configuration (Exim and Postfix only)"
1.
Finish setting up your *~/.tmda/config* and optionally a system-wide *
/etc/tmdarc* by reading through the included *contrib/dot-tmda/config*fi=
le.
*MAIL_TRANSFER_AGENT*, *DELIVERY*, and *RECIPIENT_DELIMITER* are require=
d
entries for non-qmail users.
2.
Modify *~/.forward* to send your mail through tmda-filter.
"| /path/to/bin/tmda-filter"
If this produces a bounce with an *env: python: No such file or director=
y
* error, you will need to add the full path to your Python interpreter,
e.g,:
"|/path/to/bin/python /path/to/bin/tmda-filter"
3.
If you already filter your mail with procmail and wish to continue doing
so, you can invoke tmda-filter from your *.procmailrc* instead.
Make sure your *~/.forward* calls procmail with the *-p* option, as show=
n
below. This is to ensure that the SENDER, EXTENSION, and RECIPIENT
environment variables that are created by Exim/Postfix are passed throug=
h to
filter applications (i.e. TMDA) that are called by procmail.
"|/path/to/bin/procmail -p"
Finally, add the following snippet to the end of your existing *
.procmailrc* to do final delivery:
# Run the message through tmda-filter. :0 w |
/path/to/bin/tmda-filter # Take the exit code from TMDA. EXITCODE=3D$?
# TMDA takes care of final delivery DEFAULT=3D/dev/null
4.
If you already filter your mail with maildrop and wish to continue doing
so, you can invoke tmda-filter from your *.mailfilter* instead.
Add the following snippet to the end of your existing *.mailfilter* to d=
o
final delivery:
import SENDER import RECIPIENT import EXTENSION to "|
/path/to/bin/tmda-filter"
I can do want I need?
Thanks!
2011/3/24 Kevin Goodsell <[email protected]>
> On Thu, Mar 24, 2011 at 1:17 PM, [email protected]
> <[email protected]> wrote:
> >
> > Well...
> > the TMDA doesn't work.. message pass to postfix.
> >
> > What I'm doing wrong?
>
> It's not clear what you are expecting. Are you looking for outgoing mail
> to pass through TMDA, or incoming mail? postfix will get incoming mail
> (as it should), and if you've configured TMDA in your .forward file
> postfix should deliver the mail to TMDA. It looks like perhaps you
> haven't done that.
>
> Outgoing mail has to be configured separately. Either you need your mail
> client to send via tmda-sendmail or you need to run tmda-ofmipd and
> configure your mail client to use that as the outgoing mail server.
>
> Have you followed the configuration instructions?
>
> http://tmda.sourceforge.net/cgi-bin/moin.cgi/TmdaConfiguration
>
> -Kevin
>
--=20
Atenciosamente;
Graciously;
*Lucas Possamai
*
http://psyscrew.posterous.com/
"Na palma da tua m=E3o existem sonhos, felicidades e a for=E7a que te guia =
por
um caminho, que somente voc=EA poder=E1 trilhar, com o olhar tranquilo sabe=
r=E1s
onde chegar.o fim =E9 apenas mais um ponto para inventar uma nova conquista=
."*
*
--000e0cd66e6e941f9e049f455560
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
ok...<br>well Kevin.<br><br><span id=3D"result_box" class=3D"long_text"><sp=
an style=3D"background-color: rgb(255, 255, 255);" title=3D"eu quero que:">=
I need:<br></span><span style=3D"background-color: rgb(255, 255, 255);" tit=
le=3D"quando algu=E9m envie um e-mail para mim, retorne um e-mail pedindo p=
ara a pessoa clicar no link, para ser inclu=EDda na lista branca.">when som=
eone sends an email to me, return an email asking for the person clicks on =
the link to be included on a whitelist.</span></span><br>
<br>I already read <a href=3D"http://tmda.sourceforge.net/cgi-bin/moin.cgi/=
TmdaConfiguration" target=3D"_blank">http://tmda.sourceforge.net/cgi-bin/mo=
in.cgi/TmdaConfiguration</a><br><br>If I follow <br><h5 id=3D"head-5a965a91=
e8dcbcd90acb4fea380cf7e7ba8ea844">
"TMDA Server Configuration (Exim and Postfix only)"</h5><br><ol t=
ype=3D"1"><li><p class=3D"line862">Finish setting up your <strong>~/.tmda/c=
onfig</strong> and optionally a system-wide <strong>/etc/tmdarc</strong> by=
reading through the included <strong>contrib/dot-tmda/config</strong> file=
. <strong>MAIL_TRANSFER_AGENT</strong>, <strong>DELIVERY</strong>, and <str=
ong>RECIPIENT_DELIMITER</strong> are required entries for non-qmail users. =
<br>
<br>
<span class=3D"anchor" id=3D"line-47"></span></p></li><li><p class=3D"line=
862">Modify <strong>~/.forward</strong> to send your mail through tmda-filt=
er. <span class=3D"anchor" id=3D"line-48"></span><span class=3D"anchor" id=
=3D"line-49"></span></p>
<pre> "| /path/to/bin/tmda-filter"</pre><span class=3D"anchor" i=
d=3D"line-50"></span><p class=3D"line862">If this produces a bounce with an=
<em>env: python: No such file or directory</em> error, you will need to ad=
d the full path to your Python interpreter, e.g,: <span class=3D"anchor" id=
=3D"line-51"></span><span class=3D"anchor" id=3D"line-52"></span></p>
<pre> "|/path/to/bin/python /path/to/bin/tmda-filter"</pre><span=
class=3D"anchor" id=3D"line-53"></span></li><li><p class=3D"line862">If yo=
u already filter your mail with procmail and wish to continue doing so, you=
can invoke tmda-filter from your <strong>.procmailrc</strong> instead. <br=
>
<br>
<span class=3D"anchor" id=3D"line-54"></span>Make sure your <strong>~/.for=
ward</strong> calls procmail with the <strong>-p</strong>
option, as shown below. This is to ensure that the SENDER, EXTENSION,=20
and RECIPIENT environment variables that are created by Exim/Postfix are
passed through to filter applications (i.e. TMDA) that are called by=20
procmail. <span class=3D"anchor" id=3D"line-55"></span><span class=3D"ancho=
r" id=3D"line-56"></span></p><pre> "|/path/to/bin/procmail -p"</=
pre><span class=3D"anchor" id=3D"line-57"></span><p class=3D"line862">Final=
ly, add the following snippet to the end of your existing <strong>.procmail=
rc</strong> to do final delivery: <span class=3D"anchor" id=3D"line-58"></s=
pan><span class=3D"anchor" id=3D"line-59"></span></p>
<pre> # Run the message through tmda-filter.
<span class=3D"anchor" id=3D"line-60"></span> :0 w
<span class=3D"anchor" id=3D"line-61"></span> | /path/to/bin/tmda-filter
<span class=3D"anchor" id=3D"line-62"></span> # Take the exit code from TM=
DA.
<span class=3D"anchor" id=3D"line-63"></span> EXITCODE=3D$?
<span class=3D"anchor" id=3D"line-64"></span> # TMDA takes care of final d=
elivery
<span class=3D"anchor" id=3D"line-65"></span> DEFAULT=3D/dev/null</pre><sp=
an class=3D"anchor" id=3D"line-66"></span></li><li><p class=3D"line862">If =
you already filter your mail with maildrop and wish to continue doing so, y=
ou can invoke tmda-filter from your <strong>.mailfilter</strong> instead.<b=
r>
<br>
Add the following snippet to the end of your existing <strong>.mailfilter<=
/strong> to do final delivery: <span class=3D"anchor" id=3D"line-67"></span=
><span class=3D"anchor" id=3D"line-68"></span></p><pre> import SENDER
<span class=3D"anchor" id=3D"line-69"></span> import RECIPIENT
<span class=3D"anchor" id=3D"line-70"></span> import EXTENSION
<span class=3D"anchor" id=3D"line-71"></span> to "| /path/to/bin/tmda=
-filter"</pre></li></ol><br>I can do want I need?<br><br>Thanks!<br><b=
r><div class=3D"gmail_quote">2011/3/24 Kevin Goodsell <span dir=3D"ltr"><=
;<a href=3D"mailto:[email protected]">kevingoodsell.lists@gmail=
.com</a>></span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div class=3D"im">On Thu, Mar 24, 2011 at 1=
:17 PM, <a href=3D"mailto:[email protected]">[email protected]</a><br=
>
<<a href=3D"mailto:[email protected]">[email protected]</a>> wr=
ote:<br>
><br>
> Well...<br>
> the TMDA doesn't work.. message pass to postfix.<br>
><br>
> What I'm doing wrong?<br>
<br>
</div>It's not clear what you are expecting. Are you looking for outgoi=
ng mail<br>
to pass through TMDA, or incoming mail? postfix will get incoming mail<br>
(as it should), and if you've configured TMDA in your .forward file<br>
postfix should deliver the mail to TMDA. It looks like perhaps you<br>
haven't done that.<br>
<br>
Outgoing mail has to be configured separately. Either you need your mail<br=
>
client to send via tmda-sendmail or you need to run tmda-ofmipd and<br>
configure your mail client to use that as the outgoing mail server.<br>
<br>
Have you followed the configuration instructions?<br>
<br>
<a href=3D"http://tmda.sourceforge.net/cgi-bin/moin.cgi/TmdaConfiguration" =
target=3D"_blank">http://tmda.sourceforge.net/cgi-bin/moin.cgi/TmdaConfigur=
ation</a><br>
<font color=3D"#888888"><br>
-Kevin<br>
</font></blockquote></div><br><br clear=3D"all"><br>-- <br><p><span style=
=3D"font-size:11pt;color:rgb(31, 73, 125)">Atenciosamente;</span></p><p><sp=
an style=3D"font-size:11pt;color:rgb(31, 73, 125)">Graciously;<br></span></=
p><p>
<b><span style=3D"font-size:11pt;color:rgb(38, 38, 38)">Lucas Possamai<br><=
/span></b></p><p><span style=3D"font-size:10pt;color:rgb(89, 89, 89)"></spa=
n></p><p><span style=3D"font-size:10pt;color:rgb(38, 38, 38)"><a href=3D"ht=
tp://psyscrew.posterous.com/" target=3D"_blank">http://psyscrew.posterous.c=
om/</a></span></p>
<p></p><p></p><h6><span>"Na
palma da tua m=E3o existem sonhos, felicidades e a for=E7a que te guia por=
=20
um caminho, que somente voc=EA poder=E1 trilhar, com o olhar tranquilo=20
saber=E1s onde chegar.o fim =E9 apenas mais um ponto para inventar uma nova=
=20
conquista."</span></h6><font style=3D"font-family:comic sans ms,sans-s=
erif" size=3D"1"><span lang=3D"en"><span title=3D"Clique para mostrar tradu=
=E7=F5es alternativas"></span></span></font><b style=3D"font-family:comic s=
ans ms,sans-serif"><span style=3D"font-size:11pt;color:green"></span></b><f=
ont style=3D"font-family:comic sans ms,sans-serif" size=3D"1"><span lang=3D=
"en"><span title=3D"Clique para mostrar tradu=E7=F5es alternativas"></span>=
</span></font><br>
--000e0cd66e6e941f9e049f455560--
--===============5797579057337641435==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
--===============5797579057337641435==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users
--===============5797579057337641435==--