SLUG Mailing List Archives
Re: [SLUG] different from address for different lists?
- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] different from address for different lists?
- From: Dave Fitch <davidf@xxxxxxxxxxxxxxxx>
- Date: Fri May 11 09:15:32 2001
- Reply-to: davidf@xxxxxxxxxxxxxxxx
- User-agent: Mutt/1.2.5i
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: davidf@xxxxxxxxxxxxxxxx
my_hdr Sender: davidf@xxxxxxxxxxxxxxxx
my_hdr Reply-To: davidf@xxxxxxxxxxxxxxxx
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@spiral>
May 11 09:04:30 spiral postfix/qmgr: BF4791A093: from=<davidf@spiral>, size=550 (queue active)
May 11 09:04:31 spiral postfix/smtp: BF4791A093: to=<david_fitch@xxxxxxxxx>, relay=mail2.optusnet.com.au[18.104.22.168], delay=1, status=bounced (host mail2.optusnet.com.au[22.214.171.124] said: 501 5.1.8 <davidf@spiral>... Domain of sender address davidf@spiral does not exist)
May 11 09:04:31 spiral postfix/cleanup: 81E111A094: message-id=<20010510230431.81E111A094@xxxxxxxxxxxxxxxxx>
May 11 09:04:31 spiral postfix/qmgr: 81E111A094: from=<>, size=1842 (queue active)
May 11 09:04:31 spiral postfix/local: 81E111A094: to=<davidf@spiral>, 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 "davidf@spiral" 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 davidf@spiral in the To header - meaning
even if these emails did get out, people wouldn't be able to reply.