LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   set squirrel mail to use postfix (https://www.linuxquestions.org/questions/linux-networking-3/set-squirrel-mail-to-use-postfix-405110/)

paul_mat 01-18-2006 06:00 PM

set squirrel mail to use postfix
 
hi there,

i'm trying to get squirrel mail to use postfix so when a message is sent it goes via the 'local_recipient_maps' option in postfix first. but in the 'config/conf.pl' there is only an option of sendmail/SMTP i've set it to use SMTP, but that has no effect.

has anyone tried to do this before, if so, please help.

scowles 01-20-2006 04:52 AM

I use squirrel mail with FC3.

I simply edited the following lines in /etc/squirrelmail/config.php :

Code:

$useSendmail            = true;
$smtpServerAddress      = 'localhost';
$smtpPort              = 25;
$sendmail_path          = '/usr/sbin/sendmail';

NOTE: /usr/sbin/sendmail is linked to the postfix sendmail command. Using the FC3 distro, this link should be pointing to /etc/alternatives/mta; which is then linked to /usr/sbin/sendmail.postfix. If its not, run "system-switch-mail" and select postfix.


All times are GMT -5. The time now is 11:38 PM.