Create POP 3 Account via Shell


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Create POP 3 Account via Shell
# 1  
Old 01-17-2006
Create POP 3 Account via Shell

This may be so simple that I am overlooking it somewhere, but search as I may, I cannot find an answer anywhere!

I am running a Linux box with sendmail and many different virtual domains. I cannot however, figure out how to setup a pop3 account for a specific domain.

For example, I have a domain, test.com - via my host providers control panel, I can setup all the email accounts you could hope for, I need to figure out how to setup an email account for test.com command line. (In the end it will be used in a PHP script, but this is the starting point anyhow...)

I have root access and all that jazz to the server. I have tried doing it straight with adduser - but of course, when I sent to "user@test.com" it just gets returned, tho that user exists on the server, there is nothing that determines "user" should get mail from "user@test.com"

Not sure if I am making a mountain out of a molehill here, but I was looking for a simple command line way to do this, NON interactive, so a one line shell command or something of the like.

Any info, suggestions, links, would be much appreciated Smilie

Thanks!

Mike
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Create a shell script to gather user account information and displays the result to administrator

I want to create a shell script to gather user account information and displays the result to administrator. I have created a script but its showing all the information when i search for username like: amit@mx:~$ ./uinfo.sh amit Username : amit User Info ... (2 Replies)
Discussion started by: amit1986
2 Replies

2. AIX

Create another root account

Hi I would like to create another root account, for example root2. I added a new user named root2 and set it's uid and gid ( in /etc/passwd ) to 0. Then I logged in ( account root2 ) and the server asked to change the password, so I changed. And the problem happend. The password of both root... (15 Replies)
Discussion started by: bobochacha29
15 Replies

3. Solaris

Help me create new user account

I want create user. That user should be login to any server without asking password. How? tell me in detail. :wall: (3 Replies)
Discussion started by: Navkreddy
3 Replies

4. Solaris

Create sft account in unix

How to create sftp account in UNIX end. Anyone guide me on this. (2 Replies)
Discussion started by: vijill
2 Replies

5. Shell Programming and Scripting

Create new user account and password in shell script

I am trying to create a shell script that will: check if a specific user already exists if not, create a specific group and create the user in that group assign a password to that user, where the password is passed in as a parameter to the script The problem that I need help with is 3 on... (4 Replies)
Discussion started by: killuane
4 Replies

6. UNIX for Dummies Questions & Answers

Create a unix account

Hi, Please could some advise how to create a unix account, from the root account. thanks you (2 Replies)
Discussion started by: venhart
2 Replies

7. UNIX for Dummies Questions & Answers

How to create an account on UNIX-server

How can i create an account on my UNIX-server? 1. The files, can't be deleted by that person. (or better: he can only delete his own upped files, or can delete files, but can't see mine) 2. He can upload files. 3. I can delete and see everything. Hope you guys can help me. B.T.W. nice... (1 Reply)
Discussion started by: SEC
1 Replies

8. Shell Programming and Scripting

Add POP Account Script (newbie)

Hi All, I am thinking about getting a dedicated server and would like to be able to add pop mail accounts automatically without my intervention. In other words, when someone fills out a form for a POP mail account, the information is sent to a script on the site and sets up their account... (2 Replies)
Discussion started by: bnmwebmaster
2 Replies
Login or Register to Ask a Question
asadmin-list-domains(1AS)					   User Commands					 asadmin-list-domains(1AS)

NAME
asadmin-list-domains, list-domains - lists the domains in the given domains directory SYNOPSIS
list-domains [--domaindir install_dir/domains] [--terse=false] [--echo=false] list-domains lists the domains in the given domains directory. This command is supported in local mode only. OPTIONS
--domaindir directory where the domains are located. If specified, path must be accessible in the filesystem. If not specified, the domains in the default install_dir/domains directory are listed. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. --echo setting to true will echo the command line statement on the standard output. Example 1: Using list-domains asadmin> list-domains List of domains: domain1 running samples not running Where: the domain1 and samples are listed and their status printed. EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-create-domain(1AS), asadmin-delete-domain(1AS), asadmin-start-domain(1AS), asadmin-stop-domain(1AS) J2EE 1.4 SDK March 2004 asadmin-list-domains(1AS)