--
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20110324215328.GA1928@playground
> Is there any automatic way to have the sender's email address
> changed depending on whether or not the mail is going to a list?
> I try to use one address for lists which get published world wide
> and another for business that only goes to a select few. I've a tiny
> script to change the address in /etc/email-addresses which affects
> outgoing mail but try as hard as I might I still forget to switch
> sometimes and the address I'd like to keep private goes public.
In my mutt configuration file I have:
send-hook . 'unmy_hdr From:'
send-hook '~t debian-user@lists\.debian\.org' 'my_hdr From: Brian <ad...@cityscape.co.uk>'
Would that be anything like what you are looking for?
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20110325002904.GD7935@desktop
On 24/03/11 21:53, Mike McClain wrote:
> Is there any automatic way to have the sender's email address
> changed depending on whether or not the mail is going to a list?
> I try to use one address for lists which get published world wide
> and another for business that only goes to a select few. I've a tiny
> script to change the address in /etc/email-addresses which affects
> outgoing mail but try as hard as I might I still forget to switch
> sometimes and the address I'd like to keep private goes public.
> Thanks,
> Mike
>
I would suggest to check 'rewrite' clause in the exim config file/s this
should help a bit
http://www.exim.org/exim-html-4.72/doc/html/spec_html/ch31.html
- --
|_|0|_| |
|_|_|0| "Heghlu'Meh QaQ jajVam" |
|0|0|0| -------- kuLa --------- |
gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAEBAgAGBQJNjEiiAAoJEOqHloDBALTKCRkIAKlnh8Jfs18Pijl+zARwii2/
ULSIf1pnLdbt9k6nj7PA73Wgm1+/QaQjbZt4k/H9/B8V6hVZ0W2+jhcC2kOkP4Ij
oiHx8bDEkMbZg0VGndh9VxZlLQEstKxVrG9Hvh3GXPLNUXlWY2M+NTt3CFtTkVxQ
8ec1Dwr3dwI6E0bAtCG4eJst1eWhLfVxXuErMx+1Qyn6mjlKYpbu7VbgofEIS5Hm
oANw3V6mSmR2xbo7yOTt5pxKIukT856h7X+WTQB3HNyJr9z+NnKZWxDA10ctc1nE
ESIEEzSZOq7AyxGsSWyv8opGEN8cDB2ZXOp0Nmtnj2LUyJIq8nKM/F6cJTwAW/w=
=Qlre
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> In my mutt configuration file I have:
> send-hook . 'unmy_hdr From:'
> send-hook '~t debian-user@lists\.debian\.org' 'my_hdr From: Brian <ad...@cityscape.co.uk>'
>
> Would that be anything like what you are looking for?
Well, I don't know but I'll try it and see, from re-reading the docs
it surely looks like it, guess I just missed it.
Thanks,
Mike
--
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20110325172011.GA18525@playground
Thanks, I'll take a look.
Mike
--
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20110325172421.GB18525@playground
As of 1.5, mut can deliver directly to a remote SMTP but I don't know
whether or not the Debian package is compiled for that, probably.
Otherwise, exim4 will edit those "from:" headers to respect the local
domain or to what has been configured for a standard rewrite.
Brian's link look about good for conditional rewrite but I haven't read or
tried it.
--
Regards,
Freeman
"Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer." --Somebody
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
P.S. Link to configuring mutt to send direct to remote SMTP (so exim4
doesn't rewrite the "from:" header.
http://wiki.mutt.org/?MuttFaq/Sendmail
You could make a macro in muttrc that sources that config and turn it on/off
depending on whether you wanted to send from your basic domain with exim4.