Cristian Livadaru schrieb:
On Sun, Dec 14, 2003 at 10:25:36AM -0800, Wil Cooley wrote:
On Sun, 2003-12-14 at 08:27, Cristian Livadaru wrote:
hi, has someone got a sieve howto ?
or maybe sombody could tell me how I can manage this.
I want that every subject, sender and receiver of a mail is being passed to a
script or inserted into mysql. I use this for SMS notify. Now I am using procmail but I want to switch
to cyrus/sieve. any hints for me ?
Sieve cannot do this; it is not designed to communicate externally in any fashion. It's designed to do one thing, and one thing only--filter and sort e-mail.
Wil
--
now that realy hits me. has anyone got an idea how I could solve this "problem" ?
I use this configuration postfix, cyrus, sieve to send sms-mails
We have clear this problem sieve and a c-programm was make an lookup in a mysql-table.
The cyrus put the mails in users-mailbox, sieve forward this mails to 123_<user>@sms.in (this is a lokal-domain)
[EMAIL PROTECTED] have an catch_all entry.
The 123_<user>@sms.in stay after forward in the x-original-to:
The c-programm scann this mailbox all 10 sec. and check the x-original-to:
With this infos make the c-programm an mysql-lookup and get the info for this mail.
We have 4 different ways, 1) forward the mail to sms only with subject, 2) forward the mail with 160 characters and so far......
The c-programm send this mail with the infos from the mysql-db and modified body like
user: smsuser
pass: smspassgateway
and so far.....
.
to the sms-gateway
this scans the information in the mail-body and send this maisl to the mobil-phone-providers
Regards Achim
-- _________________________________________ Fa. Com-Gate An der Hofwiese 30 90427 Nürnberg
Tel. : +49 (0)911 / 277 43 77 Fax : +49 (0)911 / 274 11 878 Mobil: +49 (0)172 / 834 56 26 Mail : [EMAIL PROTECTED] WWW : http://www.com-gate.com