#!/bin/sh ###################################### # Notes from: # http://www.tlviewer.org/rt3 # control relaying # echo "Connect:support.tlviewer.org OK" >> /etc/mail/access # sendmail allowed shell # ln -s /usr/sbin/rt-mailgate /etc/smrsh/rt-mailgate # rt aliases ######### # rt: "|/etc/smrsh/rt-mailgate --queue General --action correspond --url http://localhost/rt3" # rt-comment: "|/etc/smrsh/rt-mailgate --queue General --action comment --url http://localhost/rt3" ##################################### # overview: commit sendmail config files and restart the daemon ##################################### # login authenticate info for (external) smtp makemap hash /etc/mail/authinfo < /etc/mail/authinfo # rebuild sendmail DB m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf # rebuild aliase DB newaliases # make all make -C /etc/mail /etc/init.d/sendmail restart # troubleshoot rt-mailgate #tail /var/log/maillog #tail /var/log/httpd/access_log