-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I haven't done any C in a long time, but I thought I'd give it a try. The idea was to get rid of the 'Content-Disposition: inline; filename="msg.pgp"' header, but the best I could do was remove the filename. :-) It seems to run fine, but perhaps someone could tell me if I've broken anything? :-) Here's my small mod: 1500 /* jsmoriss: fix for lotus notes - exclude msg.pgp filename from */ 1501 /* content-disposition */ 1502 1503 b->unlink = 1; 1504 b->disposition = DISPINLINE; 1505 1506 if (flags & PGPOUTLOOK) { 1507 b->use_disp = 0; 1508 } else { 1509 b->d_filename = safe_strdup ("msg.pgp"); 1510 b->use_disp = 1; 1511 } Before the mod: Mime-Version: 1.0 Content-Type: text/plain Content-Disposition: inline; filename="msg.pgp" After the mod: Mime-Version: 1.0 Content-Type: text/plain Content-Disposition: inline If I don't set b->disposition, then I get a 'Content-Disposition: attachment' header which is no good either. :-) Thanks, js. - -- Jean-Sebastien Morisset, Sr. UNIX Administrator <[EMAIL PROTECTED]> Personal Homepage <http://jsmoriss.mvlan.net/> This is Linux Country. On a quiet night you can hear Windows NT reboot! - ---------------- please pgp encrypt all correspondence ---------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Personal Home Page <http://jsmoriss.mvlan.net/> iD8DBQE7qATEnGyIOcYaingRAhxcAKC+NKvVQ438dkCFzqlbsDh2eu3h+wCg3f73 zev0HCXJUpjkpMNvM1JzFzw= =WjmI -----END PGP SIGNATURE-----