Kun Niu | 1 Oct 2008 03:56
Picon

How can I change the from header of my email?

Dear all,
I'm trying to change the from email address of my mutt client.
I've tried to change hostname which failed.
And I alse tried change my_hdr which also failed.
How can I change mutt to use the from email I want?

Any hints will be appreciated and thanks in advance.

Cristóbal Palmer | 1 Oct 2008 04:04
Picon

Re: How can I change the from header of my email?

On Wed, Oct 01, 2008 at 09:56:24AM +0800, Kun Niu wrote:
> Dear all,
> I'm trying to change the from email address of my mutt client.
> I've tried to change hostname which failed.
> And I alse tried change my_hdr which also failed.
> How can I change mutt to use the from email I want?
> 
> Any hints will be appreciated and thanks in advance.

From the stock .muttrc in debian:

# set from=""
# Name: from
# Type: e-mail address
# Default: ""
# 
# 
# When set, this variable contains a default from address.  It
# can be overridden using my_hdr (including from send-hooks) and
# ``$reverse_name''.
# 
# Defaults to the EMAIL environment variable's content.

So, for you <at> example.com, do:

set from="you <at> example.com"

Cheers,
--

-- 
Cristóbal Palmer
(Continue reading)

Kun Niu | 1 Oct 2008 06:53
Picon

Re: How can I change the from header of my email?

2008/10/1 Cristóbal Palmer <cmpalmer <at> metalab.unc.edu>:
> On Wed, Oct 01, 2008 at 09:56:24AM +0800, Kun Niu wrote:
>> Dear all,
>> I'm trying to change the from email address of my mutt client.
>> I've tried to change hostname which failed.
>> And I alse tried change my_hdr which also failed.
>> How can I change mutt to use the from email I want?
>>
>> Any hints will be appreciated and thanks in advance.
>
> From the stock .muttrc in debian:
>
> # set from=""
> # Name: from
> # Type: e-mail address
> # Default: ""
> #
> #
> # When set, this variable contains a default from address.  It
> # can be overridden using my_hdr (including from send-hooks) and
> # ``$reverse_name''.
> #
> # Defaults to the EMAIL environment variable's content.
>
> So, for you <at> example.com, do:
>
> set from="you <at> example.com"
>
Thank you for your reply.
I've just tested your configuration.
(Continue reading)

Wilkinson, Alex | 1 Oct 2008 07:08
Picon

Re: How can I change the from header of my email?


    0n Wed, Oct 01, 2008 at 09:56:24AM +0800, Kun Niu wrote: 

    >I'm trying to change the from email address of my mutt client.
    >I've tried to change hostname which failed.
    >And I alse tried change my_hdr which also failed.
    >How can I change mutt to use the from email I want?
    >Any hints will be appreciated and thanks in advance.

my_hdr From: "someone <at> domain.com"

 -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.

Maruvada, Suryakiran | 1 Oct 2008 13:43
Picon

Wild Cards not working with mutt ?


Hi, 

1. I need to send multiples files as attachment to a single mail.

mutt -a *.csv -s " Testing" smaruvada <at> paypal.com < /dev/null

Error sending message, child exited 100 ().

Segmentation fault

From man page I understand that,

    -a file [...]

            Attach a file to your message using MIME. To attach

            multiple files, separating filenames and recipient

            addresses with "--" is mandatory,

            e.g. mutt -a img.jpg *.png -- addr1 addr2

I am able to send the mail with a single file as attachment i.e -a
<file1> <file2> ....

2. Do we have any restriction on the length of the file name to be
sent.? As I have very long file names.

Thanks and Regards,
(Continue reading)

Rejo Zenger | 1 Oct 2008 13:57
Picon

Re: Wild Cards not working with mutt ?

++ 01/10/08 05:43 -0600 - Maruvada, Suryakiran:
>1. I need to send multiples files as attachment to a single mail.
>
>mutt -a *.csv -s " Testing" smaruvada <at> paypal.com < /dev/null
>
>Error sending message, child exited 100 ().
>
>Segmentation fault
>
>From man page I understand that,
>
>    -a file [...]
>
>            Attach a file to your message using MIME. To attach
>            multiple files, separating filenames and recipient
>            addresses with "--" is mandatory,
>            e.g. mutt -a img.jpg *.png -- addr1 addr2
[...]

You are missing one essential note in the man page:

  [...] To attach multiple files, separating filenames and recipient 
addresses with "--" is mandatory [...]

So, if you change your command line to something like this it should 
work:

   mutt -s "testing" -a *.csv -- smaruvada <at> paypal.com < /dev/null

>2. Do we have any restriction on the length of the file name to be
(Continue reading)

Jeff Kinz | 1 Oct 2008 13:55

Re: How can I change the from header of my email?

On Wed, Oct 01, 2008 at 01:08:17PM +0800, Wilkinson, Alex wrote:
> 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.

Alex, thanks for the email, I accept that its my property now to
do with as I wish. :-) 

(yeah, I realize you have no choice in that matter, I just found
the wording on this one especially amusing. :-) ) 

> 
>     0n Wed, Oct 01, 2008 at 09:56:24AM +0800, Kun Niu wrote: 
> 
>     >I'm trying to change the from email address of my mutt client.
>     >I've tried to change hostname which failed.
>     >And I alse tried change my_hdr which also failed.
>     >How can I change mutt to use the from email I want?
>     >Any hints will be appreciated and thanks in advance.
> 
> my_hdr From: "someone <at> domain.com"
> 
>  -aW
> 
>

--

-- 

(Continue reading)

Kun Niu | 1 Oct 2008 14:28
Picon

Re: How can I change the from header of my email?

2008/10/1 Wilkinson, Alex <alex.wilkinson <at> dsto.defence.gov.au>:
>
>    0n Wed, Oct 01, 2008 at 09:56:24AM +0800, Kun Niu wrote:
>
>    >I'm trying to change the from email address of my mutt client.
>    >I've tried to change hostname which failed.
>    >And I alse tried change my_hdr which also failed.
>    >How can I change mutt to use the from email I want?
>    >Any hints will be appreciated and thanks in advance.
>
> my_hdr From: "someone <at> domain.com"
I tried, but also failed.:(
Thanks for your reply.
>
>  -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.
>
>
>

--

-- 
失业
         牛坤
MSN:haoniukun <at> hotmail.com
dv1445 | 1 Oct 2008 15:13
Favicon

Re: mutt tmp files

Thus spake Kyle Wheeler [09/30/08  <at>  16.01.37 -0500]:
> On Tuesday, September 30 at 10:18 PM, quoth Mauro Sacchetto:
> > I set mutt to put all tmp file in ~/mail/tmp. 
> > However, at present I've a lot of file, many empty 
> > or backup files. Is there an (automatic) method 
> > to delete the all there not useful files?
> 
> Generally, mutt shouldn't leave files behind. There have been one or 
> two bugs that would cause it to leave files behind (that have been 
> fixed) and one or two issues with broken filesystems that would cause 
> files to be left behind (which can't be fixed). You should update to 
> the most recent version of mutt in order to make sure those bugs are 
> fixed, but generally, you should be able to delete everything in the 
> tmp folder whenever mutt exits - you can create a shell script wrapper 
> around mutt to make that happen.

Hmm.  Mutt has *always* left plenty of files behind for me.  Starting with 1.4.something and all the way into
1.5.18.  On OSX Panther, Tiger, and Leopard.  It leaves things in the folder I defined as the tmpdir.  Usually
the files are empty, but sometimes they are saved states of mails I was writing.

These files always have a name that looks something like:

mutt-hostname-501-somenumbers-somemorenumbers

I manually clean them out once in a while.  I thought this was normal.  Is mutt bugging out on the Mac?

-gmn

Cristóbal Palmer | 1 Oct 2008 16:01
Picon

Re: How can I change the from header of my email?

On Wed, Oct 01, 2008 at 08:28:58PM +0800, Kun Niu wrote:
> >
> > my_hdr From: "someone <at> domain.com"

Please use example.com, example.net, or example.org for
examples. That's what they're for. See RFC 2606, Section 3.

> I tried, but also failed.:(
> Thanks for your reply.

I have a sneaky suspicion your muttrc isn't being read. Where are you
putting it? Have you ":source"ed the file? Quit mutt and started
again?

Cheers,
--

-- 
Cristóbal Palmer
ibiblio.org systems administrator


Gmane