Could someone please share some thoughts on how to set up the /etc/hosts and /etc/aliases? This is tough to set up due to the poorly written manual.
james Tanit wrote:
Could someone please share some thoughts on how to set up the /etc/hosts and /etc/aliases? This is tough to set up due to the poorly written manual.
under normal circumstances, /etc/hosts should have only two entries. the exception to this may be if you're using NFS, then hosts should have any NFS clients and servers names (unless you do your NFS mounts by IP address, something I don't really recommend).
127.0.0.1 localhost localhost.localdomain xxx.yyy.zzz.www hostname hostname.domainname.com
/etc/aliases would contain any email aliases you want, for instance, if you want all mail to root to go to local account jamest...
root: jamest
there's usually a bunch of sorta stock aliases, like postmaster, etc, these usually go to root, which in turn you forward to whomever.
Thanks. . I thought all emails to root will be assassinated. Now my question is that each time you created a list. Do you have to add it to the aliases? I thought mailman's web interface would handle that automatically for you.
"/etc/aliases would contain any email aliases you want, for instance, if you want all mail to root to go to local account jamest...
root: jamest"
--- On Sun, 2/7/10, John R Pierce pierce@hogranch.com wrote:
From: John R Pierce pierce@hogranch.com Subject: Re: [CentOS] Exim installation on CentOS To: "CentOS mailing list" centos@centos.org Date: Sunday, February 7, 2010, 4:21 PM james Tanit wrote:
Could someone please share some thoughts on how to set
up the /etc/hosts and /etc/aliases? This is tough to set up due to the poorly written manual.
under normal circumstances, /etc/hosts should have only two entries. the exception to this may be if you're using NFS, then hosts should have any NFS clients and servers names (unless you do your NFS mounts by IP address, something I don't really recommend).
127.0.0.1 localhost localhost.localdomain xxx.yyy.zzz.www hostname hostname.domainname.com
/etc/aliases would contain any email aliases you want, for instance, if you want all mail to root to go to local account jamest...
root: jamest
there's usually a bunch of sorta stock aliases, like postmaster, etc, these usually go to root, which in turn you forward to whomever.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
james Tanit wrote:
Thanks. . I thought all emails to root will be assassinated. Now my question is that each time you created a list. Do you have to add it to the aliases? I thought mailman's web interface would handle that automatically for you.
mailman is a list manager, you didn't say anything about that before. yes, when you create a new list in mailman, it gives you a block of lines you add to aliases before you continue.
I've only ever used a command line interface for creating a new mailman list. you can use the web interface for managing a list after its created.
# sudo -u mailman /usr/lib/mailman/bin/newlist mylist@mydomain.com
(that path being where the mailman utils are installed via the CentOS RPMs...) and answer a few questions, paste what it says into the aliases file, etc.
i used exim, it seems that no aliases are prompted.
But I have mailman_virtual_router instead of mailman_router
--- On Sun, 2/7/10, John R Pierce pierce@hogranch.com wrote:
From: John R Pierce pierce@hogranch.com Subject: Re: [CentOS] Exim installation on CentOS To: "CentOS mailing list" centos@centos.org Date: Sunday, February 7, 2010, 10:36 PM james Tanit wrote:
Thanks. . I thought all emails to root will be assassinated. Now
my question is that each time you created a list. Do you have to add it to the aliases? I thought mailman's web interface would handle that automatically for you.
mailman is a list manager, you didn't say anything about that before. yes, when you create a new list in mailman, it gives you a block of lines you add to aliases before you continue.
I've only ever used a command line interface for creating a new mailman list. you can use the web interface for managing a list after its created.
# sudo -u mailman /usr/lib/mailman/bin/newlist mylist@mydomain.com
(that path being where the mailman utils are installed via the CentOS RPMs...) and answer a few questions, paste what it says into the aliases file, etc.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
James Tanit wrote on Sun, 7 Feb 2010 13:09:11 -0800 (PST):
Could someone please share some thoughts on how to set up the /etc/hosts and /etc/aliases? This is tough to set up due to the poorly written manual.
If you do not know Exim and it is poorly documented (just repeating your words, I don't know if that is true) - why do you want to use it then? It's not the default MTA on CentOS.
Kai
On Mon, 2010-02-08 at 11:31 +0100, Kai Schaetzl wrote:
James Tanit wrote on Sun, 7 Feb 2010 13:09:11 -0800 (PST):
Could someone please share some thoughts on how to set up the /etc/hosts and /etc/aliases? This is tough to set up due to the poorly written manual.
If you do not know Exim and it is poorly documented (just repeating your words, I don't know if that is true) - why do you want to use it then? It's not the default MTA on CentOS.
I think quite a few people would disagree about the 'poorly written manual'. Exim is cited as being one of the better MTA projects because of its extensive documentation - over 400 pages in the specification, of varying formats, as well as two (as far as I remember) printed books.
John.
I think quite a few people would disagree about the 'poorly written manual'.
I'm happy to believe that. However, then the more one has to question his intent as he apparently doesn't know this MTA, but also can't cope with the documentation. Then he should use something he's more familiar with instead of going a non-default route.
Kai
I didn't say that EXIM doc is poorly written though. I am saying the mailman is. I read through it. For exim, is the default on the machine. I may need to use sth. else. I hate the lousy cPanel
--- On Mon, 2/8/10, Kai Schaetzl maillists@conactive.com wrote:
From: Kai Schaetzl maillists@conactive.com Subject: Re: [CentOS] Exim installation on CentOS To: centos@centos.org Date: Monday, February 8, 2010, 4:31 AM James Tanit wrote on Sun, 7 Feb 2010 13:09:11 -0800 (PST):
Could someone please share some thoughts on how to set
up the /etc/hosts
and /etc/aliases? This is tough to set up due to the
poorly written
manual.
If you do not know Exim and it is poorly documented (just repeating your words, I don't know if that is true) - why do you want to use it then? It's not the default MTA on CentOS.
Kai
-- Get your web at Conactive Internet Services: http://www.conactive.com
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos