Am 25.03.2013 15:42, schrieb Andreas Wass - Glas Gasperlmair:
> Die Info "nur fax" kann im Erp System beim Kunden Object hinterlegt
> werden, allerdings müsste der Sachbearbeiter dann immer vorher in die
> Stammdaten reingehen und nachsehen, was bei unserem
> (NochNieSoEinDoofesErpSystemGesehen) auch schon ziemlich umständlich ist

tja ist ja fast unzumutbar *g

> und ein Senden der Mail kann man aufgrund einer Info oder Sonstiges
> nicht verhindern.

was ist denn wenn du einfach keine email adresse hinterlegst ?

> 
> Eine Syntax oder einen Link zu Beispielen für so einen spezifischen
> Sieve-Filter hast du nicht zufällig bei der Hand?
> 
> vg, Andi

bitte bitte bitte,kein top post mehr

den filter musst du dir schon selber schreiben bzw zusammen kombinieren,
sicher nicht trivial aber sollte machbar sein

ich nutze in thunderbird das sieve add on

https://addons.mozilla.org/de/thunderbird/addon/sieve/


http://tools.ietf.org/html/rfc5229

...
# Imagine the header
      # Subject: [acme-users] [fwd] version 1.0 is out
      if header :matches "Subject" "[*] *" {
          # ${1} will hold "acme-users",
          # ${2} will hold "[fwd] version 1.0 is out"
          fileinfo "INBOX.lists.${1}"; stop;
      }

      # Imagine the header
      # To: [email protected]
      if address :matches ["To", "Cc"] ["coyote@**.com",
              "wile@**.com"] {
          # ${0} is the matching address
          # ${1} is always the empty string
          # ${2} is part of the domain name ("ACME.Example")
          fileinto "INBOX.business.${2}"; stop;
      } else {
          # Control wouldn't reach this block if any match was
          # successful, so no match variables are set at this
          # point.
      }

      if anyof (true, address :domain :matches "To" "*.com") {
          # The second test is never evaluated, so there are
          # still no match variables set.
          stop;
      }
...

http://tools.ietf.org/html/draft-ietf-sieve-notify-11


...
 require ["enotify", "fileinto", "variables"];

       if header :contains "from" "[email protected]" {
           notify :importance "1"
               :message "This is probably very important"
                           "mailto:[email protected]";;
           # Don't send any further notifications
           stop;
       }

....

Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich
_______________________________________________
postfix-users mailing list
[email protected]
http://de.postfix.org/cgi-bin/mailman/listinfo/postfix-users

Antwort per Email an