Re: spontaneous sync-mailbox

2001-08-13 Thread Cedric Duval

Hi Eric,

* Eric Smith [EMAIL PROTECTED] [08/13/01 12:03]:
 Is this possible to implement without pathcing the source?

 I mean, Instead of having to explicitly calling it with '$'

You just have to define some macros. For instance :

macro index d delete-messagesync-mailbox delete and sync
macro pager d delete-messagesync-mailbox delete and sync

 Whatever I do in mutt I would like my mailbox flags to be updated in
 real time.

But doing this you'll lose the ability to change your mind and undo
changes. Furthermore, for huge mailboxes (especially if you manipulate
old mails in mbox format), syncing can take a lot of time.

Anyway, HTH.

-- 
Cedric



Re: SMTP AUTH-capable MTA

2001-08-13 Thread Nate Johnston

Suresh Ramasubramanian spake thus: (Sat, Aug 11, 2001 at 07:51:11AM +0530)

 Nate Johnston [mutt-users] 10/08/01 14:51 -0500: 
  I am running mutt, but I do not want to submit my mail to the running
  Sendmail daemon for reliability reasons.  I am looking for a utility
 
 Erm, how (un)reliable is sendmail?  Especially newer versions (current: 8.11.5)
 of sendmail?

My issue is not with sendmail, per se, but with a new set of policies
that have been implemented locally.  Redirecting all mail from the Unix
host to a Windows NT machine to be virus and content screened is a
decision I disagree with.  And seeing as that screening server has
already had three significant downtimes in the past month I'd like to
bypass it altogether.
 
  that will connect to a remote mailserver using SMTP AUTH and send just
  the email I provide to it, from the command line, not running in daemon
  mode or requiring superuser priveliges.  
  
  http://www.sendmail.org/~ca/email/auth.html
 
  1. You don't need to run it in daemon mode at all (remove the -bd flag)
  2. Sendmail is quite secure - even if it does run setuid root.  If you don't
  want setuid root, go to sendmail 8.12 beta 16 (quite stable).

This is a multi-user system and I do not have superuser priveliges.  My
impression is that compiling and installing a home-directory local copy
of sendmail is an exercise best avoided if possible.

--N.

--
Nate Johnston   [EMAIL PROTECTED]
GPG footprint: DEAF B505 0D84 1AEF A43F  91C5 71B3 D053 D0E1 3C05
Nihil tam munitum quod non expugnari pecuna possit.  -Cicero

 PGP signature


Re: SMTP AUTH-capable MTA

2001-08-13 Thread Lars Hecking

 
 My issue is not with sendmail, per se, but with a new set of policies
 that have been implemented locally.  Redirecting all mail from the Unix
 host to a Windows NT machine to be virus and content screened is a
 decision I disagree with.  And seeing as that screening server has
 already had three significant downtimes in the past month I'd like to
 bypass it altogether.

 Maybe your Unix people were asleep when that policy was decided?
 There are several commercial and semi-commercial (you always need
 to buy at least a virus scanner) solutions for virus scanning on Unix
 machines. This is better than running a virus scanner on a system
 that itself is prone to infections (think orthogonal). There were
 also a couple of bugtraq postings in the past few months about
 vulnerabilites in NT/2000 versions of some commercial screening software.

 If that system already had downtime, you have a good case for pushing
 into the other direction now.

 Sorry for the OT ;)




Re: SMTP AUTH-capable MTA

2001-08-13 Thread Suresh Ramasubramanian

Nate Johnston [mutt-users] 13/08/01 07:28 -0500: 
 This is a multi-user system and I do not have superuser priveliges.  My
 impression is that compiling and installing a home-directory local copy
 of sendmail is an exercise best avoided if possible.
 
 Then you are better off with Masqmail / Nullmailer

-- 
Suresh Ramasubramanian + Lumber Cartel India - tinlcI
mallet @ cluestick.org + Wallopus Malletus Indigenensis
Carmel, New York, has an ordinance forbidding men to wear coats and
trousers that don't match.



Re: Default save-hook

2001-08-13 Thread teo

Hi Andrei!
On Thu, 09 Aug 2001, Andrei Zmievski wrote:

 I have a few save-hooks set up to save my mailing list stuff into
 different folders. However, I'd like to set up a default save-hook that
 would save anything that is not caught by the other save-hooks into
 another directory according to the From: address. Example: if I have
 mail from [EMAIL PROTECTED] I want this default hook to save it to
 =people/foo, and if it's from [EMAIL PROTECTED], it should go into
 =people/jester. Is it possible to do this with mutt?
 
have you tried:
save-hook '~f [EMAIL PROTECTED]' =people/foo
save-hook '~f [EMAIL PROTECTED]' =people/jester

-- teodor



Re: Default save-hook

2001-08-13 Thread Andrei Zmievski

On Mon, 13 Aug 2001, [EMAIL PROTECTED] wrote:
 have you tried:
 save-hook '~f [EMAIL PROTECTED]' =people/foo
 save-hook '~f [EMAIL PROTECTED]' =people/jester

Hi,

Of course I can do that for each individual email address, but it would
suck. I need to know if there's a way to do it for any email address
that's not already caught by other save-hooks.

-Andrei

As I was going up the stair, I met a man who wasn't there.
He wasn't there again today. I wish, I wish he'd stay away.
-Hughes Mearns




Re: Mutt

2001-08-13 Thread Noesis

I added set envelope_from in your .muttrc and it works perfectly.  Even
before messing with sendmail?!  I don't even know where I added my smtp
server!?  How can this be?

Looks like this is my last question regarding this topic, thanks for all
your help!

-Noesis
 



Re: spontaneous sync-mailbox

2001-08-13 Thread Eric Smith

According to Cedric Duval on Mon, Aug 13, 2001 at 01:03:48PM +0200:
| Hi Eric,
| 
| * Eric Smith [EMAIL PROTECTED] [08/13/01 12:03]:
|  Is this possible to implement without pathcing the source?
| 
|  I mean, Instead of having to explicitly calling it with '$'
| 
| You just have to define some macros. For instance :
| 
| macro index d delete-messagesync-mailbox delete and sync
| macro pager d delete-messagesync-mailbox delete and sync
| 

Of course !

But slight problem, the sync-mailbox command does not work on my Mutt
1.2.5i in the pager - only in the index.  Can check this by going
exec sync-mailbox
sync-mailbox: no such command

And of course this don't win any prizes cause you dont get to read the mail!
macro index return display-messageexitsync-mailbox read the mail and sync

reason for wanting this is that I have a kind of an xbiff running
every minute viz.

#!/bin/sh
response=`nfrm`;
if [ $response != 'You have no new mail.' ];then
  screen -X -S 4880.ENVELOPE echo $response
fi

very kewl if you are a screen user (IMHO).
So I need to do a manual resync to stop the flashing of the new mail.
I do not want to have to do that.

|  Whatever I do in mutt I would like my mailbox flags to be updated in
|  real time.
| 
| But doing this you'll lose the ability to change your mind and undo
| changes. Furthermore, for huge mailboxes (especially if you manipulate
| old mails in mbox format), syncing can take a lot of time.

ten we use folder-hook, I only need theis macro for my incoming
mailspool.

-- 
Eric Smith
Fruitcom.com Benelux
Wire phone: +31 20 681 6889
Wireless:   +31 617 232 304



Re: Default save-hook

2001-08-13 Thread Sam Roberts

Quoting Andrei Zmievski [EMAIL PROTECTED], who wrote:
 Hi,
 
 Of course I can do that for each individual email address, but it would
 suck. I need to know if there's a way to do it for any email address
 that's not already caught by other save-hooks.

Did you look at save_name? I think it also interacts with reverse_alias.

Sam

-- 
Sam Roberts [EMAIL PROTECTED]



Re: Mutt

2001-08-13 Thread Suresh Ramasubramanian

Noesis [mutt-users] 13/08/01 08:37 -0500: 
 I added set envelope_from in your .muttrc and it works perfectly.  Even
 before messing with sendmail?!  I don't even know where I added my smtp
 server!?  How can this be?
 
 Mutt uses your local sendmail.

 Looks like this is my last question regarding this topic, thanks for all
 your help!
 
 Again, try http://www.hserus.net/sendmail.html if you want to fiddle with
 sendmail :)

-suresh
-- 
Suresh Ramasubramanian + Lumber Cartel India - tinlcI
mallet @ cluestick.org + Wallopus Malletus Indigenensis
The only possible interpretation of any research whatever in the
`social sciences' is: some do, some don't.
-- Ernest Rutherford



Re: Default save-hook

2001-08-13 Thread Andrei Zmievski

On Mon, 13 Aug 2001, Sam Roberts wrote:
  Of course I can do that for each individual email address, but it would
  suck. I need to know if there's a way to do it for any email address
  that's not already caught by other save-hooks.
 
 Did you look at save_name? I think it also interacts with reverse_alias.

I did take a look at it. Actually even without save_name turned on, I'm
very close to what I want. Right now if I have email from
[EMAIL PROTECTED] and I hit 'save', it prompts me for where to save it to
and the default location is =joeman. What I want it to be is
=people/joeman..

-Andrei

The human brain is a wonderful thing. It starts working the moment you
are born, and never stops until you stand up to speak in public.  -- Sir
George Jessel



Re: spontaneous sync-mailbox

2001-08-13 Thread Cedric Duval

* Eric Smith [EMAIL PROTECTED] [08/13/01 16:25]:
 | You just have to define some macros. For instance :
 | 
 | macro index d delete-messagesync-mailbox delete and sync
 | macro pager d delete-messagesync-mailbox delete and sync
 | 

 Of course !

 But slight problem, the sync-mailbox command does not work on my Mutt
 1.2.5i in the pager - only in the index.  Can check this by going
 exec sync-mailbox
 sync-mailbox: no such command

Ok. I hadn't tested these macros. I forgot sync-mailbox is only for
the pager.

 And of course this don't win any prizes cause you dont get to read the mail!
 macro index return display-messageexitsync-mailbox read the [...]
^   ^^^
  ??? this seems equivalent to... doing nothing !

For the index:
macro index d delete-messagesync-mailbox
For the pager:
macro pager d exitdelete-messagesync-mailboxdisplay-message

Er... delete-message was indeed the worst example I could have chosen,
because Mutt won't display the mail it has just deleted!  :-/

But you get the idea.

-- 
Cedric



Re: Default save-hook

2001-08-13 Thread David Ellement

On 010813, at 09:47:00, Andrei Zmievski wrote
 [...]  Right now if I have email from
 [EMAIL PROTECTED] and I hit 'save', it prompts me for where to save it to
 and the default location is =joeman. What I want it to be is
 =people/joeman..

Perhaps 'save-hook . =people/%u' or 'save-hook !~l =people/%u' will
do what you want.

-- 
David Ellement



Re: Default save-hook

2001-08-13 Thread Eugene Lee

On Mon, Aug 13, 2001 at 08:24:25AM -0700, David Ellement wrote:
: On 010813, at 09:47:00, Andrei Zmievski wrote
:  
:  [...]  Right now if I have email from
:  [EMAIL PROTECTED] and I hit 'save', it prompts me for where to save it to
:  and the default location is =joeman. What I want it to be is
:  =people/joeman..
: 
: Perhaps 'save-hook . =people/%u' or 'save-hook !~l =people/%u' will
: do what you want.

Is '%u' documented in the Mutt 1.2.5 docs as a valid save-hook sequence?


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: Default save-hook

2001-08-13 Thread David T-G

Eugene --

...and then Eugene Lee said...
% On Mon, Aug 13, 2001 at 08:24:25AM -0700, David Ellement wrote:
% : On 010813, at 09:47:00, Andrei Zmievski wrote
% :  
% :  [...]  Right now if I have email from
% :  [EMAIL PROTECTED] and I hit 'save', it prompts me for where to save it to
% :  and the default location is =joeman. What I want it to be is
% :  =people/joeman..
% : 
% : Perhaps 'save-hook . =people/%u' or 'save-hook !~l =people/%u' will
% : do what you want.
% 
% Is '%u' documented in the Mutt 1.2.5 docs as a valid save-hook sequence?

Now that you know what it is and searching is trivial, you should look
it up for yourself and see.

It is.  Well, it's documented in index_format as well as folder_format
and pgp_entry_format, though it has different meanings in attach_format
and status_format; I would figure that those (especially index_format,
which has just about everything in it) would be good places to start when
looking for such things.  

You might also look at %O -- which is also similarly documented.


% 
% -- 
% Eugene Lee
% [EMAIL PROTECTED]


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


 PGP signature


Re: Default save-hook

2001-08-13 Thread Andrei Zmievski

On Mon, 13 Aug 2001, David Ellement wrote:
  [...]  Right now if I have email from
  [EMAIL PROTECTED] and I hit 'save', it prompts me for where to save it to
  and the default location is =joeman. What I want it to be is
  =people/joeman..
 
 Perhaps 'save-hook . =people/%u' or 'save-hook !~l =people/%u' will
 do what you want.

It works but it disables all other save-hooks I have. For example:

save-hook . =people/%u
save-hook ~Lphp-dev +OpenSource/PHP

If I have a message from [EMAIL PROTECTED] that he sent to php-dev
list and I want to save it, shouldn't it be caught by the second
save-hook? Because with this setup it wants to be saved to
=people/richp.

-Andrei

Windows 2000 is certified not to crash more than
once a day, so what is the bootup time, 24 hours?
-- Sam Liddicott



Re: Default save-hook

2001-08-13 Thread Eugene Lee

On Mon, Aug 13, 2001 at 11:41:48AM -0400, David T-G wrote:
: ...and then Eugene Lee said...
: % 
: % Is '%u' documented in the Mutt 1.2.5 docs as a valid save-hook sequence?
: 
: Now that you know what it is and searching is trivial, you should look
: it up for yourself and see.
: 
: It is.  Well, it's documented in index_format as well as folder_format
: and pgp_entry_format, though it has different meanings in attach_format
: and status_format; I would figure that those (especially index_format,
: which has just about everything in it) would be good places to start when
: looking for such things.  

I don't see anything in the Mutt 1.2.5 docs that say, Here are the
valid percent sequences that are recognized and expanded by save-hooks.
If it's there, it's either written in a very non-intuitive manner or I'm
going blind.  :)  If it's not there, maybe it's a Mutt 1.3 feature?


-- 
Eugene Lee
[EMAIL PROTECTED]



Re: Default save-hook

2001-08-13 Thread David Ellement

On 010813, at 10:50:53, Andrei Zmievski wrote
  Perhaps 'save-hook . =people/%u' or 'save-hook !~l =people/%u' will
  do what you want.
 
 It works but it disables all other save-hooks I have. For example:
 
 save-hook . =people/%u
 save-hook ~Lphp-dev +OpenSource/PHP

Since mutt uses the first matching save-hook, a default save-hook
needs to be appear last.

-- 
David Ellement



Re: Default save-hook

2001-08-13 Thread Andrei Zmievski

On Mon, 13 Aug 2001, David Ellement wrote:
 Since mutt uses the first matching save-hook, a default save-hook
 needs to be appear last.

Woohoo, it works! Thank you.

-Andrei

The galaxy is, in other words, an immensely, intrinsically,
and inexhaustibly interesting place. -- Iain M. Banks



Re: Muttzilla/altmail and Mozilla

2001-08-13 Thread Michael Sanders

On Fri, Aug 10, 2001 at 06:42:18PM -0400, Kyle Knack wrote:
 Has anyone gotten muttzilla and/or altmail to work with the latest
 releases of Mozilla (ie: 0.92) ?  It seems as though the prefs.js (I
 can't remember the exact name) is generated dynamically or by some
 similar action.  I could also be completely wrong here ;)
 
I have version 0.40 (the most recent listed at
http://www3.telus.net/brian_winters/mutt/ )
working without problems. What is v 0.92?

If you put the required lines at the end of preferences.js netscape will
move them elsewhere in the file, but that is not a problem.

-- 
(T.) Michael Sanders internet: [EMAIL PROTECTED]
Physics Department   URL: http://www-personal.umich.edu/~sanders
University of Michigan   phone: 734/936-0799
Ann Arbor, MI 48109-1120 FAX: 734/764-6843



Re: Muttzilla/altmail and Mozilla

2001-08-13 Thread Vincent Lefevre

On Mon, Aug 13, 2001 at 13:12:26 -0400, Michael Sanders wrote:
 I have version 0.40 (the most recent listed at
 http://www3.telus.net/brian_winters/mutt/ )
 working without problems. What is v 0.92?

But does this work with Mozilla (the current version is now 0.9.3)?

-- 
Vincent Lefèvre [EMAIL PROTECTED] - Web: http://www.vinc17.org/ - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Re: Muttzilla/altmail and Mozilla

2001-08-13 Thread Michael Sanders

On Mon, Aug 13, 2001 at 08:02:25PM +0200, Vincent Lefevre wrote:
 
 But does this work with Mozilla (the current version is now 0.9.3)?
 
Mea culpa!

I just tried with Mozilla 0.9.3 (Navigator only). The prefs.js file is 
fine, but muttzilla does not open for me either.

Has anyone tried netscape 6.1?

-- 
(T.) Michael Sanders internet: [EMAIL PROTECTED]
Physics Department   URL: http://www-personal.umich.edu/~sanders
University of Michigan   phone: 734/936-0799
Ann Arbor, MI 48109-1120 FAX: 734/764-6843



Re: SMTP AUTH-capable MTA

2001-08-13 Thread Vineet Kumar

* Nate Johnston ([EMAIL PROTECTED]) [010813 05:34]:
 Suresh Ramasubramanian spake thus: (Sat, Aug 11, 2001 at 07:51:11AM +0530)
 
  Nate Johnston [mutt-users] 10/08/01 14:51 -0500: 
   I am running mutt, but I do not want to submit my mail to the running
   Sendmail daemon for reliability reasons.  I am looking for a utility
  
  Erm, how (un)reliable is sendmail?  Especially newer versions (current: 8.11.5)
  of sendmail?
 
 My issue is not with sendmail, per se, but with a new set of policies
 that have been implemented locally.  Redirecting all mail from the Unix
 host to a Windows NT machine to be virus and content screened is a
 decision I disagree with.  And seeing as that screening server has
 already had three significant downtimes in the past month I'd like to
 bypass it altogether.

Before you spend a lot of time and energy downloading and compiling
something of your own, make sure you check whether it will work by
attempting an outgoing connection to port 25 (of any reliable smtp
server). If the policy is to redirect all mail to a screening host, I'd
be surprised if there wasn't a firewall rule to enforce that policy by
disallowing outgoing connections to port 25.

Cheers,

-- 
Vineet   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
Qba\'g gernq ba zr\!  |tr 'a-zA-Z' 'n-za-mN-ZA-M'

 PGP signature


matching fcc-save-hooks

2001-08-13 Thread Jean-Sebastien Morisset

I use fcc-save-hooks like:

fcc-save-hook [EMAIL PROTECTED] =.Clients.CompanyX.People.joe bob

I'd like to limit matches to the To: and From: fields, skipping the Cc:
and Bcc: fields. I figure the following would probably work, but is there
a more elegant (i.e. less redundant) method?

fcc-save-hook ~t [EMAIL PROTECTED] | ~f [EMAIL PROTECTED] =.Clients.CompanyX.People.joe 
bob

I don't imagine this works, right?

fcc-save-hook ~(t|f) [EMAIL PROTECTED] =.Clients.CompanyX.People.joe bob

Thanks,
js.
-- 
Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
Personal Homepage http://jsmoriss.mvlan.net/; UNIX, Internet, 
Homebrewing, Cigars, PCS, PalmOS, CP2020 and other Fun Stuff...
This is Linux Country. On a quiet night you can hear Windows NT reboot!



Re: trouble with mailboxes

2001-08-13 Thread homega

On Sun, Aug 12, 2001 at 07:29:00PM +0530, Suresh Ramasubramanian wrote:
 Horacio [mutt-users] 12/08/01 06:08 +0200: 
  Sorry, my mistake.  This is what happens when you go back to using
  sendmail after time using qmail and forget to change the line in
  .fetchmailrc:
  mda /usr/local/bin/procmail
  mda formail -ds procmail
 
 That is, strictly speaking, not necessary.
  mda /path/to/procmail -d %T
 should do the trick (per the fetchmail manpage)

It doesn´t work for me.  This processes mail with a broken header.
I wonder if the non existance of a .forward file got anything to do?

BTW, my rc.conf for the sendmail daemon reads (this is a BSD
system):

sendmail_flags=-bd -q30m
  ^
I recall reading somewhere that passing the -bd flag to sendmail and
then passing the -d flag to formail/procmail is a redundancy.
But if I don´t process the mail with the ´mda formail -ds procmail´
line on .fetchmailrc the headers get fscked up.



Re: matching fcc-save-hooks

2001-08-13 Thread David Ellement

On 010813, at 16:00:36, Jean-Sebastien Morisset wrote
 I'd like to limit matches to the To: and From: fields, skipping the Cc:
 and Bcc: fields. I figure the following would probably work, but is there
 a more elegant (i.e. less redundant) method?
 
 fcc-save-hook ~t [EMAIL PROTECTED] | ~f [EMAIL PROTECTED] =.Clients.CompanyX.People.joe 
bob
 
 I don't imagine this works, right?
 
 fcc-save-hook ~(t|f) [EMAIL PROTECTED] =.Clients.CompanyX.People.joe bob

I've found it convenient to redefine default_hook before specifying
a set of fcc/save/fcc-save hooks with a special pattern:

set default_hook=~t %s | ~f %s
fcc-save-hook [EMAIL PROTECTED] =.Clients.CompanyX.People.joe bob
...

-- 
David Ellement



Mutt and gpg encryption-problem

2001-08-13 Thread Jan-Hendrik Palic

Hi all..

ich have a small problem (I think) with mutt and gpg.
I'v got mutt-1.3.19 with gnupg-1.0.6 and all went fine, but when I want to
encrypt a mail, I got this:

usage: gpg [options] --encrypt [filename]

I seems something wrong, but i do not find this error.

In my .muttrc I have this vor gpg- encryptions:

set pgp_encrypt_only_command=gpg -v --batch --output - --encrypt --textmode
--armor --always-trust -- -r %r -- %f

set pgp_encrypt_sign_command=gpg --passphrase-fd 0 -v --batch --textmode
--output - --encrypt --sign %?a?-u %a? --armor --always-trust --
-r %r -- %f.

What's going wrong?

Thnx for your help?

Cheers
Jan

-- 
One time, you all will be emulated by linux!


Jan- Hendrik Palic
Url:http://www.billgotchy.de;
E-Mail: [EMAIL PROTECTED]

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s: a-- C++ UL++ P+++ L+++ E W++ N+ o+ K- w--- 
O- M- V- PS++ PE Y+ PGP++ t--- 5- X+++ R-- tv- b++ DI-- D+++ 
G+++ e+++ h+ r++ z+ 
--END GEEK CODE BLOCK--

 PGP signature


Mutt and gpg encryption-problem

2001-08-13 Thread Jan-Hendrik Palic

Hi all..

ich have a small problem (I think) with mutt and gpg.
I'v got mutt-1.3.19 with gnupg-1.0.6 and all went fine, but when I want to
encrypt a mail, I got this:

usage: gpg [options] --encrypt [filename]

I seems something wrong, but i do not find this error.

In my .muttrc I have this vor gpg- encryptions:

set pgp_encrypt_only_command=gpg -v --batch --output - --encrypt --textmode
--armor --always-trust -- -r %r -- %f

set pgp_encrypt_sign_command=gpg --passphrase-fd 0 -v --batch --textmode
--output - --encrypt --sign %?a?-u %a? --armor --always-trust -- 
-r %r -- %f.

What's going wrong?

Thnx for your help?

Cheers   
Jan

-- 
One time, you all will be emulated by linux!


Jan- Hendrik Palic
Url:http://www.billgotchy.de;
E-Mail: [EMAIL PROTECTED]

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d- s: a-- C++ UL++ P+++ L+++ E W++ N+ o+ K- w--- 
O- M- V- PS++ PE Y+ PGP++ t--- 5- X+++ R-- tv- b++ DI-- D+++ 
G+++ e+++ h+ r++ z+ 
--END GEEK CODE BLOCK--

 PGP signature


Re: trouble with mailboxes

2001-08-13 Thread Suresh Ramasubramanian

[EMAIL PROTECTED] [mutt-users] 13/08/01 23:14 +0200: 
 BTW, my rc.conf for the sendmail daemon reads (this is a BSD
 system):
 sendmail_flags=-bd -q30m
 I recall reading somewhere that passing the -bd flag to sendmail and

This runs sendmail in daemon mode

 then passing the -d flag to formail/procmail is a redundancy.

procmail -d - totally different.  Quoting from man procmail ...

: -d recipient ...
: This  turns  on explicit delivery mode, delivery will be to the local user
: recipient.   This,  of  course, only  is possible if procmail has root
: privileges (or if procmail is already running with  the  recipient's euid and
: egid).  Procmail will setuid to the intended recipients and  delivers  the
: mail  as  if  it  were invoked  by  the recipient with no arguments (i.e. if
: no rcfile is found, delivery is like ordinary  mail).  This option is
: incompatible with -p.

 line on .fetchmailrc the headers get fscked up.
 
 Turn on verbose logging in your .procmailrc

-- 
Suresh Ramasubramanian + Lumber Cartel India - tinlcI
mallet @ cluestick.org + Wallopus Malletus Indigenensis
VYARZERZOMANIMORORSEZASSEZANSERAREORSES?



Re: Mutt and gpg encryption-problem

2001-08-13 Thread Frank Derichsweiler

On Mon, Aug 13, 2001 at 11:43:53PM +0200, Jan-Hendrik Palic wrote:
 
 In my .muttrc I have this vor gpg- encryptions:
 
 set pgp_encrypt_only_command=gpg -v --batch --output - --encrypt --textmode
 --armor --always-trust -- -r %r -- %f
 
 set pgp_encrypt_sign_command=gpg --passphrase-fd 0 -v --batch --textmode
 --output - --encrypt --sign %?a?-u %a? --armor --always-trust --
 -r %r -- %f.
 
I am using the contributed gpg.rc file and there I have
set pgp_encrypt_only_command=pgpewrap gpg -v --batch -o - --encrypt 
--textmode --armor --always-trust -- -r %r -- %f

set pgp_encrypt_sign_command=pgpewrap gpg --passphrase-fd 0 -v
--batch -o - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f

and pgpewrap is as follows:

#!/bin/sh --

cmd=$1
pfx=

die() {
echo Command line usage: $0 [flags] -- prefix [recipients]
 2
exit 1
}

while test $# -gt 0  shift  test -n $1 ; do
if test $1 = -- ; then
shift || die
pfx=$1
shift || die
fi
cmd=$cmd $pfx $1
done

exec $cmd


HTH
Frank