Hello,
I now I have Zimbra setup on one domain, where I eventually would like to have it host separate email accounts on different domains on the same server. I can currently receive email, but when I send it I get the postfix "Subject:Undelivered Mail Returned to Sender" message.
I can access the user (obviously since I can receive email) and admin pages.
I'm close, please help!
Here is my /etc/hosts file:
Code:
127.0.0.1 localhost.localdomain localhost
74.53.2xx.237 mail.mydomain.com mail
74.53.2xx.237 ns.mydomain.com ns
Code:
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; rndc-key; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "mydomain.com" IN {
type master;
file "mydomain.com.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" I$
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
file "named.zero";
allow-update { none; };
};
include "/etc/rndc.key";
key rndc-key {
algorithm hmac-md5;
secret "GznWLTw3iUePdgvlLshEOw==";
};
This is my /var/named/chroot/var/named/mydomain.com.zone
Code:
@ IN SOA mail.mydomain.com. mail.mydomain.com. (
2005110201
8H
2H
4W
1D )
@ IN NS mail.mydomain.com
IN MX 10 mail.mydomain.com
IN A 74.53.2xx.237
mail IN A 74.53.2xx.237
www IN A 74.53.2xx.236
NS mail ; Inet Address of name server
MX 10 mail.mydomain.com ; Primary Mail Exchanger
I'm thinking my Hello,
I now I have Zimbra setup on one domain, where I eventually would like to have it host separate email accounts on different domains on the same server. I can currently receive email, but when I send it I get the postfix "Subject:
Undelivered Mail Returned to Sender" message.
Here is my /etc/hosts file:
Code:
127.0.0.1 localhost.localdomain localhost
74.53.2xx.237 mail.mydomain.com mail
74.53.2xx.237 ns.mydomain.com ns
Code:
//
// named.conf for Red Hat caching-nameserver
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};
//
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; rndc-key; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localdomain" IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "mydomain.com" IN {
type master;
file "mydomain.com.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" I$
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa" IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
file "named.zero";
allow-update { none; };
};
include "/etc/rndc.key";
key rndc-key {
algorithm hmac-md5;
secret "GznWLTw3iUePdgvlLshEOw==";
};
This is my /var/named/chroot/var/named/mydomain.com.zone
Code:
@ IN SOA mail.mydomain.com. mail.mydomain.com. (
2005110201
8H
2H
4W
1D )
@ IN NS mail.mydomain.com
IN MX 10 mail.mydomain.com
IN A 74.53.2xx.237
mail IN A 74.53.2xx.237
www IN A 74.53.2xx.236
NS mail ; Inet Address of name server
MX 10 mail.mydomain.com ; Primary Mail Exchanger
What is my next step? It would be nice to have everything configured with at least two domains setup by this weekend.
Thank You,
A.