Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
ViArt User's Guide (Version 4,5)
This section describes how to setup PayPal Website Payments Standard for your ViArt shopping cart. Please, carefully follow all the instructions below.
This section describes how to setup PayPal Website Payments Pro for your ViArt shopping cart. Please, carefully follow all the instructions below.
9.3.2.3. Sendmail
9.3.2.3. Sendmail
Prev Index Next

Alias File:

/etc/aliases

Assuming that we are setting up sales@company.com and support@company.com we will create the corresponding entries in the file as follows:

support@company.com: "|/full/path/to/admin/support_receiver.php"
sales@company.com: "|/full/path/to/admin/support_receiver.php"

Note: This file might contain other entries for describing routing of mails in your system. You should not edit any of those lines.

Sendmail: SMRSH Instructions
Certain Sendmail systems are configured with Sendmail Restricted Shell to prevent execution of any third party malicious programs or scripts. If you receive a bounce message with SMRSH failure then you will need to configure the mail parser with SMRSH in the following manner.

  • Find SMRSH Path: The first step is to find the SMRSH path, run the command "man smrsh" as described below.
  • The path to SMRSH is listed in the second paragraph. By executing the command we now know that SMRSH files should go under "/etc/smrsh".

    Other Possible Locations of SMRSH:

    /etc/smrsh
    /usr/bin/smrsh
    /usr/sbin/smrsh


  • Create Symlink: We will now need to create a symlink to our admin/support_receiver.php under the directory /etc/smrsh
  • The Command Syntax is:

    ln -s /full/path/to/admin/support_receiver.php /etc/smrsh/support_receiver.php
  • Change Alias File: Once the symlink has been created, you should change the alias file contents

  • FROM:
    support@domain.com: "|/full/path/to/admin/support_receiver.php"
    TO:
    support@domain.com: "|/etc/smrsh/support_receiver.php"

    That's it. You have now configured the mail parser with SMRSH.

    Once the alias file has been edited, you will need to run the "newaliases" command.

    Prev Index Next