[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):
set from=davidf@nospam.smartchat.net.au
my_hdr From: davidf@nospam.smartchat.net.au
my_hdr Sender: davidf@nospam.smartchat.net.au
my_hdr Reply-To: davidf@nospam.smartchat.net.au
But trying to send email outside my system gives the error:
May 11 09:04:30 spiral postfix/pickup[17044]: BF4791A093: uid=1000 from=<davidf>
May 11 09:04:30 spiral postfix/cleanup[17057]: BF4791A093: message-id=<20010511090430.A17069@nospam.spiral>
May 11 09:04:30 spiral postfix/qmgr[17045]: BF4791A093: from=<davidf@nospam.spiral>, size=550 (queue active)
May 11 09:04:31 spiral postfix/smtp[17059]: BF4791A093: to=<david_fitch@nospam.email.com>, relay=mail2.optusnet.com.au[203.2.75.133], delay=1, status=bounced (host mail2.optusnet.com.au[203.2.75.133] said: 501 5.1.8 <davidf@nospam.spiral>... Domain of sender address davidf@nospam.spiral does not exist)
May 11 09:04:31 spiral postfix/cleanup[17057]: 81E111A094: message-id=<20010510230431.81E111A094@nospam.spiral.homeip.net>
May 11 09:04:31 spiral postfix/qmgr[17045]: 81E111A094: from=<>, size=1842 (queue active)
May 11 09:04:31 spiral postfix/local[17061]: 81E111A094: to=<davidf@nospam.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@nospam.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@nospam.spiral in the To header - meaning
even if these emails did get out, people wouldn't be able to reply.
Dave.
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug