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 15th August 2012, 13:09
(O)fer_cz (O)fer_cz is offline
Junior Member
 
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default php mail () with multiserver setup

Hi,
Im using multiserver setup with Debian 6 squeeze according to this guide http://www.howtoforge.com/installing...th-ispconfig-3

On my web server, I have some Presta shops etc and I need them to send mails via php mail () function.
My mail server is running, what changes do I need to do if I wanna use mail ()?

Reconfigure exim with this guide http://www.howtoforge.com/exim-authenticated-smarthost ?
__________________
IBM Server x3550 797841G, VMWare ESXi 5, Debian 6 Squeeze, ISPConfig 3, multi-server setup
Reply With Quote
Sponsored Links
  #2  
Old 15th August 2012, 14:49
Pida Pida is offline
Junior Member
 
Join Date: May 2012
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Hi,
you may talk about sender of these emails that is something like web42@app1.server.com.
Or I've installed SSMTP or you can configure sending emails using SMTP server and user in PrestaShop admin.

Code:
apt-get install ssmtp
With ssmtp package you must to change sendmail_path to
Code:
/usr/sbin/ssmtp -t
And there is a my configuration of /etc/ssmtp/ssmtp.conf
Code:
root=postmaster
hostname={hostname_of_app_server}
mailhub={smtp_server}:25
AuthMethod=LOGIN
AuthUser={smtp_user_name}
AuthPass={smtp_user_pass}
UseSTARTTLS=yes
UseTLS=no
Reply With Quote
  #3  
Old 20th August 2012, 16:23
(O)fer_cz (O)fer_cz is offline
Junior Member
 
Join Date: Sep 2011
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

thanks for help, sorry for late answer

its working but emails are send from address set in config (info@example.com), any tips how to send them from address which is /for example presta/ running on (info@myshop.com)?
__________________
IBM Server x3550 797841G, VMWare ESXi 5, Debian 6 Squeeze, ISPConfig 3, multi-server setup
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
Multiserver setup: repquota command not found. CSsab Installation/Configuration 2 27th January 2011 15:11
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
Postfix + postfixadmin = SMTP errors... Rashef Server Operation 4 25th June 2009 16:12
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06


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


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