Results 1 to 3 of 3

Thread: Default SMTP server [Ubuntu, Apache]

  1. #1
    Join Date
    Jan 2009
    Posts
    66

    Default SMTP server [Ubuntu, Apache]

    hi
    If I install Windows WAMP5, I choose the default php.ini setting smtp provider. All mail that I send with php is sent through the specified php.ini smtp provider

    Is there something in the Apache Linux? I try now to send my mail, but that's just not natural, because I first have to give an SMTP.
    what would be easiest if I just can configure 1x in one. Conf file or else?

  2. #2
    Join Date
    Jan 2006
    Posts
    4,221

    Re: Default SMTP server [Ubuntu, Apache]

    hi
    to send mail Php default local host ,the simplest is in order to install Postfix and configure it so the mail relay from your provider.

    use Just in main.cf

    Code:
    1 relayhosts = [smtp.provider.ergens] relay hosts = [smtp.provider.ergens]

    It is much easier than it seems. Just always be careful that you do not open mail relay, that can be prevented by:

    Code:
    1 mynetworks = 192.168.0.0/24 mynetwork = 192.168.0.0/24

    So that only mail from your home network can be sent.

  3. #3
    Join Date
    May 2008
    Posts
    2,945

    Re: Default SMTP server [Ubuntu, Apache]

    Self just double checked. This is in the php.ini on my debian installation:

    code:


    When I look I see that php on Unix / Linux standard (which also sendmail installed under the bonnet, if it is his own version of sendmail ..) used to send mail. . On Windows I can configure the host + port. How is this exactly? . I am also curious about it as the web admin.

Similar Threads

  1. Setup Apache Web Server and File Server on Windows
    By Rudra.J in forum Guides & Tutorials
    Replies: 1
    Last Post: 11-05-2011, 09:09 AM
  2. Apache web server with windows
    By Mishraji in forum Networking & Security
    Replies: 5
    Last Post: 10-11-2010, 02:37 AM
  3. How to install Apache server
    By Dodge in forum Windows Software
    Replies: 5
    Last Post: 14-10-2008, 02:46 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,200,096.66032 seconds with 16 queries