ispCP - Board - Support
php sendmail and postfix issue - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: php sendmail and postfix issue (/thread-6301.html)



php sendmail and postfix issue - daverupe - 04-04-2009 03:15 AM

I have a php script on my site that uses the php sendmail function. when the script is executed the mail is never delivered. Is there a way to forward (bounce) all outgoing mail to a separate mail server? I do not use ispCP for mail at all.

log from /var/logs/mail.log as a result of executing the sendmail script...
Quote:Apr 3 11:37:36 DRWEBTEST postfix/pickup[5443]: E204020A0A: uid=2001 from=<webmaster@daverupe.com>
Apr 3 11:37:37 DRWEBTEST postfix/cleanup[7057]: E204020A0A: message-id=<20090403153736.E204020A0A@DRWEBTEST.daverupe.local>
Apr 3 11:37:37 DRWEBTEST postfix/qmgr[4931]: E204020A0A: from=<webmaster@daverupe.com>, size=480, nrcpt=1 (queue active)
Apr 3 11:37:37 DRWEBTEST postfix/virtual[7059]: E204020A0A: to=<test@daverupe.com>, relay=virtual, delay=0.48, delays=0.36/0.02/0/0.1, dsn=5.1.1, status=bounced (unknown user: "test@daverupe.com")
Apr 3 11:37:37 DRWEBTEST postfix/cleanup[7057]: 3A66020A0F: message-id=<20090403153737.3A66020A0F@DRWEBTEST.daverupe.local>
Apr 3 11:37:37 DRWEBTEST postfix/qmgr[4931]: 3A66020A0F: from=<>, size=2272, nrcpt=1 (queue active)
Apr 3 11:37:37 DRWEBTEST postfix/bounce[7060]: E204020A0A: sender non-delivery notification: 3A66020A0F
Apr 3 11:37:37 DRWEBTEST postfix/qmgr[4931]: E204020A0A: removed
Apr 3 11:37:37 DRWEBTEST postfix/virtual[7059]: 3A66020A0F: to=<test@daverupe.com>, orig_to=<webmaster@daverupe.com>, relay=virtual, delay=0.07, delays=0.04/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "test@daverupe.com")
Apr 3 11:37:37 DRWEBTEST postfix/qmgr[4931]: 3A66020A0F: removed



RE: php sendmail and postfix issue - BeNe - 04-06-2009 02:41 AM

Quote:Is there a way to forward (bounce) all outgoing mail to a separate mail server?

You mean this one ?
--> http://www.isp-control.net/documentation/frequently_asked_questions/how_can_i_use_a_different_mx_for_domain_s

Greez BeNe


RE: php sendmail and postfix issue - daverupe - 04-12-2009 02:08 PM

Quote:You mean this one ?
--> http://www.isp-control.net/documentation/frequently_asked_questions/how_can_i_use_a_different_mx_for_domain_s

Greez BeNe

Thanks for the assist!!!

The links in FAQ are dead. They should reflect...

How to use Google Apps as your email solution on your system:
http://isp-control.net/forum/thread-3661.html

Disable mail for a domain:
http://www.isp-control.net/forum/thread-3247.html