Re: Generate Reply / New Mail in new shell session

2007-10-04 Thread Eyolf Østrem
On 03.10.2007 (21:57), Joseph wrote:
 It would be nice if it was possible to start a New Email or Replies in a new 
 shell session and close it 
 automatically when a mail is sent, without, going through postpone.
 
 Is it possible?
 
 Sometimes I have to look up/collect some information from several older 
 emails so this kind of functionality 
 would really be handy.

I was missing that functionality too. I solved it the other way
around: open a new instance of mutt. It's a one-keypress thing (I have
a desktop keyboard shortcut win-m set up to run xterm -e mutt), and
the effect is, I believe, the same as what you describe. One thing I
can't do that way is to tag several messages and add them to what I'm
replying to, but how often do I do that...?


Eyolf

-- 
Life does not begin at the moment of conception or the moment of birth.
It begins when the kids leave home and the dog dies.


Re: Generate Reply / New Mail in new shell session

2007-10-04 Thread Charles Killian
  It would be nice if it was possible to start a New Email or Replies in a 
  new shell session and close it 
  automatically when a mail is sent, without, going through postpone.
 
 I was missing that functionality too. I solved it the other way
 around: open a new instance of mutt. 

When necessary, I too have resorted to this workaround.  However, I'd
like to put in another vote for the actual functionality requested.
Opening another Mutt is a bit less convenient if you're using something
like IMAP to get to your messages, and particularly so if IMAP isn't
supporting simultaneous readers on the same mailbox.

-Chip

-- 

Chip Killian
http://www.cs.ucsd.edu/~ckillian/
UCSD Graduate Student, Computer Science


Odd bug/feature with mixed mbox and maildir

2007-10-04 Thread Chris G
I keep my mail in two separate hierarchies, all incoming mail is
delivered (via a perl script which does procmail sort of things) to
a series of maildir mailboxes in ~/Mail and ~/Mail/lists.

All the mail that I save for any reason is saved in mbox format below
~/savedMail.  I have set mbox_type=mbox in my muttrc, mutt
recognises the incoming mail in maildir format without problems.

However if I 'c' directly to one of the maildir mailboxes, entering
its full path then I get to see the following:-

-   ../  Oct 04 11:11   4.0K
 cur/ Oct 04 16:36   0.1K
 new/ Oct 04 16:36   0.1K
 tmp/ Oct 04 15:34   0.1K

I.e. mutt hasn't recognised that it's a maildir.  If I navigate there
via the directory above (or even go to .. and then back from the abve)
mutt recognises it correctly as a maildir.

-- 
Chris Green


Re: Generate Reply / New Mail in new shell session

2007-10-04 Thread David Champion
 It would be nice if it was possible to start a New Email or Replies in
 a new shell session and close it automatically when a mail is sent,
 without, going through postpone.

 Is it possible?

Check the archives -- possibly a few years back.  People have posted
examples of how to do this using an external script and a macro.

Basically you generate a draft file as normally, but set your editor to
an external script that launches a new mutt instance in a new window
using that draft file as a template.  Then restore $editor and move on.
Should be even easier now, with my_ variables.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago
 Polka music needs to prevail.   John Ziobrowski, Polka America Corporation


Send Later

2007-10-04 Thread bt44
I know this is not specific to mutt per se, and more to do
with my MTA, but anyways I will ask it. 

I use mutt + fetchmail + procmail + ssmtp. No issues, works
great. But just one feature I want to get going. I would 
like to send my replies or new messages later (all once, 
but they should get queued in a folder (mailbox), which I
should be able to review once, before sending them all in
one shot. (Something similar to Kmail - send later).

As I understand, ssmtp does not support message queuing, 
which is possible in other mta's, but if there is any
workaround to this (before I explore any other mta), would
like to know it.

Regards, Anand

--
  __  _ The Lotus 78 (John Players Special)
 [  ]_.--'_'._  Notice the greater rake on the main bodywork
   `( o )_Anand__(o)Z  and the extension through to the rear wing.


Re: Send Later

2007-10-04 Thread David Champion
 As I understand, ssmtp does not support message queuing, 
 which is possible in other mta's, but if there is any
 workaround to this (before I explore any other mta), would
 like to know it.

Check the archives, possible several years back.  People have posted
scripts for this too. :)

Basically you set $sendmail to a script that appends your outbound
message to a folder (mbox or maildir, your call) and returns.  You can
have a cron job, an external script, or a macro that splits this folder
(using formail, if mbox, or basic looping structures if maildir) and
sends each message into ssmtp one by one.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago
 Polka music needs to prevail.   John Ziobrowski, Polka America Corporation


Re: Send Later

2007-10-04 Thread Dilip M
On 10/4/07, bt44 [EMAIL PROTECTED] wrote:
 I know this is not specific to mutt per se, and more to do
 with my MTA, but anyways I will ask it.

 I use mutt + fetchmail + procmail + ssmtp. No issues, works
 great. But just one feature I want to get going. I would
 like to send my replies or new messages later (all once,
 but they should get queued in a folder (mailbox), which I
 should be able to review once, before sending them all in
 one shot. (Something similar to Kmail - send later).

I use msmtpqueue for the same!
http://msmtp.sourceforge.net/tools.html


-- 
Dilip


Re: Generate Reply / New Mail in new shell session

2007-10-04 Thread Joseph
On 10/04/07 10:59, David Champion wrote:
  It would be nice if it was possible to start a New Email or Replies in
  a new shell session and close it automatically when a mail is sent,
  without, going through postpone.
 
  Is it possible?
 
 Check the archives -- possibly a few years back.  People have posted
 examples of how to do this using an external script and a macro.
 
 Basically you generate a draft file as normally, but set your editor to
 an external script that launches a new mutt instance in a new window
 using that draft file as a template.  Then restore $editor and move on.
 Should be even easier now, with my_ variables.

All I was able to find is a solution with Ctrl-z putting it in a background 
and starting new session.
That is not really a solution.

I'm sure somebody has similar macro worked out, it is just a mutter of finding 
it :-/

-- 
#Joseph
GPG KeyID: ED0E1FB7


No outgoing mail

2007-10-04 Thread Rem P Roberti
Help!  I have no idea what I did, but I am no longer able send mail via 
Mutt.  I had just finished modifying my .muttrc file to source my alias 
folder, and now every time that I try to send an email I get an error 
message stating: Aborted unmodified message.  This happens whether or 
not I try to send using an alias.  Nothing was changed (as far as I can 
tell) to either my getmail or postfix configurations, and I have no 
trouble sending with Elm.  As I say, I haven't a clue what I did to 
create this condition, but I sure do need to fix it.  Any help is much 
appreciated.


Rem


Re: Generate Reply / New Mail in new shell session

2007-10-04 Thread David Champion
 All I was able to find is a solution with Ctrl-z putting it in a
 background and starting new session.  That is not really a solution.

Agreed.  That's not it.


 I'm sure somebody has similar macro worked out, it is just a mutter of 
 finding it :-/

Something along these lines might work.  Untested.  It's been years
since I used xterm, so I'm not sure if the syntax below is correct for
expressing what xterm should run.  Might need to add sh -c and quoting,
or somesuch.  Maybe you need some more dressing, but perhaps this will
get you started.

If you want this only sometimes, you'll need to macro-fy the muttrc
bits.


$ cat external-reply
#!/bin/sh
DRAFT=$1
# hard-link our own copy of the draft so that mutt can remove original
ln $DRAFT $DRAFT.tmp
(
## execute this in a bkgrounded subshell,
## allowing the original shell to exit
xterm -e exec mutt -H '$DRAFT'
rm -f $DRAFT
) 
exit 0

.muttrc:
set editor=external-reply

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago
 Polka music needs to prevail.   John Ziobrowski, Polka America Corporation


Re: Send Later

2007-10-04 Thread bt44
[Thu, 04/10/07 at 22:48 +0545] Dilip M wrote:
 On 10/4/07, bt44 [EMAIL PROTECTED] wrote:
  I know this is not specific to mutt per se, and more to do
  with my MTA, but anyways I will ask it.
 
  I use mutt + fetchmail + procmail + ssmtp. No issues, works
  great. But just one feature I want to get going. I would
  like to send my replies or new messages later (all once,
  but they should get queued in a folder (mailbox), which I
  should be able to review once, before sending them all in
  one shot. (Something similar to Kmail - send later).
 
 I use msmtpqueue for the same!
 http://msmtp.sourceforge.net/tools.html

Perfect. 

Added one additional line in msmtp-enqueue.sh to let me save my posts
to mbox (also gives me a chance to review them) before I trigger send
while being in mutt.

cat $MAILFILE | formail  $HOME/mail/sent-msmtp || exit 1

Regards, Anand

-- 
Look at Hakkinen's face, look at the actions he's making. He is not
at all happy with that racing car.


Re: No outgoing mail

2007-10-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, October  4 at 11:31 AM, quoth Rem P Roberti:
 I had just finished modifying my .muttrc file to source my alias 
 folder, and now every time that I try to send an email I get an 
 error message stating: Aborted unmodified message.

That message happens whenever your editor has not updated the 
timestamp on the temporary file containing your message. This could 
happen because you've done something silly like move/copy that 
temporary file elsewhere, or because your filesystem isn't handling 
dates right, or any number of reasons. Perhaps in editing your .muttrc 
you accidentally changed your $editor setting?

~Kyle
- -- 
I have not failed. I've just found 10,000 ways that won't work.
   -- Thomas Edison
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFHBUTpBkIOoMqOI14RAo5CAKC8w31LPLhOWYHJCreTQq8jX21fKwCcCpgO
6a5SQB6lW8YOSaHEMcBkaM4=
=R8oU
-END PGP SIGNATURE-


Re: Generate Reply / New Mail in new shell session

2007-10-04 Thread Gary Johnson
On 2007-10-04, David Champion [EMAIL PROTECTED] wrote:

 Something along these lines might work.  Untested.  It's been years
 since I used xterm, so I'm not sure if the syntax below is correct for
 expressing what xterm should run.  Might need to add sh -c and quoting,
 or somesuch.  Maybe you need some more dressing, but perhaps this will
 get you started.
 
 If you want this only sometimes, you'll need to macro-fy the muttrc
 bits.
 
 
 $ cat external-reply
 #!/bin/sh
 DRAFT=$1
 # hard-link our own copy of the draft so that mutt can remove original
 ln $DRAFT $DRAFT.tmp

I don't think that will work.  I think you'll need to copy it.  The 
reason is that mutt overwrites its temporary files with zeros before 
unlinking them.

Regards,
Gary


Re: No outgoing mail

2007-10-04 Thread Rem P Roberti
On 2007.10.04 14:54:17 +, Kyle Wheeler wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thursday, October  4 at 11:31 AM, quoth Rem P Roberti:
  I had just finished modifying my .muttrc file to source my alias 
  folder, and now every time that I try to send an email I get an 
  error message stating: Aborted unmodified message.
 
 That message happens whenever your editor has not updated the 
 timestamp on the temporary file containing your message. This could 
 happen because you've done something silly like move/copy that 
 temporary file elsewhere, or because your filesystem isn't handling 
 dates right, or any number of reasons. Perhaps in editing your .muttrc 
 you accidentally changed your $editor setting?
 
 ~Kyle


Okay...newbie eats crow.  I did change my editor setting in .muttrc, and there 
was a bigtime syntax error in
the line.  Thanks for pointing me in the right direction.

Rem


Which spam filter do you use?

2007-10-04 Thread Eyolf Østrem
I've been using bogofilter ever since I first installed KDE/Kmail and the
potentially hassle-free configuration of SpamAssassin led to constant
crashes. I belive it has been solved by now, and in any case Kmail is
ancient history, but I was wondering what experiences the list people
have with various filters.

From what I've read, bogo is quicker than the other contenders, but
lets more spam through. While the speed was a concern in Kmail, since
the filtering was done in the app itself, which meant that it was
unresponsive for a while while the filtering was going on, that is not
so much of a concern now, when that is taken care of by procmail. That
leaves me with c. 10-15 spam mails a day that slip through (out of c.
150-200). 

So, should I switch? I'm quite happy with bogo, especially with the
current setup with some macros I borrowed from an article in linux
journal (I think it was), but I would very much like to hear what your
experiences are in this respect.

Eyolf

-- 
Unceasing warfare gives rise to its own social conditions which have been 
similar in all epochs. People enter a permanent state of alertness to ward
off attacks. You seethe absolute rule of the autocrat. All new things become 
dangerous frontier districts-new planets, new economic areas to exploit, new 
ideas or new devices, visitors-everything suspect. Feudalism takes firm hold, 
sometimes disguised as a politbureau or similar structure, but always present. 
Hereditary succession follows the lines of power. The blood of the powerful 
dominates. The vice regents of heaven or their equivalent apportion the wealth. 
And their know they must control inheritance or slowly let the power melt away. 
Now, do you understand Leto's Peace?

  -- The Stolen Journals


access mail on a remote pop server

2007-10-04 Thread Joseph
I am trying to access mail on a remote pop server and it seems like a simple 
procedure:
type: c
pop://[EMAIL PROTECTED]/

it should ask me for a password, instead it is giving me message: is not a 
mailbox

I've tried issue command prior :set mbox_type=mbox
still the same message.

-- 
#Joseph
GPG KeyID: ED0E1FB7


Re: Which spam filter do you use?

2007-10-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, October  5 at 12:23 AM, quoth Eyolf Østrem:
So, should I switch? I'm quite happy with bogo

If you're satisfied with your current spam prevention technique, 
there's absolutely no reason to switch. At best, you'll get fewer 
spams. If the spam level you currently receive is acceptable: count 
your blessings.

For what it's worth, all the domains I administer have used 
spamassassin for several years, and the accuracy is simply stunning.

~Kyle
- -- 
Of course it's the same old story. Truth usually is the same old 
story.
   -- Margaret Thatcher
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFHBZHMBkIOoMqOI14RAtUbAJ91DOTtzyh1sI8hagsTxF0Y5Y0eawCgwIrI
yAw6/xg2FPtkzaN8yqiijxs=
=nnJ7
-END PGP SIGNATURE-


Re: access mail on a remote pop server

2007-10-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, October  4 at 06:14 PM, quoth Joseph:
I am trying to access mail on a remote pop server and it seems like a simple 
procedure:
type: c
pop://[EMAIL PROTECTED]/

it should ask me for a password, instead it is giving me message: is not a 
mailbox

Is your mutt compiled with pop3 support? It may not be.

Also...I *think* the last time I had mutt do that, the URI was 
pop3://[EMAIL PROTECTED]/, but I'm not certain.

~Kyle
- -- 
To sin by silence when they should protest makes cowards of men.
 -- Abraham Lincoln
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFHBZJGBkIOoMqOI14RAvQzAKCLYk6surdCg2CmPHFLqRKG68Re7gCfSdvE
KGTPFp1GDQM8BCBLqfBi078=
=8e9m
-END PGP SIGNATURE-


Reading /home/joseph/.maildir/inbox...Segmentation fault

2007-10-04 Thread Joseph
After recompiling mutt with: pop and mbox support when I try to start
mutt I get:
Reading /home/joseph/.maildir/inbox...Segmentation fault

Does anybody knows what it is?

-- 
#Joseph


Mutt and Abook

2007-10-04 Thread Rem P Roberti
Can someone please point me toward some info on how I can utilize abook
from within Mutt.  I would like to be able to both use the Abook
entries, and add new addresses via Mutt.

Rem


Re: Reading /home/joseph/.maildir/inbox...Segmentation fault

2007-10-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, October  4 at 10:41 PM, quoth Joseph:
After recompiling mutt with: pop and mbox support when I try to start
mutt I get:
Reading /home/joseph/.maildir/inbox...Segmentation fault

Does anybody knows what it is?

Not offhand, but if I had to guess, I'd say that it might be a problem 
with mutt's build system. Try doing a `make clean  make` and see if 
that doesn't build a mutt that behaves.

~Kyle
- -- 
Reason is itself a matter of faith. It is an act of faith to assert 
that our thoughts have any relation to reality at all.
-- G. K. Chesterton
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFHBcYHBkIOoMqOI14RAmsLAJ9l7PvoPt/Y0BnZ6v/Ia2XErNUVzQCggeof
trCAA3Y2pSyVUY00WLZd1ao=
=eBpQ
-END PGP SIGNATURE-


Re: Mutt and Abook

2007-10-04 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday, October  4 at 09:52 PM, quoth Rem P Roberti:
Can someone please point me toward some info on how I can utilize abook
from within Mutt.  I would like to be able to both use the Abook
entries, and add new addresses via Mutt.

http://wiki.mutt.org/?MuttGuide/Aliases

~Kyle
- -- 
Come to me, son of Jor-El. Kneel before Zod. Snootchie-bootchies.
 -- Jay
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFHBcYwBkIOoMqOI14RArx0AJ0Y5kdcomBFS+UB9RyxJ4n+NLYtKwCg1kyH
nuKbTMZ4lMr+jUD/sq6ILsc=
=tAFy
-END PGP SIGNATURE-


Re: Mutt and Abook

2007-10-04 Thread Rem P Roberti
On 2007.10.05 00:05:52 +, Kyle Wheeler wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thursday, October  4 at 09:52 PM, quoth Rem P Roberti:
 Can someone please point me toward some info on how I can utilize abook
 from within Mutt.  I would like to be able to both use the Abook
 entries, and add new addresses via Mutt.
 
 http://wiki.mutt.org/?MuttGuide/Aliases
 
 ~Kyle

Thank you!

Rem


Re: Which spam filter do you use?

2007-10-04 Thread Christian Kuka
Hi,

Thus wrote Eyolf Østrem ([EMAIL PROTECTED]) [07.10.05 06:54]:
 I've been using bogofilter ever since I first installed KDE/Kmail and the
 potentially hassle-free configuration of SpamAssassin led to constant
 crashes. I belive it has been solved by now, and in any case Kmail is
 ancient history, but I was wondering what experiences the list people
 have with various filters.

At the moment I'm using bogofilter, razor, pyzor, dcc, spamassassin 
and clamassassin and the following procmail rules:

-snip--

SPAM=$MAILDIR/.Junk/
VIRUS=$MAILDIR/.Virus/

DCCPROC=/usr/bin/dccproc
BOGOFILTER=/usr/bin/bogofilter
PYZOR=/usr/bin/pyzor
RAZOR=/usr/bin/razor-check
SPAMC=/usr/bin/spamc
CLAM=/usr/bin/clamassassin

:0 fw
| $BOGOFILTER -u -e -p

:0 e
{ EXITCODE=75 HOST }

:0:
* ^X-Bogosity:.(Yes|Spam)
$SPAM

# Razor
:0 Wc
| $RAZOR -conf=$HOME/.razor/razor-agent.conf

:0 Wa:
$SPAM

# Pyzor
:0 Wc
| $PYZOR check

:0 Wa:
$SPAM

# DCC
:0 fw 
| $DCCPROC  -ERw whiteclnt -ccmn,10

:0 e:
$SPAM

# Spamassassin
:0 fw: $PMDIR/spamassassin.db
| $SPAMC

:0:
* ^X-Spam-Status: Yes
$SPAM

:0 fw: $PMDIR/clamassassin.db
| $CLAM 

:0:
* ^X-Virus-Status: Yes
$VIRUS

-snip--

At the moment I don't get any spam/junk mail but sometimes some mails
from mailinglists (especially from the debian list) are in the junk folder.
But I also have to say that it realy takes some time till I get a mail.


 From what I've read, bogo is quicker than the other contenders, but
 lets more spam through. While the speed was a concern in Kmail, since
 the filtering was done in the app itself, which meant that it was
 unresponsive for a while while the filtering was going on, that is not
 so much of a concern now, when that is taken care of by procmail. That
 leaves me with c. 10-15 spam mails a day that slip through (out of c.
 150-200). 
 
 So, should I switch? I'm quite happy with bogo, especially with the
 current setup with some macros I borrowed from an article in linux
 journal (I think it was), but I would very much like to hear what your
 experiences are in this respect.

I also read from a scanner called crm114 in the linux magazine that
should be realy good, but never checked that.

 Eyolf
 

Christian
-- 
---
PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication.
Key ID: 0x61E7150B - 4EFC 3FA6 FB8E 2BD5 CA11  6F15 F557 6B5D 61E7 150B

Christian Kuka
[EMAIL PROTECTED] 


signature.asc
Description: Digital signature