10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
For preliminaries, I am on a Mac Pro running 10.5. I am trying to run a program that opens an X11 graphic and plots a mesh. The little program is called showme. It has worked just fine in the past. Up until I had to make a new user account on this machine for myself. Now every time I try to... (8 Replies)
Discussion started by: Bocephus85
8 Replies
2. Solaris
Hi
I need to create a new user account in salaries. Can anyone tell me the cmd to create the new user acc. But the main thing is it should same permissions ,same group etc of already existing group.
For example we have already one user in name “comp” so the newly created user should also have... (3 Replies)
Discussion started by: kkalyan
3 Replies
3. UNIX for Dummies Questions & Answers
Hello, : )
I have a remote access to the server that hosts my joomla, and it does not have cpanel.
So I have to do everything manually.
I need to have an FTP account to the httpdocs folder because I need to put these info in the config file of joomla (to allow file uploading ...etc)
So,... (8 Replies)
Discussion started by: Hayatt
8 Replies
4. Solaris
Hi All,
I want to create an user account which can only excute "df -kh" and "prstat -a" command. The user will not be able to perform "rm" and other critical commands.
Is there a way to do it?
rgds,
Ronny (2 Replies)
Discussion started by: ronny_nch
2 Replies
5. Programming
Dear Friend,
I am working on java application which requires that after successful registration an email account is created (say username@mydomain.com) for user. Is is possible to create e-mail account programatically ?
Enviornment - CentOs, Tomcat Web server.
CPanel is available, but... (0 Replies)
Discussion started by: reckless_jack
0 Replies
6. UNIX for Dummies Questions & Answers
Hi
How do I create a new account with a specific group and home directory specified?
TIA (2 Replies)
Discussion started by: domburf69
2 Replies
7. UNIX for Dummies Questions & Answers
:) Hi guis,
I would like to Know how to create a new user account with examples.
I refered some books ,but they r not clear.
Can any body of u provide me a shell script to create a new user account.
any help pls :)
cheers
Ravi Raj Kumar (7 Replies)
Discussion started by: ravi raj kumar
7 Replies
8. UNIX for Dummies Questions & Answers
does any know how I can create more admin login accounts in unix? would there be a file somewhere that would have a list of these accounts?
thanks,
gammaman (3 Replies)
Discussion started by: gammaman
3 Replies
9. UNIX for Dummies Questions & Answers
Dear All,
This is my first post, so greetings to you all! :cool:
I have root access to a UNIX system, yet I would like to be able to create user accounts with special privileges and roles such i.e. a User Manager account a Print Manager Account or even an account with the same roles and... (2 Replies)
Discussion started by: neked
2 Replies
10. UNIX for Advanced & Expert Users
Is there any way of creating a 'catchall' or a default account that all undelivered mail can go to ?
eg if we have 3 user accounts (user1, user2, admin) already set up, but someone sends an email to user3@mydomain.com, can sendmail figure out that it doesn't match any existing users and deliver... (6 Replies)
Discussion started by: captainash
6 Replies
MAKEHOSTEDDOMAINS(8) Double Precision, Inc. MAKEHOSTEDDOMAINS(8)
NAME
makehosteddomains - Build a database of hosted domains
SYNOPSIS
makehosteddomains
DESCRIPTION
makehosteddomains rebuilds the contents of the /etc/courier/hosteddomains.dat database from the contents of /etc/courier/hosteddomains.
This can be either a file or a directory. If it's a directory, the contents of all the files in this directory are simply concatenated. The
makehosteddomains script must be run in order for any changes to /etc/courier/hosteddomains to take effect.
The function of /etc/courier/hosteddomains is very similar to the one of /etc/courier/locals. Both configuration files specify a list of
domains that are considered to be local domains - domains whose mailboxes are stored locally.
The difference is that domains listed in /etc/courier/locals are removed from addresses before their mailbox is looked up. For example, if
the domain "example.com" is listed in /etc/courier/locals, then the address <user@example.com> is delivered to a local mailbox named
"user". If this domain is listed, instead, in /etc/courier/hosteddomains, then the address <user@example.com> is delivered to a local
mailbox named "user@example.com". Usually you would use /etc/courier/locals to specify domains that correspond to your local system
accounts, that are looked up in your system's password database. The /etc/courier/hosteddomains file is usually used when you have
database-based virtual domains, that are maintained via an LDAP or a MySQL server. The Courier mail server's LDAP and MySQL authentication
modules will use the full E-mail address to query the LDAP or MySQL server for the location of the local mailbox that correspond to the
E-mail address. The Courier mail server's authuserdb authentication module can also use full E-mail addresses.
Contents of hosteddomains
The file /etc/courier/hosteddomains simply contains a list of domains, one per line, for example:
domain.com
example.org
Each domain can optionally be followed by a single tab character, in order to specify an alias for a domain, for example:
domain.com
mail.domain.com<TAB>domain.com
example.com<TAB>domain.com
First, we list the domain "domain.com" as a hosted domain. Then, we also list the domain "mail.domain.com", which is an alias for
domain.com. The Courier mail server will take any address of the form <address@mail.domain.com>, rewrite it as <address@domain.com>, and
attempt to deliver the mail to a local mailbox for that name. The third entry does the same for "example.com"; mail addressed to
<address@example.com> is delivered to the local mailbox <address@domain.com>.
alias@hosteddomain
This is a special local mail delivery rule for hosteddomain-listed domains. This rule allows the Courier mail server accept mail to any
address@hosteddomain, where "hosteddomain" is a domain listed in the hosteddomains file, but there is no corresponding account for
address@hosteddomain. To provide delivery instructions for any non-existing address in a hosteddomain-listed domain:
1) Create the local address alias@hosteddomain. For example, if the hosteddomains file contains "example.com", create the local account
alias@example.com. This should be a normal account, with its own home directory, userid and groupid.
2) Create $HOME/.courier-default file in this account, containing the delivery instructions. See the dot-courier(5)[1] manual page for
available delivery instructions.
NOTE that alias@example.com must be a real account, not a mail alias. If you want to forward alias@example.com to another address, put
forwarding instructions in the .courier-default file. However, alias@example.com can be a clone of another account (with the same home
directory, userid, and groupid).
"WILDCARD DNS"
Wildcard DNS is supported for hosteddomains by placing a single period character before the domain name. For example, the hosted domain
entry ".domain.com" will cause the Courier mail server to accept mail for "anything.domain.com".
The Courier mail server will accept mail for <address@any.thing.domain.com> and attempt to deliver it to the local mailbox
<address@any.thing.domain.com>, and if that fails then attempt to deliver the mail to the local mailbox <address@.thing.domain.com>, then
finally <address@.domain.com>
Note
There is a period after the '@' character. If you want all mail for "any.thing.domain.com" to be delivered as though it were sent to
"domain.com", you should define an alias for the domain, for example:
domain.com
.domain.com<TAB>domain.com
SEE ALSO
esmtpd(8)[2].
AUTHOR
Sam Varshavchik
Author
NOTES
1. dot-courier(5)
[set $man.base.url.for.relative.links]/dot-courier.html
2. esmtpd(8)
[set $man.base.url.for.relative.links]/esmtpd.html
Courier Mail Server 08/30/2011 MAKEHOSTEDDOMAINS(8)