-   Linux - Software (
-   -   How to switch Mail Transport Agent in FC3? (

murr4y 06-26-2005 03:58 PM

How to switch Mail Transport Agent in FC3?
I believe "sendmail" is the default mail program in FC3.
I've installed postfix, configured, stopped "sendmail" and started "postfix".
So I try sending an email to my hotmail account using PHP (I have a webserver) and I thought it'd work but look at the Mail Log:

Jun 26 22:43:25 localhost postfix/master[5887]: daemon started -- version 2.1.5
Jun 26 22:43:39 localhost sendmail[5892]: j5QKhXBi005892: Authentication-Warning: localhost.localdomain: nobody set sender to using -f
Jun 26 22:43:58 localhost sendmail[5892]: j5QKhXBi005892:, size=260, class=0, nrcpts=1, msgid=<200506262043.j5QKhXBi005892@localhost.localdomain>, relay=nobody@localhost
Jun 26 22:43:58 localhost sendmail[5892]: j5QKhXBi005892:, (99/-1), delay=00:00:25, xdelay=00:00:00, mailer=relay, pri=30260, relay=[] [], dsn=4.0.0, stat=Deferred: Connection refused by []

Ok so I'm not 100% sure what all this means but I know the mail isn't sent.
I need to
1) Be able to send mails from PHP with whatever Return-path: I want
2) Be able to send every mail through another specified SMTP host
I'm not even sure if postfix is able to do that. If you know of another program which is good, please tip me! :)
Anyway, just to make it work would be all right. Anyone know why my mails aren't sent?

randyding 06-28-2005 12:52 AM

Hello, since no one replied yet I'll try to help a little, please note I don't know postfix and use redhat enterprise instead of fedora. Pretty sure they work the same however.
First if your postfix logs show activity when the outgoing mail is (attempted) sent then its a good bet you are already configured to send mail with the new transport agent.
In redhat (assuming fedora is the same) you modify the link /etc/alternatives/mta to point to the agent of choice.

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