Re: Links in message body.

2009-12-02 Thread Markus Maria Miedaner
 -Ursprüngliche Nachricht-
 Von: Buzzer 4625...@gmail.com
 Gesendet: 02.12.09 07:20:32
 An: 52-mutt-users mutt-users@mutt.org
 Betreff: Links in message body.


 Can I make http and ftp links in plain text message body accessible for
 Lynx browser?
 
 -- 
 /Buzzer () ËÁÍÐÁÎÉÑ ascii ribbon - ÐÒÏÔÉ× ÐÉÓÅÍ × html ÆÏÒÍÁÔÅ
 /\ www.asciiribbon.org   - ÐÒÏÔÉ× ÐÒÏÐÒÉÅÔÁÒÎÙÈ ×ÌÏÖÅÎÉÊ
 


Ciao,
 
install urlview and make it use lynx.

cheers
markus

Sarah Kreuz, die DSDS-Siegerin der Herzen, mit ihrem eindrucksvollen
Debütalbum One Moment in Time. http://produkte.web.de/go/05/



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Get Mutt and ISPs

2009-06-01 Thread Markus Maria Miedaner
 -Ursprüngliche Nachricht-
 Von: Dave Feustel dfeus...@mindspring.com
 Gesendet: 31.05.09 18:44:33
 An: Mutt User List mutt-users@mutt.org
 Betreff: Get Mutt and ISPs


 I've tried to get mutt to send email to my ISP's mail server,
 but so far I have not succeeded (I send mail using msmtp).
 
 What variables in .msmtprc do I need to set to be able to
 send email using mutt only?
 
 Thanks.
 
Ciao Dave,

here's what I use in my .msmtprc

account accountName
host smtp server of your isp
user your username
from email address the mail should be coming from
auth login
tls on
auth on
protocol smtp
password your password
logfile ~/msmtp_log.txt

please note that you may remove/modify the lines about the loginmechanisms and 
encryption.

cheers,
markus




Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de



smime.p7s
Description: S/MIME Cryptographic Signature


Re: auto CC to self

2009-06-01 Thread Markus Maria Miedaner
 -Ursprüngliche Nachricht-
 Von: Chengqi(Lars) Song son...@gmail.com
 Gesendet: 01.06.09 10:34:13
 An: mutt-users mutt-users@mutt.org
 Betreff: auto CC to self


 Hi,
 
 I want to CC every mail to my backup mailbox, say larsbac...@gmail.com, is it 
 possible to configure that in mutt? Thanks.
 
 Regards
 Lars
 

Ciao Lars,
my_hdr Cc: your email address
or 
my_hdr Bcc: your email address

should do the job.

cheers,
markus


Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de



smime.p7s
Description: S/MIME Cryptographic Signature


Re: How can I know if error happens when sending mail?

2009-06-01 Thread Markus Maria Miedaner

 Hi,
 
 I'm using msmtp to send mail. I've set sendmail_wait=-1 in .muttrc to make 
 sending mail not blocking. But there comes a problem. If any error happens 
 when sending mail, I will not aware about it. And sometimes it cause trouble 
 to my work. How can I solve this problem? I need to be told if error happens 
 in sending mail. 
 
 Thanks
 Lars
 
Ciao Lars,

you can specify a log_file for msmtp by adding the following to each 
account_setting in your .msmtprc

logfile ~/msmtp.log

all you need to do then is to watch the file after sending an email. it may 
take a few seconds before the logentries are written for each mail.
for notification you could add a logwatcher to automate this process.

cheers,
markus

___
Nur bis 31.05.: WEB.DE FreeDSL Komplettanschluss mit DSL 6.000 Flatrate
und Telefonanschluss für 17,95 Euro/mtl.! http://produkte.web.de/go/02/



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Howto handle @ in pop3-account-username

2008-10-26 Thread Markus Maria Miedaner
On Fri, Oct 24, 2008 at 10:50:27AM +0200, you (Michael Schwipps) wrote:
 Hello,
 
 howto handle multiple pop3-Accounts in account-hooks?
 So far it's easy and well documented.
 
 I have two accounts on the provider's pop-server with @ in pop3-username.
 Howto do that?
 
 This following sample, muttrc-smip, doesn't run
 
 | account-hook pop://[EMAIL PROTECTED]@pop\.provider\.com 'set 
 pop_user=[EMAIL PROTECTED]; set pop_pass=secret'
 | account-hook pop://[EMAIL PROTECTED]@pop\.provider\.com 'set 
 pop_user=[EMAIL PROTECTED]; set pop_pass=secret'
 | 
 | mailboxes pop://[EMAIL PROTECTED]@pop\.provider\.com \
 | pop://[EMAIL PROTECTED]@pop\.provider\.com
 
 I assume the second @ is the problem.

Hi Michael,

maybe I missunderstand your question ;-) for me, it seems that your username 
isn't actually contaning any @.
please try the following:
set pop_user=me and do not add the @domain -- the @domain... part should not 
be part of the username.

cheers,
Markus

-- 
Please note that this email-transaction has been logged due to German laws. To 
ensure the privacy of further communication please encrypt your message using 
the following KeyID = 694F9952

A. Lincoln: Those who give a little bit of liberty to gain more safety deserve 
neither liberty nor safety.




signature.asc
Description: Digital signature


Re: multiple gmail accounts

2008-05-07 Thread Markus Maria Miedaner
On Tue, May 06, 2008 at 01:06:07PM -0400, you (Dale Harris) wrote:
 I've done some poking around and I haven't found a good answer to this,
 yet.  How best to use gmail/imap accounts with mutt.  The problem is I
 have multiple gmail accounts that I would like to access from the same
 mutt process.  So I'm using account-hook and folder-hook (to set options):
 
 account-hook imaps://[EMAIL PROTECTED]/ 'set imap_user=rodmur
 imap_pass=pass'
 folder-hook imap://[EMAIL PROTECTED]/ 'source
 ~/.mutt/accounts.d/file'
 
 However, it would not seem that account-hook or folder-hook supports this
 at all.  I guess this would work if I had only one account at gmail, and
 was doing account-hook imaps://imap.gmail.com/ ... 
 
 Anyone have any suggestions? Or am I SOL and I'll just have to go back to
 using mutt -F. 
 
 --
 Dale Harris
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 /.-)

Hi Dale,

I suggest using the mailboxes=imaps://something.
command. please check the manual for the syntax and keybindings to access the 
mailboxes.

cheers,
markus


-- 
Please note that this email-transaction has been logged due to German laws. To 
ensure the privacy of further communication please encrypt your message using 
the following KeyID = 694F9952

A. Lincoln: Those who give a little bit of liberty to gain more safety deserve 
neither liberty nor safety.




signature.asc
Description: Digital signature


Re: coloring headers

2008-04-28 Thread Markus Maria Miedaner
On Mon, Apr 28, 2008 at 03:13:40PM -0700, you (Ravi Uday) wrote:

Hi Ravi,


 1. In the header of the recvd mail, how to make each mail address
 different color and
reflect the same color in the body of the mail if it(the
 name/address) appears there. ?
 

# coloring of the header
# -
color header white green From
color header white red X-Spam-Level
color header white yellow Subject
color header white blue Date
color header white magenta Reply-To

# email addresses
color body brightmagenta black 
((@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]),)*@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\.[0-9]?[0-9]?[0-9]\\]):)?[0-9a-z_.+%$-]+@(([0-9a-z-]+\\.)*[0-9a-z-]+\\.?|#[0-9]+|\\[[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\.[0-2]?[0-9]?[0-9]\\])

That's how I color my mails. However it only highlights email addresses - it 
does not color matching emails in the same
color.

What I would try is something like (untested!) 
# mark the bosses messages in red:
color index red black [EMAIL PROTECTED]

# some guy
color index red white [EMAIL PROTECTED]

and replace the index with the name of the view where you wanna see the 
coloring (pager, )



 2. When we reply ('g'/'r'), oriiginal mail will prepend each line with
 '', how to make it show
 '--' instead
 

set indent_string=  # prefix for quoted messages

is what you may be looking for.


Hope that helps,

Cheers,
Markus

-- 
Please note that this email-transaction has been logged due to German laws. To 
ensure the privacy of further communication please encrypt your message using 
the following KeyID = 694F9952

A. Lincoln: Those who give a little bit of liberty to gain more safety deserve 
neither liberty nor safety.




signature.asc
Description: Digital signature


Re: mutt puppy-dog icon

2008-04-11 Thread Markus Maria Miedaner
On Thu, Apr 10, 2008 at 12:20:08PM -0500, you (Russell L. Harris) wrote:
 The mutt puppy-dog icon which ships with the Debian system I just
 installed is of very poor quality and looks rather shabby.
 
 Where may I find an nice high-resolution mutt icon to use on the
 desktop to launch mutt?
 
 RLH


Gentoo had a nice icon-set. Don't know if it's still available. Take a look at 
Themes/Styles/...
on the gentoo-page.

Cheers,
Markus

-- 
Please note that this email-transaction has been logged due to German laws. To 
ensure the privacy of further communication please encrypt your message using 
the following KeyID = 694F9952

A. Lincoln: Those who give a little bit of liberty to gain more safety deserve 
neither liberty nor safety.




signature.asc
Description: Digital signature


Re: errno = 2

2008-04-10 Thread Markus Maria Miedaner
On Thu, Apr 10, 2008 at 06:13:27PM +0200, you (Pau) wrote:
 I don't have any welcome email... and if I ever had it in the past, it
 got deleted some five years ago... googling yields nothing, at least
 not in the first 20 entries...
 
 2008/4/10, Rado S [EMAIL PROTECTED]:
  =- Pau wrote on Thu 10.Apr'08 at  9:08:58 +0200 -=
 

Ciao Pau,

two things:
a) set spoolfile=/some/file/or/imap/folder 
is what your looking for. You will find details on syntax and a very 
good description in
the manual (man muttrc).
b) please do not top-post. 

Cheers,
Markus



 
I am using mutt for a long time combined with imap and, every time
I call mutt, I get error number two:
-
/var/mail/pau: El fitxer o directori no existeix (errno = 2)
--
 
   How can I switch this off?
   
Also... how can I tell mutt to automatically open a certain folder
when calling it?
 
 
  Fix both at once, read the Welcome mail, follow the Guide to
   /Folders.
 
 
   --
   (c) Rado S. -- You must provide YOUR effort for your goal!
   EVERY effort counts: at least to show your attitude.
   You're responsible for ALL you do: you get what you give.
 

-- 
Please note that this email-transaction has been logged due to German laws. To 
ensure the privacy of further communication please encrypt your message using 
the following KeyID = 694F9952

A. Lincoln: Those who give a little bit of liberty to gain more safety deserve 
neither liberty nor safety.




signature.asc
Description: Digital signature


Re: Best way to handle DOS newlines

2007-05-07 Thread Markus Maria Miedaner
On Mon, May 07, 2007 at 05:59:43PM -0700, you (Ray Van Dolson) wrote:
 I occasionally get emails generated from a web application here at work
 that uses DOS/Windows newlines instead of Unix ones.  All the text
 shows up as one large line interspersed with ^M^M's.  I'd like to
 figure out a good way to:
 
   1. Correct this in the pager view of the message.
   2. Correct this prior to the message being passed to my editor (vim)
  for quoting.
 
 Currently I am resolving 1 by using the following message-hook:
 
   message-hook '~f [EMAIL PROTECTED]' 'set display_filter=sed -f 
 ~/bin/fix_m.sed'
 
 Where fix_m.sed strips out the ^M's and replaces them with my preferred
 newlines.
 
 However, if I hit reply to this message, everything shows up in vim in
 the original format -- ie with the ^M's all intact and everything on
 one line.
 
 I can correct this from wtihin vim, but I'd prefer it all be automated.
 
 I tried a reply-hook similar to my message-hook above, but had no
 success.
 
 Any suggestions?
 
 Ray

Hi Ray,

my suggestion is to use iconv instead of your script.
here part of the man page:

NAME
   iconv - Convert encoding of given files from one encoding to another

SYNOPSIS
  iconv -f encoding -t encoding inputfile

DESCRIPTION
The iconv program converts the encoding of characters in inputfile from one 
coded character set to another. The result is written to standard output unless
otherwise specified by the --output option.

as far as I understand it, removing the end_of_line characters does not change 
the encoding of your original file - and that's why vim
will show these again, even you removed them.

markus


Re: Mutt and SMTP

2007-04-28 Thread Markus Maria Miedaner
On Fri, Apr 27, 2007 at 11:34:16AM -0500, you (Stefano Ferri) wrote:
 
 
 Dear folks,
 
 this is the first time I post in this mailing list.
 I am not a real system administrator but I had the chance
 to be root on many Unix/Linux machines (usually machines
 used for mathematical simulation with very few users, I am
 a mathematician in real life), both Sun and x86.
 
 I have used mutt for many years, usually with little or no
 problems but recently I tried to set up mutt on a laptop to
 be used with the pop and smtp servers of our university and
 I had a hell of a time. I hope that some of you have the time
 and the patience to read what I did and to help me. Possibly
 the real problem is with the sendmail setting, I hope this
 does not make this message OT.
 
 This is what I did.
 
 I am running Linux 2.6.9-11.EL, so mutt (1.4.1i) comes as a
 part of the distribution.
 
 I just started by adding the following lines to .muttrc
 
 set mbox = $mypopserver
 set pop_host = $mypopserver
 set pop_user = [EMAIL PROTECTED]
 set spoolfile = $mypopserver
 set pop_pass=$my.mail.password
 set sendmail=/usr/sbin/sendmail
 
 This way I could read my mail but when I tried to send mail
 it sometimes did not work. Namely, I could send mail to most
 commercial addresses (like yahoo or gmail) but if I sent a
 mail to myself or to collegues in other universities the
 mail bounched back with a message saying that my mailer was
 badly configurated.
 
 I started to think that the problem was in the fact that
 smtp was not properly accessed (but why did it work to yahoo
 then?), so I changed the sendmail.mc file un-commenting the
 following lines:
 
 define(`SMART_HOST',`$mysmtpserver')
 MASQUERADE_AS(`$mydomain')
 FEATURE(masquerade_envelope)
 
 I also changes the file access adding the following line:
 
 AuthInfo:$mysmtpserver U:[EMAIL PROTECTED] I:[EMAIL PROTECTED] 
 P:my.mail.massword
 
 and run make from /etc/mail
 
 It turned out that I did not have the sendmail-cf package.
 I downloaded a version called sendmail 8.13.8.orig.tar.gz from
 
 http://packages.debian.org/unstable/mail/sendmail-cf
 
 This, unce gunzipped and untarred create a strange maze of directories:
 
 /usr/local/sendmail-8.13.8/sendmail-8.13.8/cf/cf
 from which I made make install-cf
 
 It did not complain but now mutt...does nothing (I mean, I can
 read but not send anything).
 
 I then figured out that maybe the SSL certificate was the problem,
 I went to /usr/share/ssl/certs and gave the command
 make sendmail.pem which seemed to produce something.
 
 However still cannot send mail...
 
 If I try to send and then make ps -ef | grep sendmail I get the
 following:
 
 root  2190 1  0 08:10 ?00:00:00 sendmail: accepting 
 connections
 smmsp 2198 1  0 08:10 ?00:00:00 sendmail: Queue [EMAIL 
 PROTECTED]:00:00
 for /var/spool/clientmqueue
 
 Did any of you have any idea of what did I do wrong? Suggestions or
 help?
 
 Thank you in advance for your time.
 
 Stefano

Hi Stefano,

do I understand correctly: you want to use mutt with pop/smpt on a laptop?
If so I suggest you'll have a look at the msmtp project. This should be a 
simple and convenient way
to solve our smtp problem.

Regards,
markus