hi, I have a question hope to get everybody's help, thank you. I write the dovecot sieve rules, use notify:mailto. such as mailto:mymail at dovecot.org, this is ok.but i want to go to a url address,like this,mailto:"http://http://wiki.dovecot.org/".but i don't know how to do it.I hope you can help me.thanks.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 3 Jun 2016, ?????????? | wrote:> I write the dovecot sieve rules, use notify:mailto. such as > mailto:mymail at dovecot.org, this is ok.but i want to go to a url > address,like this,mailto:"http://http://wiki.dovecot.org/".but i don't > know how to do it.I hope you can help me.thanks.Well, what mailto:"http://wiki.dovecot.org/" is to mean? see https://en.wikipedia.org/wiki/Mailto - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEVAwUBV1Eoa3z1H7kL/d9rAQK2lwf+JotA1RjxHHrxuSVU1MNXBttgkGQBSdkm PTLzYtPkh2Y0CJ+DatSydR49ZfCtNFQC2dlQ+54MNEd1QQwEUGGCuR891RpkNY7b rv8bocYa7M/ZXVVBWBN+q4JdccGLvOIwVrCVcnoEb1xCeTUn5phzCcX0IqH4N+Fu ZAYQV4XWS/pzcBUNM5gwsj5l870EIRZWW6k7lZ1CaqGW6X5NMBClQRhkr3pZpE7O zUUZ1s840lU1J3vygtJ4SK7LmlIFmFRMAXVpH4W52bkN7bF5gpQK7oOGBocqfJkY 1RD4c8lzndxY3rfZcWto6S5y62Zm0sb8EzJNDU7cBiJOCJuN3kbbug==0Uop -----END PGP SIGNATURE-----
On Fri, Jun 03, 2016 at 10:59:55AM +0800, ????? | wrote:>hi, > I have a question hope to get everybody's help, thank you. >I write the dovecot sieve rules, use notify:mailto. such as mailto:mymail at dovecot.org, this is ok.but i want to go to a url address,like this,mailto:"http://http://wiki.dovecot.org/".but i don't know how to do it.I hope you can help me.thanks.In this case, you're probably best off using the "pipe" extension[1], rather than "notify". Write a script that takes the email on STDIN and performs whatever necessary HTTP commands based on that (sending an email to a HTTP URL is too generic a process. Should it be POSTed to the address? Is there a form at the address which the mail should be posted to? Should certain fields be parsed out and a complex GET request be performed? etc. Only you know how that should work) [1] http://master.wiki.dovecot.org/Pigeonhole/Sieve/Plugins/Extprograms -- For more information, please reread. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20160603/fda7ed9b/attachment.sig>