procmail
[Top] [All Lists]

Re: is this correct?

2001-01-19 13:23:01
Try this (untested, of course!)

:0
* ^Subject:[    ]*$
* $ ! ^X-Loop: $ADDRESS
| (formail -rt -A"X-Loop: $ADDRESS"; \
    echo "I dont receive mails without subject!!!!";) \
        | sendmail -t

:0
* ^From:(_dot_)*(_at_)sexfun\(_dot_)net
!patric_fernandes(_at_)localdomain(_dot_)com(_dot_)br



On Fri, 19 Jan 2001, [iso-8859-1] João Paulo Andrade wrote:

is this correct?

Obs: email.from.contains return true if find a occurrence of a string(in 
any position of the string)


if (email.subject == "") or (email.subject == " ") or 
(email.from.contains("@sexfun.net") {

  forward_to(patric_fernandes);
}

is the "same" that:

################
#file /etc/procmailrc

:0h
* ! ^Subject:
!patric_fernandes(_at_)localdomain(_dot_)com(_dot_)br

:0h
* ^Subject:[ ]*$
!patric_fernandes(_at_)localdomain(_dot_)com(_dot_)br

:0h
* From(_dot_)*(_at_)sexfun(_dot_)net
!patric_fernandes(_at_)localdomain(_dot_)com(_dot_)br


#################################
#end of file

if  this is correct,

:0h
* ! ^Subject:
!patric_fernandes(_at_)localdomain(_dot_)com(_dot_)br


 how can I send a e-mails for the person who sends a mesage for me(reply 
the e-mail) saying:
"I dont receive mails without subject!!!!"
automatically ?????????????????????


Thanks a lot



³³°°°°³³°°°°³³ªªªª°°§§³²¹¹²³§§°°°°°°ªªªª°³³°°°°³³°°°°³³<
      João Paulo G. de Andrade                  <
      joaopaulo(_at_)unimetro(_dot_)com(_dot_)br                 <
      Setor de Informática                      <
      Unimed Metropolitana de Salvador         <
³³°°°°³³°°°°³³ªªªª°°§§³²¹¹²³§§°°°°°°ªªªª°³³°°°°³³°°°°³³ <




_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>