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

Re: Attachments oder PGPsig erwuenscht



On Tue, Jan 15, 2002 at 01:51:22PM +0100, Matthias Fechner wrote:
> Über pgp_outlook_compat=yes kann ich in der Doku nichts finden.
 
ist auch nicht in default mutt drinnen sondern ein patch der auch in der
in debian verfügbaren version von mutt enthalten ist:

martin@independence:~$ mutt -v | grep outlook
patch-1.3.15.sw.pgp-outlook.1

dem patch findest du bei ftp://ftp.cm.nu/pub/people/shane/

und wenn du dir den source ein wenig ansiehst:

<quote>
 #ifdef HAVE_PGP
   OPT_VERIFYSIG,      /* verify PGP signatures */
   OPT_PGPTRADITIONAL, /* create old-style PGP messages */
+  OPT_PGPOUTLOOK,     /* Create even older broken outlook compatible messages */
 #endif
</quote>

und weiter unten:

<quote>
-  b->type = TYPEAPPLICATION;
-  b->subtype = safe_strdup ("pgp");
<snip />
+  /* Outlook seems to work by scanning the message itself for PGP information, */
+  /* not the headers.  If the headers are anything but text/plain, it will */
+  /* not recognize the message. */
+  if (flags & PGPOUTLOOK) {
+    b->type = TYPETEXT;
+    b->subtype = safe_strdup ("plain");
+  } else {
+    b->type = TYPEAPPLICATION;
+    b->subtype = safe_strdup ("pgp");
</quote>

dann erkennst du, wieviele änderungen notwendig sind, um outlook die 
signatur beizubringen. du solltest das deshalb wenn überhaupt nur in
verbindung mit hooks verwenden (imo).

lg martin
-- 
<martin@wuertele.net> ------------------------------ NO HTML MAILS PLEASE
             PGP/GPG encrypted and signed messages preferred

Attachment: pgpgx_ahztwv8.pgp
Description: PGP signature


Reply to: