This is a discussion on Re: [courier-users] Dynamic delivery within the Courier-Imap forums, part of the Mail Servers and Related category; This is a MIME-formatted message. If you see this text it means that your E-mail software does not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages. --===============0258295782== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="=_schokokeks.org-9260-1169534838-0001-2" This is a MIME-formatted message. If you see this text it means that your E-mail software does not support MIME-formatted messages. --=_schokokeks.org-9260-1169534838-0001-2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi. Am Montag, 22. Januar 2007 17:29 schrieb Antonio Di Monaco: > I need a "third state" in dynamic delivery mode, about returned error > codes. I've read in documentation > that I can return "0" or "99", and mail is delivered (or further > processed in .courier). I need a response > like "don't do anything at the moment, just queue this message, and ask > me again later what to do". Read the manual page twice! Some quotes: | RUNNING AN EXTERNAL PROGRAM | Lines that begin with a single | character=20 | [...]=20 | If the external command terminates with the exit code of zero, the next= =20 | delivery instruction is executed. If the command was the last delivery | instruction in the file, the message is considered to be successfully=20 | delivered. =20 | | If the external command terminates with the exit code of 99, any=20 | additional delivery instructions in the file are NOT executed, but the | message is considered to be successfully delivered.=20 | | If the external command terminates with any of the following exit codes: | 64, 65, 67, 68, 69, 70, 76, 77, 78, or 112, the E-mail message will be | returned as undeliverable, and no further delivery instructions will ta= ke | place. =20 | | If the external command terminates with any other exit code, it is | interpreted as a temporary error, and the message will be requeued=20 | for another delivery attempt later.=20 | [...] | DYNAMIC DELIVERY INSTRUCTIONS | [...] | The exit code of the program invoked by the || instructions are | interpreted exactly like the exit code of a program invoked by |,=20 | [...] So, you can choose out of some possible exit-codes (e.g. try 1), which is t= he=20 default error-code. cu, Bernd =2D-=20 Unter Verzicht verstehen Frauen die kurze Pause zwischen zwei W=FCnschen. - Mario Adorf --=_schokokeks.org-9260-1169534838-0001-2 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (GNU/Linux) iQIVAwUARbWveA0b18vi86Q/AQKwkxAAmeg9Ekqit/9btdve+Qw2uCgWZB6i23kx cLta1C7guumY3XbCKL3n6X+9xSYnJ31XuTKhpWLbVJDTpuW6vO bhIjp/fBqvhLgT mAAo1hzJsPazI5IOY2QigLTR40InVym9qJIDJGGIj1Hwc9ALzx HYarHB4+sFvviF jz4dHIAH+Xw/cmU/waRn09wwPtRQe2pVWQrH1B7m/kxxYAWVirPZHBzwre/49kHy PlYBuZSKlJMUhdc5LmX0cHLDG868YJ6+4al4V6sYb0RgdXZTJ4 i5V90bHbH9IxY7 4HrsfO6Nq/neMsqYb9D14x1+ov4wliiJBYfSRv02YGZS9hy7mV0AQ+23GgAq GNxS hPKmifCOBXUCwo1fJAv+UM25kI1o/u+00HTnt/nbJkOhxVhqB3AozaWJPAx7Kmpg r3GZTky6EnB4eRUsvRTbUySrA0zMdOH2f+f1taNzpOjhN9t3+B cT+5kmikbaZ8JC u6n9C7phPRK0dfsNP9BVAkkJq2jB5N3AcfKYs9cseqkj9K4uEO wyM3PcIwJW14sp GBGX8Ynzi4Mo4ITrj7mtYOoVrGhRMD4dmiG1c66+YkMyV19Uly sgPsGPXEEp9Npt bGh6JJvknU8psMTDVZENuVodNsy13/3hLiB8cgK4ttOeDnjHq4cyiPELFLBiUEud NeShKaJ+fDM= =qjbX -----END PGP SIGNATURE----- --=_schokokeks.org-9260-1169534838-0001-2-- --===============0258295782== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?p...rge&CID=DEVDEV --===============0258295782== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users --===============0258295782==-- |