Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] different users for different catalogs (?)



******    message to minivend-users from "Christopher P. Lindsey" <lindsey@mallorn.com>     ******

> You need to add the Minivend user as a trusted user in the sendmail.cf
> file.  Generally this means searching the file for something similar to
> Troot, and adding the line below that like: Tmvend.  You will then need to
> send a HUP to sendmail... 

That won't do it.  All that it does is give that user permission to change
the envelope sender without setting an X-Authentication-Warning: header.

sendmail will still need to be invoked with a '-f' flag, or Minivend will
have to be modified in some way to use the desired headers.

I've taken a different route for this...  My SendMailProgram variable
is set to something like

   /usr/bin/procmail -m /home/minivend/catalogs/heronswood/procmailrc

That procmail config file does a few things:

   1.  It creates an immediate backup copy of the outgoing email (in
       case later scripts fail, then I can just re-"pump" them through
       this script again)

   2.  Checks the headers to determine if this is bound for a customer
       or the store owner, rewriting the headers accordingly

   3.  Get rid of the PGP MIME attachment format and just include the
       credit card info (still ASCII armored) in the body of the 
       message if this is for the store owner

   4.  Resend the message

There's probably better ways to do this, but it gives me complete
control and flexibility.

Chris
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: