i am using fetchmail to get all my pop mail and it directs it all to my
user name and i use my .qmail to redirect it to a mail filter (a perl
script using Mail::Procmail). that script detects messages to my lists
and resends them back to qmail which should forward them to the ezmlm
code. it seems to work when i subscribe from this box as me. but from an
outside account, the ezmlm confirm reply gets sent to me and not to the
address that requested the subscribe. here is the message that ezmlm
generated was sent to me and not to the other guy
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 1654 invoked from network); 30 Jan 2001 01:07:03 -0000
Received: from localhost (HELO mail) ([EMAIL PROTECTED])
by localhost with SMTP; 30 Jan 2001 01:07:03 -0000
Return-Path: <[EMAIL PROTECTED]>
X-Authentication-Warning: syslang.localhost.localdomain: steveo owned
process doing -bs
Date: Mon, 29 Jan 2001 19:45:52 -0500 (EST)
From: "Steven W. Orr" <[EMAIL PROTECTED]>
X-X-Sender: <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Test shit
Message-Id: <[EMAIL PROTECTED]
main>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Uidl: H&K"!3=8!!o<6!!Fhd"!
Status: RO
X-Mailer: Perl5 Mail::Internet v1.32
Sender: <[EMAIL PROTECTED]>
so it seems qmail/ezmlm didn't use the reply-to or from headers but the
return-path or sender ones. how can i get this redirection to look like
it came from the originator? the goal obviously is to get this sent back
to the originator and not to me.
for those who care this is how i am redirecting any list messages back
to qmail. it is from my filter script.
for ( qw( drum mmg ) ) {
if ( $m_TO =~ /$_([^@]+)?\@sysarch\.com/i and $m_mailing_list !~ /$_/ ) {
$m_obj->delete( 'Delivered-To' ) ;
pm_resend( "uri-$_$1\@sysarch.com" ) ;
}
}
i am deleting delivered-to stop qmail from throwing this out. i just
prepend my user name to the address as that is how i set up ezmlm lists
for me.
any ideas?
thanx,
uri
--
Uri Guttman --------- [EMAIL PROTECTED] ---------- http://www.sysarch.com
SYStems ARCHitecture, Software Engineering, Perl, Internet, UNIX Consulting
The Perl Books Page ----------- http://www.sysarch.com/cgi-bin/perl_books
The Best Search Engine on the Net ---------- http://www.northernlight.com