I just finished this example for setting up Postfix w/ MySql, etc...
http://genco.gen.tc/postfix_virtual.php#mysqlconf
It appears everything is loaded / compiled. However mail is not working and I think it is because of DNS. Any suggestions would be appreciated.
When I attempt this command I am getting this result.
mind:/usr/local/postfix-2.2.2 # host -t mx hingedmind.com 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:
Host hingedmind.com not found: 2(SERVFAIL)
Logs:
Mail:
Jan 9 01:37:15 mind postfix/qmgr[25251]: E1256155BD: from=<root@mail.hingedmind.com>, size=501, nrcpt=1 (queue active)
Jan 9 01:37:15 mind postfix/pipe[525]: E1256155BD: to=<sapient@hingedmind.com>, relay=maildrop, delay=244376, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Temporary authentication failure. )
Mail Info:
Jan 9 01:37:15 mind postfix/pipe[525]: E1256155BD: to=<sapient@hingedmind.com>, relay=maildrop, delay=244376, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Temporary authentication failure. )
Messages:
Jan 9 02:41:57 mind nmbd[4606]: *****
Jan 9 02:43:04 mind named[29928]: client 127.0.0.1#3520: query: wmail.ccsi.com IN AAAA
Jan 9 02:43:09 mind named[29928]: client 127.0.0.1#3521: query: wmail.ccsi.com IN AAAA
Jan 9 02:44:24 mind master[584]: about to exec /usr/lib/cyrus/bin/ctl_cyrusdb
Jan 9 02:44:24 mind ctl_cyrusdb[584]: checkpointing cyrus databases
Jan 9 02:44:24 mind ctl_cyrusdb[584]: archiving database file: /var/lib/imap/annotations.db
Jan 9 02:44:24 mind ctl_cyrusdb[584]: archiving log file: /var/lib/imap/db/log.0000000001
Jan 9 02:44:24 mind ctl_cyrusdb[584]: archiving database file: /var/lib/imap/mailboxes.db
Jan 9 02:44:24 mind ctl_cyrusdb[584]: archiving log file: /var/lib/imap/db/log.0000000001
Jan 9 02:44:24 mind ctl_cyrusdb[584]: done checkpointing cyrus databases
Jan 9 02:44:24 mind master[26352]: process 584 exited, status 0
Jan 9 02:45:19 mind named[29928]: client 127.0.0.1#3522: query: wmail.ccsi.com IN AAAA
Jan 9 02:45:23 mind named[29928]: client 127.0.0.1#3523: query: wmail.ccsi.com IN AAAA
Jan 9 02:47:33 mind named[29928]: client 127.0.0.1#3524: query: wmail.ccsi.com IN AAAA
Jan 9 02:47:38 mind named[29928]: client 127.0.0.1#3525: query: wmail.ccsi.com IN AAAA
Jan 9 02:49:16 mind named[29928]: client 127.0.0.1#3526: query: wmail.ccsi.com IN AAAA
Jan 9 02:49:21 mind named[29928]: client 127.0.0.1#3527: query: wmail.ccsi.com IN AAAA
My Bind Files:
named.config.include:
include "/etc/named.d/hingedmind.com.conf";
include "/etc/named.d/10.0.0.conf";
hingedmind.com.conf
zone "hingedmind.com" in {
type master;
file "master/hingedmind.com.zone";
# allow-query {any;};
# allow-update { none; };
};
hingedmind.com.zone:
$TTL 14400
@ IN SOA mind.hingedmind.com. Postmaster.hingedmind.com. (
2005030601 ; serial
7200 ; refresh
7200 ; retry
604800 ; expire
86400 ) ; minimum
hingedmind.com. IN NS smtp.hingedmind.com.
hingedmind.com. IN A 10.0.0.10
mail.hingedmind.com. IN A 10.0.0.10
www.hingedmind.com. IN A 10.0.0.10
hingedmind.com. IN MX 5 mail.hingedmind.com.
webmail.hingedmind.com. IN A 10.0.0.10
securewebmail.hingedmind.com. IN A 10.0.0.11
www IN CNAME mind
ftp IN CNAME mind
10.0.0.conf
zone "0.0.10.in-addr.arpa" in {
type master;
file "master/0.0.10.in-addr.arpa.zone";
0.0.10.in-addr.arpa.zone:
$TTL 14400
@ IN SOA mind.hingedmind.com. Postmaster.hingedmind.com. (
1999092901 ; serial
1D ; refresh
2H ; retry
1W ; expiry
2D ) ; minimum
IN NS .hingedmind.com.
1 IN PTR .hingedmind.com.