Penning email from a user "other" than tfilePro

Jean-Pierre A. Radley appl at jpr.com
Wed Aug 25 13:14:32 PDT 2004


John Esak propounded (on Wed, Aug 25, 2004 at 05:58:25AM -0400):
| 
| 
| There are SO many ways to do this, I know, but I thought I would ask if
| anyone else has done it and been through the decisions already. I am sending
| email back to web requests that are brought into our filePro system. These
| return, auto-responses for lack of a better term all go out with "filepro"
| as the user doing the sending. So, in my case, and that of a few people who
| have been helping me test this system, the email gets "routed" to our
| "filePro" email folders... (because we have some mechanism, a rule or
| what-not, that routes mail with filepro in the sender or some part of the
| email header, in our systems). It is no big deal, the normal user of our web
| site will not experience this, not having any such rule or folder in their
| email apps, but I want to change the sender user name anyway.
| 
| Now, this can be done lots of way, but it basically wraps around the "user"
| and the "effective user" and etc. We have had some very long discussions
| here about filePro's EUID and how it changes if you are root or "not
| root"... and some other factors which govern this... So, in light of all
| this, how should I run my process to ensure that it is mailed from something
| more like "info at nexusplastics.com" or "quotes at nexusplastics.com".  Of
| course, I have already arranged it so that the average user will see the
| sender as "Nexus Plastics" and they world not ever know the mail came from
| <filepro at nexusplastics.com>, but still, like I said for me, this still sorts
| into my filePro folder.
| 
| I get the data in from a process that runs based on incoming email, this
| sends the data into a filepro process which sends out the auto response. At
| what point should I be trying to change the user-id and how?  Wasn't there a
| PFEUID or something??

In a filePro processing table, this line

	system "EMAIL=news at jpr.com mutt -s Junk jpr at jpr.com < /etc/profile"

results in mail to myself whose Headers include:

	Date: Wed, 25 Aug 2004 16:11:35 -0400
	From: "Jean-Pierre A. Radley" <news at jpr.com>
	To: jpr at jpr.com
	Subject: Junk



-- 
JP


More information about the Filepro-list mailing list