[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] perl script-generated sendmail headers



----- Original Message ----- 
From: "Dan Kriwitsky" <list1@xxxxxxxxxxxxxxxxxxxx>
To: <cobalt-users@xxxxxxxxxxxxxxx>
Sent: Sunday, May 26, 2002 9:36 AM
Subject: RE: [cobalt-users] perl script-generated sendmail headers


> > Return-Path: <user@xxxxxxxxxxxx>
> > Received: (from httpd@localhost)
> 
> I thought that Received: line would only be for users on your server.
> (?)
> If your local user has the address the form sends to as an alias set to
> forward to an offsite address, (haven't tested), it should show a proper
> received from.
> 
> I'm using procmail to send replies to anyone filling out a particular
> form on a site and it shows proper headers.
> 
> Return-Path: <replies@xxxxxxxxxxxxxxx>
> Received: from host.domain.net (216.xx.xxx.xx)
>   by 0 with SMTP; 26 May 2002 14:28:29 -0000
> Received: (from replies@localhost)
> by host.domain.net (8.10.2/8.10.2) id g4QER6Y09363;
> Sun, 26 May 2002 09:27:06 -0500
> Date: Sun, 26 May 2002 09:27:06 -0500
> 
> You can certainly change the Return-Path in the CGI script.
> 
> -- 
> Dan Kriwitsky
> 

Thanks for the reply, Dan. I've set the Return-Path with sendmail flags,
and that works fine. It's the Received: line, that I'm having trouble with.
I've always used sendmail in my CGI scripts, so I don't have a clue 
about how to use procmail. Btw... the script is an auction program, 
not a form mailer. Thanks again...

:D 
-- 
David Black 
Web Developer 
http://theWaveCave.com