3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Maildrop return-path
FromSent OnAttachments
Jonas GenanntMay 28, 2007 2:15 pm 
Sam VarshavchikMay 28, 2007 3:27 pm 
Alessandro VeselyMay 29, 2007 2:02 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Maildrop return-pathActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:May 28, 2007 3:27:07 pm
List:net.sourceforge.lists.courier-users

Jonas Genannt writes:

Hello,

I use the following code in my local .mailfilter:

if (/^To: fo@bar.com$/:h ) { to "!fo@otherisp.com" }

This code will send all messages with the To: fo@bar.com Header to another address. This works quite fine, but maildrop changes the Return-Path to "mailer-daemon@my_mailserver.de"

Is it possible that maildrop does not change the Return-Path?

maildrop does not change anything. Your sendmail wrapper sets the return path. If the default path is wrong, you will have to run sendmail manually:

to "| sendmail -freturn@domain fo@otherisp.com"