Home
The Toolkit for Online Communities
12892 Community Members, 2 members online
Log In Register

OpenACS BlogArchive

OpenACS Home : OpenACS Blog : Archive : 2005 : May : 25

Configuring OpenACS to use Postfix MTA (on MacOS X)

This guide should help you with configuring OpenACS Notifications to use Postfix instead of the qmail MTA on Macos X. However the instructions should be similar for OpenACS installations on other OSes.

Once postfix is installed, all you need to do is enable it to start as your default Mailserver in /etc/hostconfig. Proceed with configuring Postfix, then onfigure OpenACS Notification Parameters to use Postfix. Finally, restart Postfix for the configurations to take effect. You may also need to restart your OpenACS server as well.

NOTE 1: Replace hostname.mydomain.tld with the hostname of your server. This should be something like openacs.org.

NOTE 2: I've assumed that the OpenACS server will run as the service0 user.

NOTE 3: You need to create the Maildir directory in the home directory of the service0 user.

$ mkdir /Users/service0/Maildir

Edit /etc/hostconfig to enable Postfix on Panther
MAILSERVER=-YES-
Edit /etc/postfix/main.cf
myhostname=hostname.mydomain.tld
myorigin=$myhostname
inet_interfaces=$myhostname, localhost
mynetworks_style=host
virtual_maps=regexp:/etc/postfix/virtual
home_mailbox=Maildir/
Edit /etc/postfix/virtual
Add the following regular expressions:

/^notification-(.*)@hostname\.mydomain\.tld/ service0
/^bounce-(.*)@hostname\.mydomain\.tld/ service0
Edit /etc/postfix/master.cf
Uncomment line 77 and change:

#smtp inet n - n - - smtpd
to
smtp inet n - n - - smtpd
OpenACS: Configure Notifications Parameters
EmailDomain: hostname.mydomain.tld
EmailQmailQueue: /Users/service0/Maildir
EmailReplyAddressPrefix: notification
EmailQmailQueueScanP: 1
OpenACS: Configure Mail Services Lite Parameters
BounceDomain: hostname.mydomain.tld
BounceMailDir: /Users/service0/Maildir
EnvelopePrefix: bounce
Restart Postfix
$ sudo Postfix stop
$ sudo Postfix start

07:39 PM, 25 May 2005 by Nick Carroll Permalink | Comments (0)

Advocacy

What about sending a bulk mail message to all community members that we have created an end users welog?

01:54 PM, 25 May 2005 by Ben Koot Permalink | Comments (2)

XML

Archive

May 2005
S M T W T F S
10  11  12  13  14 
15  16  17  18  19  20  21 
22  23  24  25  26  27  28 
29  30  31         
April 2007
March 2007
October 2006
March 2006
February 2006
January 2006
December 2005
November 2005
August 2005
July 2005
June 2005
May 2005

Notifications

You may request notification for OpenACS Blog.

Syndication Feed

XML

Recent Comments

  1. Silvio Ernesto: hola
  2. Martin v. Löwis: Cannot run pg_ctl from launchd
  3. Joan Miller: Something Interesting
  4. Hubert Erlmoser: trustpharma.com
  5. Hubert Erlmoser: TRUSTPHARMA
  6. Ben Koot: Selva
  7. LARRY SCOVEL: TRUST PHARMA
  8. Nick Carroll: Theme Selva
  9. Ben Koot: More enhancements
  10. Jane Perez: Trustpharma.com