[imp] Return-path problem with IMP on Solaris

Magnus Stenman stone@hkust.se
Wed, 11 Apr 2001 10:52:49 +0200


Instead of calling sendmail directly from IMP,
execute a shell script which logs its arguments,
and then executes sendmail

look at the args

/m


On Tue, Apr 10, 2001 at 03:20:55PM -0400, Lisa Koch wrote:
> I don't think that sendmail is the problem.  I can send mail using the
> "-f" option from the command line, while logged in as the apache user,
> and it arrives with the "Return-Path" set to the "-f" user.  However, I
> added the apache user to the trusted users anyway (didn't help). BTW,
> our apache user is usually www; I switched Apache to run as "nobody" in
> the test message whose headers you saw, to try other ideas (didn't
> help).
> 
> My guess is that IMP is not passing the argument to the "-f" option to
> sendmail, somehow.  As I mentioned before, PHP seems picky about
> whitespace on Solaris, more so than on Linux.  I notice stuff about
> "escapeShellCmd" in horde.lib.  What is this, and could it be
> OS-specific?  Other ideas?  
> 
> Thanks for your suggestions!  Lisa
> 
> Max Kalika wrote:
> > 
> > Quoting Lisa Koch <lkoch@coe.neu.edu>:
> > 
> > > I don't object to the authwarnings.  We get those running IMP on Linux.
> > > But under Solaris, sendmail is NOT sending mail as the user, it's sending
> > > all IMP mail as www.  If we could get the authwarnings to show up and the
> > > mail to be sent by the real user, I'd be delighted!
> > 
> > Perhaps you disabled setting sender with -f in your sendmail.cf.  I don't have
> > my "Bat Book" on hand, so I can't remember what setting that is.  But try
> > setting your apache user (nobody) as a trusted user with
> > 
> > Tnobody
> > 
> > somewhere in your sendmail.cf and restart sendmail.
> > 
> > --
> > /// max kalika
> > // max@the-triumvirate.net
> -- 
> Dr. Lisa K. Koch
> Assistant Dean for Educational and Computer Technology
> College of Engineering, Northeastern University
> 230 Snell Engineering Center, Boston, MA 02115
> Email: lkoch@coe.neu.edu * Phone: (617) 373-4430 * Fax: (617) 373-8504
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org

-- 
 Magnus Stenman   mailto:stone@hkust.se   http://www.hkust.se

 Get it up, keep it up.  Linux -- Viagra for your PC