Create new smtp users from our own script

Discussion in 'Site & Server Administration' started by gaurav_, Aug 19, 2012.

  1. #1
    hi all
    im just wondering is it possible to create new SMTP users from our own PHP script in windows or linux?

    and how?

    i spent lots of time on google but could not find answer :-(
     
    gaurav_, Aug 19, 2012 IP
  2. Ray Baron

    Ray Baron Member

    Messages:
    148
    Likes Received:
    10
    Best Answers:
    3
    Trophy Points:
    43
    #2
    I don't know about Windoze, but it is certainly possible to do that in Linux. But I have to ask, why would you want to? Much easier for a system admin would be to write a bash script.
     
    Ray Baron, Aug 20, 2012 IP
  3. gaurav_

    gaurav_ Member

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    we want to create smtp service providing website to our user.
     
    gaurav_, Aug 20, 2012 IP
  4. Ray Baron

    Ray Baron Member

    Messages:
    148
    Likes Received:
    10
    Best Answers:
    3
    Trophy Points:
    43
    #4
    I always hate to reinvent the wheel. Why not just install something like SquirrelMail which supports SMTP, IMAP as wella s webmail?
     
    Ray Baron, Aug 20, 2012 IP
  5. gaurav_

    gaurav_ Member

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    we want user to provide smtp service from our server ti be used into any smto software.

    so users will create an smtp account in our site and then they enter information like below into their email sending software.

    smtp.server.com:25
    username
    password

    this is what we want
     
    gaurav_, Aug 20, 2012 IP