Re: Exim vs. Mutt (Round 1)
The attached patch may help to solve your problem. But note that with that patch applied, exim may interpret e-mail addresses which begin with "-" as command line aguments. So I'd suggest, as a real fix, you complain to the exim developpers so they support "--" as "stop option parsing here", which is the usual Unix convention. On 1999-08-13 13:49:38 -0400, Fairlight wrote: > Subject: Exim vs. Mutt (Round 1) > To: [EMAIL PROTECTED] > Date: Fri, 13 Aug 1999 13:49:38 -0400 (EDT) > Content-Type: text > From: Fairlight <[EMAIL PROTECTED]> > > Hello... > > I installed Mutt this morning and am having a conflict with Exim, my MTA. > > Basically, Exim is almost a straight-forward sendmail drop-in replacement, > compatible with almost every standard argument. > > When sending a message, I get the following: > > exim abandoned: unknown, malformed, or incomplete option -- > Error sending message, child exited 1 (). > > I looked in my .muttrc at the sendmail settings and tried half a dozen > alterations to it, to no avail...same error. > > Finally I took to invoking exim by hand with the same flags as the default > sendmail entry in .muttrc ...it works with no problem by hand. The PROBLEM > is that mutt is somehow (someWHY) invoking sendmail/exim with the actual > argument "--" ...And that's what exim is puking on. I can reproduce the > exact error message above manually just feeding `exim --` at a shell prompt > (or sendmail -- ...it's a symlink). > > I checked roughly through the source for sendlib.c and couldn't seem to > find any place where it would be doing this internally. It's NOT in the > config file I'm using...so it must be internal. Can someone please point > out a solution, or at least where in the source this is happening? > > Advice, anyone? > > TIA... > > mark-> > -- > Fairlight-> |||[EMAIL PROTECTED] | Fairlight Consulting > __/\__ ||| "I'm talking for free... | http://www.fairlite.com > <__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED] > \/||| PGP Public Key available via finger @iglou, or Key servers > --- /home/roessler/mutt/sendlib.c Thu Jul 29 14:10:16 1999 +++ sendlib.c Fri Aug 13 19:59:40 1999 @@ -1671,7 +1671,6 @@ args = add_option (args, &argslen, &argsmax, "-R"); args = add_option (args, &argslen, &argsmax, DsnReturn); } - args = add_option (args, &argslen, &argsmax, "--"); args = add_args (args, &argslen, &argsmax, to); args = add_args (args, &argslen, &argsmax, cc); args = add_args (args, &argslen, &argsmax, bcc);
Re: possible imap bug?
On Saturday, 14 August 1999 at 13:26, Brendan Cully wrote: > On Friday, 13 August 1999 at 15:03, Brendan Cully wrote: > > I'll take a look at this this weekend. My understanding of the problem: you > > cannot create message attachments from an IMAP folder. I'm sorry I didn't > > catch the original post - I've been on vacation. > > > > -Brendan > > Alright, I found the bug (line 653 in compose.c, at least in CVS). The > fix will be somewhat along the lines of the postponed-messages folder > hack: close the current folder without expunge, open the new folder to > select the messages, when done close it and open the original folder > read-only. > > I'd really like to support a user-configurable number of concurrent > connections to the same IMAP server, but that's for a later version. I > want to get IMAP support reasonably complete and stable first. well, I've decided that I'm not really happy with the postpone-message hack and don't really want to use it in other places. But until I come up with a nice way of dealing with multiple connections to the same server, I've attached a 3 line patch to get things working. Mutt will open a new connection to the server to get your attachable messages. This is against mutt-cvs (unstable). -Brendan > > - Original Message - > > From: Robert Chien <[EMAIL PROTECTED]> > > To: mutt users <[EMAIL PROTECTED]> > > Sent: Friday, August 13, 1999 2:53 PM > > Subject: Re: possible imap bug? > > > > > > > I haven't heard from anyone yet, so I'm resending this: > > > > > > - > > > On Sat, Aug 07, 1999 at 12:00:12AM +0200, Gero Treuner wrote: > > > > Hi! > > > > > > > > On Fri, Aug 06, 1999 at 02:50:11PM -0700, Robert Chien wrote: > > > > > If I save it to a file, then attach that file, it sort of > > > > > works but takes a lot of time, esp. if I'm attaching 3+ > > > > > emails. Would be nice if I can presss , and choose files > > > > > or emails to attach. This is my wish list item. > > > > > > > > Almost your wish, just add the shift key to press "A". > > > > It's in the online help as well as in the manual. > > > > > > You guys are awesome! I did looked at help, but searched for the wrong > > > keyword "forward" and of course didn't see the "A" option. > > > > > > However, now I've found an interesting "bug": if I type "A", it asks > > > for "Open mailbox to attach message from ('?' for list):". But it won't > > > open my IMAP inbox. If I enter {imapserver}inbox, it returns an error: > > > > > > {imapserver}inbox: No such file or directory (errno = 2) > > > > > > Normal folders work just fine. Can other IMAP users verify this please? > > > > > > -- > > > Robert > > > > > > Mutt 0.96.3i (1999-06-03) > > > Copyright (C) 1996-9 Michael R. Elkins and others. > > > Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. > > > Mutt is free software, and you are welcome to redistribute it > > > under certain conditions; type `mutt -vv' for details. > > > > > > System: SunOS 5.8 > > > Compile options: > > > -DOMAIN > > > -HOMESPOOL -USE_SETGID +USE_DOTLOCK +USE_FCNTL -USE_FLOCK > > > +USE_IMAP -USE_POP +HAVE_REGCOMP -USE_GNU_REGEX > > +HAVE_COLOR -BUFFY_SIZE > > > -EXACT_ADDRESS +ENABLE_NLS > > > SENDMAIL="/usr/lib/sendmail" > > > MAILPATH="/var/mail" > > > SHAREDIR="/usr/local/share/mutt" > > > SYSCONFDIR="/usr/local/etc" > > > -ISPELL > > > To contact the developers, please mail to <[EMAIL PROTECTED]>. > > > > > -- > Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ > "I hope I don't win| .-_|\ > The rules say to bring a friend | / \ > I don't have any" | Perth ->*.--._/ -- Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ "I hope I don't win| .-_|\ The rules say to bring a friend | / \ I don't have any" | Perth ->*.--._/ Index: compose.c === RCS file: /home/roessler/cvs/mutt/compose.c,v retrieving revision 2.18 diff -u -p -r2.18 compose.c --- compose.c 1999/07/21 07:23:34 2.18 +++ compose.c 1999/08/15 18:55:26 @@ -649,6 +649,9 @@ int mutt_compose_menu (HEADER *msg, /* break; mutt_expand_path (fname, sizeof (fname)); +#ifdef USE_IMAP + if (!mx_is_imap (fname)) +#endif /* check to make sure the file exists and is readable */ if (access (fname, R_OK) == -1) {
Re: Exim vs. Mutt (Round 1)
Quoting Thomas Roessler ([EMAIL PROTECTED]) from Fri, Aug 13, 1999 at 08:02:04PM +0200: > The attached patch may help to solve your problem. But note that > with that patch applied, exim may interpret e-mail addresses which > begin with "-" as command line aguments. > > So I'd suggest, as a real fix, you complain to the exim developpers > so they support "--" as "stop option parsing here", which is the > usual Unix convention. This thread's got me interested. I've been using exim with mutt since, oh, mutt 0.8something, at least. (I switched to both at the same time.) I've never had a problem. Regarding "--": $ exim -- rich To: rich@localhost From: rich@localhost This is a test . $ You have new mail. $ So it doesn't appear to be a "mutt problem" or an "exim problem", but an "unusual behavior at one site" problem. :-) -Rich -- -- Rich Lafferty --- Sysadmin/Programmer, Information and Instructional Technology Services Concordia University, Montreal, QC (514) 848-7625 - [EMAIL PROTECTED] -- PGP signature
Formatting quotes?
This is really an editor related question but since it's about handling email messages in the editor I hope it's okay to ask it here. Is there any editor (besides emacs, which I don't want to use) that will format quotes, containing longer_than_allowed line lengths, neatly - curtailing the lines to a designated line wrap and inserting missing quote markers. I believe that Pine has a ctrl-j option to do this. Can this be obtained with mutt + an editor? Some slang macro for Jed, maybe? Morten --
Re: Formatting quotes?
Hi, On Mon, Aug 16, 1999 at 01:53 +0200, Morten Bo Johansen wrote: > Is there any editor (besides emacs, which I don't want to use) that > will format quotes, containing longer_than_allowed line lengths, > neatly - curtailing the lines to a designated line wrap and inserting > missing quote markers. I believe that Pine has a ctrl-j option to do this. > Can this be obtained with mutt + an editor? Some slang macro for Jed, maybe? Somewhere on http://www.s-lang.org/archive you can find a mail mode macro for jed. You can also try joe, it handles rewrapping of quoted text quite nicely, just press Ctrl-k-j. Ciao, Stefan
Re: Formatting quotes?
Morten Bo Johansen <[EMAIL PROTECTED]> wrote on Mon, 16 Aug 1999: > Is there any editor (besides emacs, which I don't want to use) that > will format quotes, containing longer_than_allowed line lengths, > neatly - curtailing the lines to a designated line wrap and inserting > missing quote markers. I don't have a solution for something that works directly in the editor, but I use a set of small programs to accomplish this with external filtering. Since typically an overlong quoted line has an entire paragraph, I just filter the that line through "qtwrap" to get the desired result (typing "!!qtwrap" in vi). qtwrap: #!/bin/sh unquote | fmt | quote quote: #!/usr/bin/perl -ni.bak print "> ", $_; unquote: #!/usr/bin/perl -ni.bak s/^>\s?//; print; Hope this helped, Mikko -- // Mikko Hänninen, aka. Wizzu // [EMAIL PROTECTED] // http://www.iki.fi/wiz/ // The Corrs list maintainer // net.freak // DALnet IRC operator / // Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs / Open your arms to change, but don't let go of your values.
Re: Formatting quotes?
Morten Bo Johansen [[EMAIL PROTECTED]] wrote: > Is there any editor (besides emacs, which I don't want to use) that > will format quotes, containing longer_than_allowed line lengths, > neatly - curtailing the lines to a designated line wrap and inserting > missing quote markers. I believe that Pine has a ctrl-j option to do this. > Can this be obtained with mutt + an editor? Some slang macro for Jed, maybe? Vim will do this nicely, using the 'gq' command. Its behaviour is very customisable, but I'm mostly using the defaults and it does just what you want. -- Jeremy Blosser | [EMAIL PROTECTED] | http://jblosser.firinn.org/ -+-+-- "If Microsoft can change and compete on quality, I've won." -- L. Torvalds PGP signature
Re: Exim vs. Mutt (Round 1)
> This thread's got me interested. I've been using exim with mutt since, > oh, mutt 0.8something, at least. (I switched to both at the same time.) > I've never had a problem. Regarding "--": > > > So it doesn't appear to be a "mutt problem" or an "exim problem", but > an "unusual behavior at one site" problem. :-) Maybe exim 1.62 is wonky? It was the first install I had personally done of it, and it's on my home machine, and I never bothered updating it. I've updated redhat from 4.1 to 5.2 since then...maybe library incompatabilities? Wouldn't be the first time libc upgrades broke something. I have 1.82 or so on 2 other linux machines (also running rh 5.1) that started out with that version of exim and the OS. I'll try it there and see if it works. If it does, I'll try updating my home version. If it's broken, I'll report back and see what options you may have used that I may not have. I did a pretty vanilla install of both though... mark-> -- Fairlight-> |||[EMAIL PROTECTED] | Fairlight Consulting __/\__ ||| "I'm talking for free... | http://www.fairlite.com <__<>__> ||| It's a New Religion..." | [EMAIL PROTECTED] \/||| PGP Public Key available via finger @iglou, or Key servers
Re: rxvt xterm and thread characters and colors
On Sat, Aug 14, 1999 at 04:35:40PM -0500, Eugene Lee wrote: [xterm vs. rxvt & mutt & colour] > Make sure your xterm supports ANSI colors. If so, make sure that your > X resources have color enabled: > > http://www.clark.net/pub/dickey/xterm/xterm.faq.html#my_xdefaults [...] In addition, if the mutt you're using is linked against ncurses, you might need to set the TERM environment variable in the xterm to "xterm-color". Thomas -- - Thomas Ribbrockhttp://www.bigfoot.com/~kaytanICQ#: 15839919 "You have to live on the edge of reality - to make your dreams come true!"
Re: Exim vs. Mutt (Round 1)
> So I'd suggest, as a real fix, you complain to the exim developpers > so they support "--" as "stop option parsing here", which is the > usual Unix convention. Before anyone does complain, can I just point out that it appears to have been fixed already for at least 10 months: $ /usr/sbin/sendmail -bV Exim version 2.05 #1 built 7-Nov-1998 00:31:06 Copyright (c) University of Cambridge 1998 $ /usr/sbin/sendmail -- -bV bla bla bla $ And I got an error message by e-mail: # A message that you sent could not be delivered to all of its recipients. The # following address(es) failed: # # [EMAIL PROTECTED]: # unknown local-part "-bv" in domain "rano.demon.co.uk"
Re: Formatting quotes?
On Mon, Aug 16, 1999 at 01:53:47AM +0200, Morten Bo Johansen wrote: > Is there any editor (besides emacs, which I don't want to use) that > will format quotes, containing longer_than_allowed line lengths, > neatly - curtailing the lines to a designated line wrap and inserting > missing quote markers. I believe that Pine has a ctrl-j option to do this. > Can this be obtained with mutt + an editor? Some slang macro for Jed, maybe? Using vim, you can add this mapping to your .vimrc: " reformat paragraph to textwidth imap gqap map gqap It will emulate the behavior of Crtl-J in pico (pine). vim does an excellent job of reformating quoted text. -- Jon Parise ([EMAIL PROTECTED]) . Rochester Inst. of Technology http://www.pobox.com/~parise/ : Computer Science House Member
Re: Formatting quotes?
Morten -- ...and then Morten Bo Johansen said... % % This is really an editor related question but since it's about handling % email messages in the editor I hope it's okay to ask it here. Sure; we get it all the time :-) % % Is there any editor (besides emacs, which I don't want to use) that [Can't blame you -- ugh! But I probably shouldn't start the semi-annual editor flame war before the new school term starts ;-] % will format quotes, containing longer_than_allowed line lengths, % neatly - curtailing the lines to a designated line wrap and inserting % missing quote markers. I believe that Pine has a ctrl-j option to do this. % Can this be obtained with mutt + an editor? Some slang macro for Jed, maybe? vim, as mentioned previously, does this pretty well. The GNU fmt that comes with, at least, my SuSE 6.1 Linux is also pretty good. The best thing I've seen, though (thanks, Liviu!) is par. You can find it at http://www.cs.berkeley.edu/~amc/Par/ and it's fantastic. :-D -- David Thorburn-Gundlach * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] Helping out at Pfizer http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! "Why2k? Well, I didn't think at the time that I could charge any more!" Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh* PGP signature
Re: Exim vs. Mutt (Round 1)
Quoting Fairlight ([EMAIL PROTECTED]) from Sun, Aug 15, 1999 at 07:23:03PM -0400: > > This thread's got me interested. I've been using exim with mutt since, > > oh, mutt 0.8something, at least. (I switched to both at the same time.) > > I've never had a problem. Regarding "--": > > > > > > > So it doesn't appear to be a "mutt problem" or an "exim problem", but > > an "unusual behavior at one site" problem. :-) > > Maybe exim 1.62 is wonky? It was the first install I had personally done > of it, and it's on my home machine, and I never bothered updating it. $ exim -bV Exim version 2.11 #1 built 22-Apr-1999 23:09:42 Copyright (c) University of Cambridge 1999 $ It'd be a good idea to do so; 1.62 is about 50 releases back, which seems to span about two years. There is at least one major vulnerability in 1.62 related to a buffer overflow with .forward processing, as well, so upgrading can be justified :-) -Rich -- -- Rich Lafferty --- Sysadmin/Programmer, Information and Instructional Technology Services Concordia University, Montreal, QC (514) 848-7625 - [EMAIL PROTECTED] -- PGP signature