Re: sendmail_wait for smtp ?

2008-05-18 Thread Wilkinson, Alex

0n Sat, May 17, 2008 at 12:01:38PM -0500, Kyle Wheeler wrote: 

Yes and no. Mutt is not multithreaded, so you can't have it handle the 
SMTP connection in the background, so, NO. But if you really want it 
backgrounded, why not use a simple SMTP sender (like msmtp or 
nullmailer or something similar) instead of have mutt do it? That way 
you *can* background email sending.

Is msmtp completely independent of a local MTA ? i.e. I would no longer need
to use my local sendmail for smart-relay anymore ?

 -aW

IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.




Re: HOW to set the UMASK?

2008-05-18 Thread Keld Jørn Simonsen
On Tue, May 13, 2008 at 09:26:55AM -0500, Kyle Wheeler wrote:
 On Saturday, May 10 at 01:13 AM, quoth Michelle Konzack:
 Hello,
 
 My system is setup to use a UMASK=002 on my  Maildir  (procmail  do  the
 right thing) but if I read the messages with mut, they are after reading
 0600 and can not more read fro another account.
 
 How can this solved?
 
 Well, mutt attempts to preserve the umask of any mailbox that it 
 reads. The only reason I can think of that it would get that wrong is 
 if the stat() call on the mailbox failed. Try running mutt in debug 
 mode and see if you get a line that says stat failed on x (where 
 x is the name of the mailbox you're reading).

I have a related problem, when I create files from mutt they are 600,
I would lke them to be 644. My umask is 022. Is there anything I can do
to have my new files 644?

best regards
keld


Re: sendmail_wait for smtp ?

2008-05-18 Thread Sahil Tandon
* Wilkinson, Alex [EMAIL PROTECTED] [05-18-2008]:

 0n Sat, May 17, 2008 at 12:01:38PM -0500, Kyle Wheeler wrote: 
 
 Yes and no. Mutt is not multithreaded, so you can't have it handle the 
 SMTP connection in the background, so, NO. But if you really want it 
 backgrounded, why not use a simple SMTP sender (like msmtp or 
 nullmailer or something similar) instead of have mutt do it? That way 
 you *can* background email sending.
 
 Is msmtp completely independent of a local MTA ? i.e. I would no longer need
 to use my local sendmail for smart-relay anymore ?

Correct. 

-- 
Sahil Tandon [EMAIL PROTECTED]


Re: HOW to set the UMASK?

2008-05-18 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday, May 17 at 10:42 PM, quoth Keld Jørn Simonsen:
 I have a related problem, when I create files from mutt they are 
 600, I would lke them to be 644. My umask is 022. Is there anything 
 I can do to have my new files 644?

Modify main.c. Mutt *ALWAYS* calls umask(077) before doing anything, 
so you'd need to either remove that call from the main.c or you'd need 
to modify it to suit your needs.

~Kyle
- -- 
Mathematicians stand on each other's shoulders while computer 
scientists stand on each other's toes.
   -- R. W. Hamming
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkgwY6IACgkQBkIOoMqOI16Q1gCg7rETSCaOWsm/Hd8SND7zsCbN
ERAAoOssQDL/ffqRJG1A8gn6e/lH0ydv
=yvBh
-END PGP SIGNATURE-


Re: HOW to set the UMASK?

2008-05-18 Thread Keld Jørn Simonsen
On Sun, May 18, 2008 at 12:13:06PM -0500, Kyle Wheeler wrote:
 On Saturday, May 17 at 10:42 PM, quoth Keld Jørn Simonsen:
  I have a related problem, when I create files from mutt they are 
  600, I would lke them to be 644. My umask is 022. Is there anything 
  I can do to have my new files 644?
 
 Modify main.c. Mutt *ALWAYS* calls umask(077) before doing anything, 
 so you'd need to either remove that call from the main.c or you'd need 
 to modify it to suit your needs.

I see. Would it be possible to add some command to .muttrc to override
this? eg a umask command? That would be easier for me and others needing
this functionality than recompiling the sources every time mutt is used
on a new system.

Or maybe a set no_mutt_umask=yes to just keep the umask of the environment.

Best regards
keld


[FEATURE REQUEST] ~/.muttrc, ~/.mutt/muttrc and other directories

2008-05-18 Thread Michelle Konzack
Hello,

Since I am developer and my mailinglist/bts subscriptions explode I like
to separate the stuff.  Unfortunately I have  already  over  200  config
files in my ~/.mutt/ directory.

I know I can use

mutt -F ~/.mutt/muttrc_std
mutt -F ~/.mutt/muttrc_bts
mutt -F ~/.mutt/muttrc_ml

but this keep all the config files in the same  directory  which  is  by
default ~/.mutt/.

Now I have tried to use

mutt -F ~/.mutt_bts/

but this does not work.

So I like to see the feature, that if mutt is called with a DIRECTORY
as parameter for -F then the default ~/.mutt/ is not more used.

This would simplify things, because currently if I use

mutt -F ~/.mutt_bts/muttrc

I have to specify ALL files I source with the FULL PATH  which  mess  up
things since some files are only copies from other configs and I have to
edit this files all the time I want to change something...

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
+49/177/935194750, rue de Soultz MSN LinuxMichi
+33/6/61925193 67100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: HOW to set the UMASK?

2008-05-18 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday, May 18 at 07:34 PM, quoth Keld Jørn Simonsen:
 On Sun, May 18, 2008 at 12:13:06PM -0500, Kyle Wheeler wrote:
 On Saturday, May 17 at 10:42 PM, quoth Keld Jørn Simonsen:
 I have a related problem, when I create files from mutt they are 
 600, I would lke them to be 644. My umask is 022. Is there anything 
 I can do to have my new files 644?
 
 Modify main.c. Mutt *ALWAYS* calls umask(077) before doing anything, 
 so you'd need to either remove that call from the main.c or you'd need 
 to modify it to suit your needs.

 I see. Would it be possible to add some command to .muttrc to override 
 this? eg a umask command? That would be easier for me and others needing 
 this functionality than recompiling the sources every time mutt is used 
 on a new system.

 Or maybe a set no_mutt_umask=yes to just keep the umask of the environment.

Well, unfortunately, there is currently no such setting in standard 
mutt. The Debian folks have put together a patch to provide that 
functionality, and you can apply that to your mutt. Here's the 
relevant Debian bug report: 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=426317

Here's a similar patch: 
http://bereshit.synflood.at/svn/mutt-patches/trunk/patches/ak.umask.diff

If it's important to you, you should probably submit a bug at 
http://bugs.mutt.org

~Kyle
- -- 
It is a tragic mix-up when the United States spends $500,000 for every 
enemy soldier killed, and only $53 annually on the victims of poverty.
-- Reverend Martin Luther King, Jr.
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkgweYQACgkQBkIOoMqOI17xGQCfQ/CiSYGlSDoli826xYetdbuP
Sj8AoNlavFqYsxi7l2pIYdAN2CqUfBOy
=Umld
-END PGP SIGNATURE-


how to display a status-message from macros?

2008-05-18 Thread Raphael Brunner
dear users

I use macros to switch between different mail-account (sending). Now, I
change with macros F2,  F3, etc... the 'set from=[EMAIL PROTECTED]enter'
this works great, but, I want to show the adress.
If in .muttrc is this push show-version then it display at the start
the version-string. Is it also possible to show something like my
address from macros?
Now, I use this, but the sleep isn't very nice...

macro index F2 enter-commandset from='[EMAIL PROTECTED]'enter!echo use
[EMAIL PROTECTED];sleep 1enter

is there a way to display a status-message?

Thanks for all your ideas.

Greetings, Raphael


Is file_charset replace by attach_charset?

2008-05-18 Thread Shaochun Wang

I am reading http://wiki.mutt.org/?MuttFaq/Charset now. I noticed that
there is an option file_charset exists in to deal with attached text
file charst problem. But when I try it in my mutt-1.5.16, I couldn't find
that option.


After doing some digging on the relevant web site, e.g.
http://wiki.mutt.org/?PatchList, I guessed that the option
file_charset maybe be replaced by attach_charset.

Am I right?

-- 
Shaochun Wang [EMAIL PROTECTED]

Jabber: [EMAIL PROTECTED]


Re: how to display a status-message from macros?

2008-05-18 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday, May 18 at 08:42 PM, quoth Raphael Brunner:
 Now, I use this, but the sleep isn't very nice...

 macro index F2 enter-commandset from='[EMAIL PROTECTED]'enter!echo 
 use 
 [EMAIL PROTECTED];sleep 1enter

 is there a way to display a status-message?

How about just changing the status bar?

set status_format=[EMAIL PROTECTED]: %f.

~Kyle
- -- 
Freedom is the right to be wrong, not the right to do wrong.
 -- John G. Riefenbaker
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkgw/W0ACgkQBkIOoMqOI14R+ACffkf9y6TEvISEXJto9gxSInUt
ToYAoOoq8qijspb/7EKwY8IZcLexnkth
=VAFF
-END PGP SIGNATURE-


Re: Is file_charset replace by attach_charset?

2008-05-18 Thread Sahil Tandon
* Shaochun Wang [EMAIL PROTECTED] [05-19-2008]:

 I am reading http://wiki.mutt.org/?MuttFaq/Charset now. I noticed that
 there is an option file_charset exists in to deal with attached text
 file charst problem. But when I try it in my mutt-1.5.16, I couldn't find
 that option.
 
 
 After doing some digging on the relevant web site, e.g.
 http://wiki.mutt.org/?PatchList, I guessed that the option
 file_charset maybe be replaced by attach_charset.
 
 Am I right?

I believe so.  Search for 'charset' in:

http://www.mutt.org/doc/devel/manual.txt

-- 
Sahil Tandon [EMAIL PROTECTED]


Re: Is file_charset replace by attach_charset?

2008-05-18 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, May 19 at 11:37 AM, quoth Shaochun Wang:
 After doing some digging on the relevant web site, e.g. 
 http://wiki.mutt.org/?PatchList, I guessed that the option 
 file_charset maybe be replaced by attach_charset.

 Am I right?

Yup. file_charset was never actually official mutt; it was from a 
common patch.

~Kyle
- -- 
If you make people think they're thinking, they'll love you; but if 
you really make them think, they'll hate you.
 -- Don Marquis
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkgw/jcACgkQBkIOoMqOI15Q1QCg/G5okN289SVUclS4fV7UnIu9
rVQAoLN+r+VRCYsWFuR8oTjmdWbNzPTd
=VOJc
-END PGP SIGNATURE-


Re: how to display a status-message from macros?

2008-05-18 Thread Michael Kjorling
On 18 May 2008 23:09 -0500, by [EMAIL PROTECTED] (Kyle Wheeler):
 macro index F2 enter-commandset from='[EMAIL PROTECTED]'enter!echo 
 use 
 [EMAIL PROTECTED];sleep 1enter
 
 is there a way to display a status-message?
 
 set status_format=[EMAIL PROTECTED]: %f.

That, or putting a enter-commandset ?fromenter right at the end
of the macro?

-- 
Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se
* . No bird soars too high if he soars with his own wings . *
* ENCRYPTED email preferred -- OpenPGP key ID: 0x 758F8749 BDE9ADA6 *
* ASCII Ribbon Campaign: Against HTML mail, proprietary attachments *



signature.asc
Description: Digital signature