CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Advanced:
Mail accounts



Jan 17, 2000, 10:11 AM

Post #1 of 4 (6370 views)
Mail accounts Can't Post

Is there a way to
add mail accounts
to a UNIX server using perl?


Jan 16, 2000, 11:10 PM

Post #2 of 4 (6370 views)
Re: Mail accounts [In reply to] Can't Post

It sound to me like all you need to do is set up aliases, not actual email accounts. For example say your domain name is '' and Scott signes up for email with you. So you need to be able to have '' go to a certain folder. I believe you can set up a .forward in your home directory. I believe the format is this.
I also believe you can set up a pipe to a script like this |/usr/home/
There may be a way to redirect email to a file but I do not know the format. I honestly am not that familiar with Sendmail. We use Qmail on our servers.
I recommend you take a look at the Sendmail man page.
Sorry I couldn't be more help to you.



Jan 17, 2000, 10:20 AM

Post #3 of 4 (6370 views)
Re: Mail accounts [In reply to] Can't Post


There are about 100 different ways to set up email on a Unix server. The most commen would probably be Sendmail which reads /etc/passwd for it's email accounts but I believe you can make it so it reads a different file. I could probably go on for hours about this topic. Could you possibly give some more information on what you are trying to do?



Jan 17, 2000, 10:40 AM

Post #4 of 4 (6370 views)
Re: Mail accounts [In reply to] Can't Post

I didn't even sendmail could do that.
Basically I just want be able to
add mail accounts from a form.
I can send and check the basic stuff,
but I have no idea about setting
up mail accounts and I can not seem
to find any reference or prevouis
attempts to do this.
All I know is that it's possible because
my host said "It allows it" (that's all the information they'd give me). What I'm trying to do is devolop a hotmail-like service program some of which are listed in perlarchive but cost like $500, mine is a free-source code and I have everything working but creating mail accounts.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives