External smtp Server instead of sendmail und Linux/MacOS X?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tylerdurden
Forum Commoner
Posts: 66
Joined: Mon Jul 28, 2003 11:52 am
Location: Austria

External smtp Server instead of sendmail und Linux/MacOS X?

Post by tylerdurden »

Hi all,

I have a problem sending mail from two MacOS X servers. They stopped delivering mails a few days ago. I suspect that that the network they are in was configured to block all smtp traffic due to the latest Sobig worm (now there is only 1 official smtp server left). Now, before I bug the network admin (which I will do anyways), is there a way to force PHP to use an external smtp server? On Windows you have to configure php.ini with the correct server, but on Linux/MacOS X?

Thanks,

Tyler
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

(afaik) you have to reconfigure your local mta.
I have to admit my knowledge of macs is limited to "You can eject a floppy from your keyboard" ;)
Which mta do you use? (might be sendmail, qmail, postfix ...)
tylerdurden
Forum Commoner
Posts: 66
Joined: Mon Jul 28, 2003 11:52 am
Location: Austria

Post by tylerdurden »

I'm running sendmail. Please don't tell me there is no other way than messing with sendmail ;-)
tylerdurden
Forum Commoner
Posts: 66
Joined: Mon Jul 28, 2003 11:52 am
Location: Austria

Post by tylerdurden »

I found a solution:
http://www.elbtec.de/download/sendmail.php4 is a sendmail wrapper written in Perl that sends emails to an external smtp server. Works great. On MacOS X I had to install the latest libnet CPAN module.
Post Reply