Professional Web Applications Themes

maildelivery and sco 5.0.5 - SCO

How can I create a filter so that if there is an email getting in and it has an attachment with a ".pif extention" to delete it automatically ? I normally use this kind of filters to delete mails from people : /usr/lib/mail/maildelivery: From 24hourfit.com destroy A - Regards, Enrique Arredondo...

  1. #1

    Default maildelivery and sco 5.0.5

    How can I create a filter so that if there is an email getting in and it has
    an attachment with a ".pif extention" to delete it automatically ?

    I normally use this kind of filters to delete mails from people :

    /usr/lib/mail/maildelivery:
    From 24hourfit.com destroy A -


    Regards,

    Enrique Arredondo


    Enrique Guest

  2. #2

    Default Re: maildelivery and sco 5.0.5


    "Enrique Arredondo" <net> wrote in message
    news:N546b.11374$news.prodigy.com... 
    has 

    Can I do this :

    From 24hourfit.com destroy A -
    X-MailScanner "Found to be clean" destroy A -


    Enrique Guest

  3. #3

    Default Re: maildelivery and sco 5.0.5

    Enrique Arredondo enscribed:
    | X-UserInfo1: T[OQBTKDU[RWRWTYBZH_VDA[X_LPOFQQ]ZMVMHQAVTUZ]CLNTCPFK[WDXDHV[K^FCGJCJLPF_D_NCCFUG^Q\DINVAXSLIFXYJSSCCALPPB\O SBITWAH\CQZKJMMD^SJA^NXA\GVLSRBD^M_NW_F[YLVTWIGAXAQBOATKBBQRXECDFDMQ\DZFUE\JM
    | Date: Fri, 05 Sep 2003 17:54:53 GMT
    |
    | How can I create a filter so that if there is an email getting in and it has
    | an attachment with a ".pif extention" to delete it automatically ?
    |
    | I normally use this kind of filters to delete mails from people :
    |
    | /usr/lib/mail/maildelivery:
    | >From 24hourfit.com destroy A -

    And soon you will want to filter other names, etc.

    Get deliver-2.1.14.tgz from ftp.jpr.com/pub

    It uses shell scripts/executables/unix_tools and is easier and more capable
    than writing your rules in a .maildelivery file

    --
    ================================================== ========================
    Tom Parsons com
    ================================================== ========================
    Tom Guest

  4. #4

    Default Re: maildelivery and sco 5.0.5

    In article <0l46b.11379$news.prodigy.com>,
    Enrique Arredondo <net> wrote: 
    >has [/ref]

    ..maildelivery can't (currently) act on the message body. Pick up 'procmail'
    from skunkware and pipe your mail through it with:

    * - | ? exec /usr/local/bin/procmail

    Then use a procmail rule. This one acts on a variety of attachment types;
    you will probably want to change it after reading the procmailrc(5) man page:

    :0 B:
    * ^content.type
    * ^(content-.*)?[ ]+(file)?name=.*\.(scr|exe|bat|pif)
    /dev/null
     

    Yes.

    John
    --
    John DuBois com KC6QKZ/AE http://www.armory.com/~spcecdt/
    John Guest

  5. #5

    Default Re: maildelivery and sco 5.0.5

    John DuBois enscribed:
    | In article <0l46b.11379$news.prodigy.com>,
    | Enrique Arredondo <net> wrote:
    | >
    | >"Enrique Arredondo" <net> wrote in message
    | >news:N546b.11374$news.prodigy.com...
    | >> How can I create a filter so that if there is an email getting in and it
    | >has
    | >> an attachment with a ".pif extention" to delete it automatically ?
    |
    | .maildelivery can't (currently) act on the message body. Pick up 'procmail'
    | from skunkware and pipe your mail through it with:
    |
    | * - | ? exec /usr/local/bin/procmail
    |
    | Then use a procmail rule. This one acts on a variety of attachment types;
    | you will probably want to change it after reading the procmailrc(5) man page:
    |
    | :0 B:
    | * ^content.type
    | * ^(content-.*)?[ ]+(file)?name=.*\.(scr|exe|bat|pif)
    | /dev/null
    |
    | >Can I do this :
    | >
    | >From 24hourfit.com destroy A -
    | >X-MailScanner "Found to be clean" destroy A -
    |
    | Yes.

    I found procmail to be less that a good solution when I tried it a
    year or so ago. Biggest problem was that it is entirely memory based
    and not too difficult to crash.

    Try this with procmail:
    Go into your favorite mail reader (mutt), tag any 60 messages, then
    bounce them all at the same time to the account with procmail.
    --
    ================================================== ========================
    Tom Parsons com
    ================================================== ========================
    Tom Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139