Re: Cyrus - Postfix - redirect mails from a special sender domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@Alexander Dalloz: Thank you, I noticed that in my imapd.conf the notify daemon was commented out.
But after uncommenting and restart of the cyrus.imapd still nothing happens with my notify.
I switched of my firewall, but still no notify. Can I debug the notify daemon?
My script:

require ["fileinto", "notify"];

if allof (address :contains ["From","FROM"] "exspect.de") {
    fileinto "Other Users.ShareMails";
    notify :method "mailto" :options "developers@xxxxxxxx" :low :message "$from$ / $subject$ / $text$";
    keep;
}

Result:
-- fileinto is working
-- notify does nothing
-- keep is working


On 6/22/06, Alexander Dalloz < ad+lists@xxxxxxxxx> wrote:
Am Do, den 22.06.2006 schrieb Walter Willmertinger um 12:16:

> Thank you for the fast answer, this redirection is working.
>
> But as I think it over, I had another idea which I realized with
> procmail before changing to cyrus.
> The idea was to put a copy of the mail to a shared folder, and notify
> the users of this copy.
> (This was because the sent mails have most time quite large
> attachments!)

> Walter Willmertinger
> Auenstr. 22
> 82194 Groebenzell

In Postfix documentation look at

http://www.postfix.org/postconf.5.html -> sender_bcc_maps

In Cyrus-IMAPd documentation look at

man notifyd

This way Postfix sends the devlopers a carbon copy of the inbound mail
and the notify daemon sends them a mail (initiated by sieve).

Alexander


--
Alexander Dalloz | Löhne, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
Serendipity 13:54:07 up 1 day, 21:46, load average: 0.35, 0.34, 0.23


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBEmoZFEEG6lbNmp3MRAjb2AJ4vhzYcXTwFHbU/XMfLdnaW6MagJACgjkCs
e7T9thZGr7tyrl+u2vtp45Q=
=yUY7
-----END PGP SIGNATURE-----





--
MfG

Walter Willmertinger
Auenstr. 22
82194 Groebenzell
----
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux