[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] different from address for different lists?
On Wed, May 09, 2001 at 05:52:00PM +1000, Jeff Waugh wrote:
> <quote who="Dave Fitch">
> > while there's a spate of mutt questions...
> > how can I set a different outgoing email address for
> > different mailing lists?
> folder-hook or send-hook as appropriate.
ok thanks, folder-hook is the one, but...
I've had to stop postfix setting the From/Sender header (was set
in the canonical file) but mutt doesn't seem to set those fields.
My .muttrc has (ignoring the folder-hook bit for a minute):
my_hdr From: email@example.com
my_hdr Sender: firstname.lastname@example.org
my_hdr Reply-To: email@example.com
But trying to send email outside my system gives the error:
May 11 09:04:30 spiral postfix/pickup: BF4791A093: uid=1000 from=<davidf>
May 11 09:04:30 spiral postfix/cleanup: BF4791A093: message-id=<20010511090430.A17069@nospam.spiral>
May 11 09:04:30 spiral postfix/qmgr: BF4791A093: from=<firstname.lastname@example.org>, size=550 (queue active)
May 11 09:04:31 spiral postfix/smtp: BF4791A093: to=<email@example.com>, relay=mail2.optusnet.com.au[184.108.40.206], delay=1, status=bounced (host mail2.optusnet.com.au[220.127.116.11] said: 501 5.1.8 <firstname.lastname@example.org>... Domain of sender address email@example.com does not exist)
May 11 09:04:31 spiral postfix/cleanup: 81E111A094: message-id=<20010510230431.81E111A094@nospam.spiral.homeip.net>
May 11 09:04:31 spiral postfix/qmgr: 81E111A094: from=<>, size=1842 (queue active)
May 11 09:04:31 spiral postfix/local: 81E111A094: to=<firstname.lastname@example.org>, relay=local, delay=0, status=sent ("|/usr/bin/procmail")
Now is it referring to the Sender or From header? (note: "Reply-To:"
and "From:" get set ok just not "From" (without the colon) and "Sender").
cos in the example email they're both "email@example.com" and no matter
what I set in my .muttrc I can't get them set to anything else.
A related annoying thing is that hitting reply (in mutt) to my own
test message comes up with firstname.lastname@example.org in the To header - meaning
even if these emails did get out, people wouldn't be able to reply.
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug