Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th May 2011, 00:15
notze notze is offline
Junior Member
 
Join Date: May 2011
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default HOWTO ENABLE MAIL VIA PHP on WEB (SET UP ISPCONFIG for two Servers Mailing / WEB)

who can I enable to send mails from the web hosting server? atm the mailing (postfix) is disabled. (and i don't want to interfer the mailserver)
Reply With Quote
Sponsored Links
  #2  
Old 10th May 2011, 01:22
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

You need to have in both server (web and mail) an MTA installed (postfix in this case).

Here you can see the setting you have to set in both servers. (mail server must be a relay server only for your web server)

http://www.howtoforge.com/forums/showthread.php?t=52362

Regards
Reply With Quote
  #3  
Old 10th May 2011, 10:00
notze notze is offline
Junior Member
 
Join Date: May 2011
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default thanks for your help

i did the following

apt-get remove postfix --purge

apt-get install postfix (without the mysql stuff)

and it run out of the box. (its not relayed threw the mailserver but thats in my case desired)


thanks for your help!!!
Reply With Quote
  #4  
Old 10th May 2011, 18:28
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

It works out of the box? be carefull, maybe you mailserver is acting as an open relay for the world, and you MUST limit to only act as relay for the servers you want.
Reply With Quote
  #5  
Old 10th May 2011, 18:30
notze notze is offline
Junior Member
 
Join Date: May 2011
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Default thanks for warning

no i meant the webserver itself is able to send messages now under his own hostname, not relaying!
Reply With Quote
  #6  
Old 11th May 2011, 13:39
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

But a misconfigured postfix may lead to your server beeing an open relay, no matter what local services are able to do.

More information, tools & links you may find e.g. here:
http://spamlinks.net/prevent-secure-relay-test.htm
Reply With Quote
  #7  
Old 11th May 2011, 14:21
notze notze is offline
Junior Member
 
Join Date: May 2011
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default thanks for that link i didnt know it really good!

since no smtp is opened, and i only use to send mail..

http://verify.abuse.net/cgi-bin/relaytest:

All tests performed, no relays accepted.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP warnings after upgrade to ISP config 3.03 stevegjacobs Installation/Configuration 5 30th October 2010 14:31
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
ISPconfig 3 some users cannot send email to outside Rockblade Installation/Configuration 7 29th April 2010 01:40
Why did Squirrelmail, Dovecot/IMAP & Outbound mail break? websissy Technical 4 29th October 2009 22:39
ISPConfig virtual web pages not working mike_phi Installation/Configuration 8 7th May 2008 16:51


All times are GMT +2. The time now is 18:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.