- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail corrupting PGP encrypted mail attachment
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2001 12:20 PM
тАО07-02-2001 12:20 PM
sendmail corrupting PGP encrypted mail attachment
Background:
I have a vendor who sends us a PGP encrypted
mail attachment. It goes to our Exchange
Server which then forwards the message to
the Unix mail account. (This is done for
firewall/security reasons.)
Problem:
After the file arrives in the /var/mail/
file, the attachment no longer has the PGP
header info necessary to identify it as a PGP file, and thus we canot do a decryption, so
the file is useless. When I open the file
on the NT BEFORE forwarding, the PGP header
is there. If I ftp the file from NT to Unix
and open the file, the PGP info is there. When
I forward from NT to another non-Unix mail
server, the PGP info is there, so it is
definitely related to the way sendmail is
handling the attachment.
I do not know enough about sendmail or
modifying sendmail.cf to feel safe with
the trial and error approach.
Does anyone have any idea wht this is
happening or has anyone had similar
problems??
Any help/direction is resolving would be
greatly appreciated.
Thanks
Ted Blahunka
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2001 12:45 PM
тАО07-03-2001 12:45 PM
Re: sendmail corrupting PGP encrypted mail attachment
#O DeliveryMode
and change it so that it reads:
O DeliveryMode=queue
Stop/start sendmail using
/sbin/init.d/sendmail stop
and
/sbin/init.d/sendmail start
then send your message again.
In /usr/spool/mqueue you will have 1 file beginning with qf and 1 file beginning with df.
The qf file is the delivery envelope and it may also contain some MIME header information relating to the message.
The df file contains the actual message.
Check to see if the PGP information is present in those files.
The standard operation of sendmail is that it does not modify the contents of the df file, it will modify the qf file as the message is in transit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2001 07:04 AM
тАО07-05-2001 07:04 AM
Re: sendmail corrupting PGP encrypted mail attachment
I'll try that and see if it makes a differnce.
One question though: If I change the
sendmail.cf file, that stops deleivery for
everyone, correct ?? Assuming that, how does ( or maybe it doesn't??) the mail then get
delivered to the user's mail boxes??
thanks
tb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2001 07:22 AM
тАО07-05-2001 07:22 AM
Re: sendmail corrupting PGP encrypted mail attachment
You can force delivery my running the command sendmail -q.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2001 08:02 AM
тАО07-05-2001 08:02 AM
Re: sendmail corrupting PGP encrypted mail attachment
Sendmail should not modify the body part of an email (except for lines beginning with From and maybe 8 bit characters depending on your conf).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2001 08:38 AM
тАО07-05-2001 08:38 AM
Re: sendmail corrupting PGP encrypted mail attachment
DeliveryMode to 'queue'. When I look at the
dfXXXXX file in etc/spool/mqueue, the PGP
info is already stripped out, so that does
not make a difference unfortunately.
The descriptor/info for the PGP is not really in the header per se, but rather an entry at the start of the file to self-designate it as a PGP file.
This is what the first few columns of the
first row looks like before we send it to the Unix mail box ( contains some control
characters so it will look funky):
? PGP? x?? ?0~?`??yT?$??e?....."
It's the ' PGP?' portion that is getting stripped out, so when we try to decrypt, the
util doesn't recognize it as PGP and we are left w/ gibberish.
Thanks all..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2001 10:53 PM
тАО07-05-2001 10:53 PM
Re: sendmail corrupting PGP encrypted mail attachment
Typically messages are MIME-encoded (base64 or quoted-printable).
Have I missed something ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2001 05:46 AM
тАО07-09-2001 05:46 AM
Re: sendmail corrupting PGP encrypted mail attachment
Your guess is as good as mine. We've sent it
from the Exchange server using the default
mode, which is mime encoded and with uuencode
mode, the output looks the same regardless.
thanks
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 06:09 AM
тАО07-12-2001 06:09 AM
Re: sendmail corrupting PGP encrypted mail attachment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2001 10:07 AM
тАО07-12-2001 10:07 AM
Re: sendmail corrupting PGP encrypted mail attachment
Here is the df files for a mail
message w/ the pgp attachment. The qf will
follow.
Thanks
Ted