S/Mime signatures and Outlook 2010

2011-11-17 Thread Stas Verberkt
L.S.,

Besides my installation with Mutt and GPG, I also have an Outlook 2010
installation with S/Mime enabled. This system is set up such that it
signs all my e-mail in the "clear text" mode.

The problem is that this results in Mutt not being able to verify the
signature and mentioning an incorrect multipart/signed structure.

Nevertheless, disabling the "clear text" mode is not really an option,
as this would render all my e-mails unreadable by those using older
e-mailclients or e-mailclients on smartphones.

Does anyone have an idea on how to get Mutt to accept the signatures
Outlook 2010 sets?

Kind regards,

Stas Verberkt



pgpCrUILi254H.pgp
Description: PGP signature


Can I have a send hook dependent on *two* addresses in the To: ?

2011-11-17 Thread Chris Green
I want to filter out some cases where E-Mail gets sent to two addresses
and should only be sent to one address.

E.g. I have a mailing list where for various nefarious reasons when I do
a L[ist reply] the To: line is as follows:-

To: ix...@ixion.org.uk, ix...@ixiemaster.ixion.org.uk

So can I use a send-hook to replace the above To: with a corrected,
single destination, To:  ?

-- 
Chris Green


Re: S/Mime signatures and Outlook 2010

2011-11-17 Thread P. Mazart
Hi,

Stas Verberkt schrieb am 17.11.2011 14:43:46:
> Nevertheless, disabling the "clear text" mode is not really an option,
> as this would render all my e-mails unreadable by those using older
> e-mailclients or e-mailclients on smartphones.

Actually we might not have an idea, what “clear text” mode is…
Do you mean inline PGP‽
If so there’s a hook for inline pgp at

http://wiki.mutt.org/?MuttFaq/Encryption

Bye
P.M.


Re: S/Mime signatures and Outlook 2010

2011-11-17 Thread Dave Dodge
On Thu, Nov 17, 2011 at 11:21:49PM +0100, P. Mazart wrote:
> Stas Verberkt schrieb am 17.11.2011 14:43:46:
> > Nevertheless, disabling the "clear text" mode is not really an option,
> > as this would render all my e-mails unreadable by those using older
> > e-mailclients or e-mailclients on smartphones.
> 
> Actually we might not have an idea, what “clear text” mode is…

I believe in this case Outlook uses S/MIME multipart/signed, so the
signature is in a separate body part and clients without S/MIME
support can still read the text/plain part of the message.

The other way Outlook can send signed messages (with "clear text"
disabled) involves wrapping the signature *and* text into some sort of
PKCS binary blob, which obviously causes a lot of trouble with other
clients.

  -Dave Dodge


Fetch and delete only lists and make offline /copy/ of other msgs - IMAP

2011-11-17 Thread Nikola Hardi
Hi!

I'm using gmail's IMAP and I'm subscribed to several mailing lists. Now
I wont to get that mail from lists to my desktop computer and delete it
from the server, then sort it to different local mailboxes. Other part
is to make offline copy of "valuable" messages and keep them on the
server for usage with other mail clients.

What tool is for what? Fetchmail probably could do this part getting
mail and offlineimap the other part of syncing other messages. Who
should do the sorting part and keep messages from one mailing list in
one mailbox? Is it task for MDA?

Just tell me which tool should do what and I'll try to make my way
somehow.

This is the first time I'm writing to a mailing list so tell me if I did
something wrong. :)


Re: Fetch and delete only lists and make offline /copy/ of other msgs - IMAP

2011-11-17 Thread Brian Salter-Duke
On Fri, Nov 18, 2011 at 12:04:14AM +0100, Nikola Hardi wrote:
> Hi!
> 
> I'm using gmail's IMAP and I'm subscribed to several mailing lists. Now
> I wont to get that mail from lists to my desktop computer and delete it
> from the server, then sort it to different local mailboxes. Other part
> is to make offline copy of "valuable" messages and keep them on the
> server for usage with other mail clients.
> 
> What tool is for what? Fetchmail probably could do this part getting
> mail and offlineimap the other part of syncing other messages. Who
> should do the sorting part and keep messages from one mailing list in
> one mailbox? Is it task for MDA?
> 
> Just tell me which tool should do what and I'll try to make my way
> somehow.
> 
> This is the first time I'm writing to a mailing list so tell me if I did
> something wrong. :)

Welcome to the list. Use fetchmail to get them and procmail to filter
them into different mail boses.

Cheers, Brian.

-- 
"First they ignore you, then they laugh at you, then they fight you,
then you win." 
  -- Gandhi, being prophetic about Linux.
Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au


Re: Fetch and delete only lists and make offline /copy/ of other msgs - IMAP

2011-11-17 Thread Nikola Hardi
Ok, but fetchmail will get all mesages. I need to keep mesages that
aren't from list on the server. If I tell fetchmail to keep them, what
could delete those from lists? That way I don't need offline imap.

Btw, thanks for the welcome. :)

2011/11/18, Brian Salter-Duke :
> On Fri, Nov 18, 2011 at 12:04:14AM +0100, Nikola Hardi wrote:
>> Hi!
>>
>> I'm using gmail's IMAP and I'm subscribed to several mailing lists. Now
>> I wont to get that mail from lists to my desktop computer and delete it
>> from the server, then sort it to different local mailboxes. Other part
>> is to make offline copy of "valuable" messages and keep them on the
>> server for usage with other mail clients.
>>
>> What tool is for what? Fetchmail probably could do this part getting
>> mail and offlineimap the other part of syncing other messages. Who
>> should do the sorting part and keep messages from one mailing list in
>> one mailbox? Is it task for MDA?
>>
>> Just tell me which tool should do what and I'll try to make my way
>> somehow.
>>
>> This is the first time I'm writing to a mailing list so tell me if I did
>> something wrong. :)
>
> Welcome to the list. Use fetchmail to get them and procmail to filter
> them into different mail boses.
>
> Cheers, Brian.
>
> --
> "First they ignore you, then they laugh at you, then they fight you,
> then you win."
>   -- Gandhi, being prophetic about Linux.
> Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au
>

-- 
Послато са мог мобилног уређаја


Re: Fetch and delete only lists and make offline /copy/ of other msgs - IMAP

2011-11-17 Thread Patrick Shanahan
* Nikola Hardi  [11-17-11 18:21]:
> Ok, but fetchmail will get all mesages. I need to keep mesages that
> aren't from list on the server. If I tell fetchmail to keep them, what
> could delete those from lists? That way I don't need offline imap.
> 
> Btw, thanks for the welcome. :)
> 
> 2011/11/18, Brian Salter-Duke :
> > On Fri, Nov 18, 2011 at 12:04:14AM +0100, Nikola Hardi wrote:
> >> Hi!
> >>
> >> I'm using gmail's IMAP and I'm subscribed to several mailing lists. Now
> >> I wont to get that mail from lists to my desktop computer and delete it
> >> from the server, then sort it to different local mailboxes. Other part
> >> is to make offline copy of "valuable" messages and keep them on the
> >> server for usage with other mail clients.
> >>
> >> What tool is for what? Fetchmail probably could do this part getting
> >> mail and offlineimap the other part of syncing other messages. Who
> >> should do the sorting part and keep messages from one mailing list in
> >> one mailbox? Is it task for MDA?
> >>
> >> Just tell me which tool should do what and I'll try to make my way
> >> somehow.
> >>
> >> This is the first time I'm writing to a mailing list so tell me if I did
> >> something wrong. :)
> >
> > Welcome to the list. Use fetchmail to get them and procmail to filter
> > them into different mail boses.
> >
> > Cheers, Brian.
> >
> > --
> > "First they ignore you, then they laugh at you, then they fight you,
> > then you win."
> >   -- Gandhi, being prophetic about Linux.
> > Brian Salter-Duke (Brian Duke) Email: b_duke(AT)bigpond(DOT)net(DOT)au
> >
> 
> -- 
> Послато са мог мобилног уређаја


do not tell fetchmail to delete after download (see man page), then all
will remain on gmail's server and will be accessable via tags/labels or in
"all mail".

not to your wishes then subscribe to a second gmail account and
automagically via gmail forward the list mail to the second account.  All
you list mail comes from specific addrs so sorting what you wish deleted
is the easiest approach, imnsho.  Then dl with fetchmail list mail from
the second account and tell fetchmail to delete after dl.  The mail will
all remain in "all mail" anywhay until you delete it yourself.

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  HOG # US1244711
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
http://en.opensuse.org   openSUSE Community Member
Registered Linux User #207535@ http://linuxcounter.net


Re: Fetch and delete only lists and make offline /copy/ of other msgs - IMAP

2011-11-17 Thread Brandon McCaig
Hello:

On Thu, Nov 17, 2011 at 07:22:23PM -0500, Patrick Shanahan wrote:
> do not tell fetchmail to delete after download (see man page),
> then all will remain on gmail's server and will be accessable
> via tags/labels or in "all mail".

This is what I do. I already had filters setup on G-mail to
automatically archive mailing list posts to keep them out of my
inbox. I use fetchmail to retrieve all my mail without deleting
it from the remote server. I use procmail to sort it out on my
machine. Then I read it and respond to it with mutt (plus Vim,
and msmtp).

I track my .fetchmailrc, .procmailrc, .muttrc, and .msmtprc in a
public GitHub repository if you want to take a look (I mostly
took them from existing guides on the Web for using Mutt with
G-mail, so I can't really take credit for them):

https://github.com/bamccaig/rc/

Credentials are in ~/.netrc (and not tracked in the public repo
;). Let me know if you notice something in the repo that
shouldn't be. xD

> not to your wishes then subscribe to a second gmail account and
> automagically via gmail forward the list mail to the second
> account.  All you list mail comes from specific addrs so
> sorting what you wish deleted is the easiest approach, imnsho.
> Then dl with fetchmail list mail from the second account and
> tell fetchmail to delete after dl.  The mail will all remain in
> "all mail" anywhay until you delete it yourself.

I'm not sure exactly what this is about. I don't see any need for
a second G-mail account. :-/ Before using Mutt I would just
filter mailing list (and other noise) messages out of my inbox,
leaving them unread. I'd configure G-mail to show interesting
labels only when there was new messages. It worked quite well
that way.

Now that I mostly use Mutt to read my mail I've configured G-mail
to mark mail as read when fetched via POP. It still remains in my
G-mail account, but it doesn't bother me because it's marked as
read and archived and therefore I never see it unless I go
looking for it.  If I ever need or want to I can still read and
respond to my mail from the G-mail Web interface though.

HTH,


-- 
Brandon McCaig  
Castopulence Software 
Blog 
perl -E '$_=q{V zrna gur orfg jvgu jung V fnl. }.
q{Vg qbrfa'\''g nyjnlf fbhaq gung jnl.};
tr/A-Ma-mN-Zn-z/N-Zn-zA-Ma-m/;say'



signature.asc
Description: Digital signature


Re: S/Mime signatures and Outlook 2010

2011-11-17 Thread Stas Verberkt
On Thu, Nov 17, 2011 at 05:37:50PM -0500, Dave Dodge wrote:
> On Thu, Nov 17, 2011 at 11:21:49PM +0100, P. Mazart wrote:
> > Stas Verberkt schrieb am 17.11.2011 14:43:46:
> > > Nevertheless, disabling the "clear text" mode is not really an option,
> > > as this would render all my e-mails unreadable by those using older
> > > e-mailclients or e-mailclients on smartphones.
> > 
> > Actually we might not have an idea, what “clear text” mode is…
> 
I understand this is a bit low on information, the problem is that
Outlook does not give much more information in itself. However, I seem
to have found some pointers on their technet website:
http://technet.microsoft.com/en-us/library/aa995740%28EXCHG.65%29.aspx
http://technet.microsoft.com/en-us/library/aa995749%28EXCHG.65%29.aspx

> I believe in this case Outlook uses S/MIME multipart/signed, so the
> signature is in a separate body part and clients without S/MIME
> support can still read the text/plain part of the message.
> 
> The other way Outlook can send signed messages (with "clear text"
> disabled) involves wrapping the signature *and* text into some sort of
> PKCS binary blob, which obviously causes a lot of trouble with other
> clients.
> 
This is probably true. Deactivating it leads to an attachment calles
"smime.p7m", in which the e-mail and signature reside. According to
those two Microsoft Technet pages, this is opaque signed. The other
option is then clear text. However, this seems not to be inline, when I
examine the message (as opposed to those send by Mutt). It seems these
message have a text/plain and a text/html bodypart, as well as an
"smime.p7s" attachment with the signature.

If I could clarify more, I would be glad to do so.

Kind regards



pgpvOBBTeKXyM.pgp
Description: PGP signature