sendmail account setup

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Shelly

    sendmail account setup

    I want to be able to create a sendmail account by commands sent from a web
    page. I am using php. After everything is done, I want to enter his info
    into the database (easy) and create this sendmail account. Can anyone give
    me pointers to explanations/excamples? I have done a quick search on the
    web, but haven't turned up anything. In addition, I do NOT want to create a
    regular user account on the server -- only a sendmail account.

    Shelly


  • Jerry Stuckle

    #2
    Re: sendmail account setup

    Shelly wrote:[color=blue]
    > I want to be able to create a sendmail account by commands sent from a web
    > page. I am using php. After everything is done, I want to enter his info
    > into the database (easy) and create this sendmail account. Can anyone give
    > me pointers to explanations/excamples? I have done a quick search on the
    > web, but haven't turned up anything. In addition, I do NOT want to create a
    > regular user account on the server -- only a sendmail account.
    >
    > Shelly
    >
    >[/color]

    Shelly,

    It depends entirely on how sendmail validates users.

    The default under unix is to use the UNIX accounts. So to create a
    sendmail account you would have to create a user account.

    It also depends on which MTA you're using. For instance, I use exim
    instead of sendmail. I have set Exim up to handle email accounts
    through a MySQL database instead of the system. The result is to add an
    account all I have to do is insert a row in a MySQL table.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    Working...