Tenon Intersystems Please see text links at bottom of page for navigation Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation
Google
Search this site:



FAQ all FAQ for this program Search
Post.Office : Backing up, Restoring, Relocating : Running Scripts with Post.Office Print send FAQs by e-mailask a question
Question:I have some Perl scripts and PHP scripts that rely on 'sendmail'. How can I use Post.Office as a sendmail replacement with these scripts?
Answer:Post.Office has its version of "sendmail" in the directory called /usr/sbin. That means that for any scripts that you have that call sendmail, you need to make sure the path says:
/usr/sbin/sendmail. You might be using scripts that have the pre-set path of /usr/bin/sendmail and this is what needs to be changed to /usr/sbin/sendmail.

In addition, you will need to set up Post.Office to allow relay from the machine you are running the script from.

Log in to Post.Office via the web browser to Port 9090. Click on System Configuration and go to Restrict Mail Relaying. Set up the form so that it says:


X Restrict Relay Mail Except As Indicated Below:
X Allow Relay From the Following IP Addresses:
127.0.0.1

...

If Relay Mail is Restricted as Specified Above,
Allow Relay to
X No Domain Except those Listed Below:
X Local Mail Domains
X Additional Domains (if needed).



You will need to add the IP address of where the script is running to the Allow Relay From the Following IP Addresses box. If your script is running on the same machine as Post.Office, then you need to add it as 127.0.0.1. If you don't know what IP address you need to add, you can look in your /var/spool/post.office/log/post.office.log file (after running a test by trying to send out a message on your script) and seeing what the IP is when you get a Relay Denied message.
last updated 19.05.2004
[previous FAQ]   [next FAQ]
List FAQ in this category | List categories | List all FAQ | List programs goto top

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2013 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists