Trying to complete initial setup of postfix.

My box is on a dynamic ip internet connection.
I have a FQDN and DNS forwarding service through no-ip.com.
I am starting with this one domain, and one virtual user.
Thus far, postfix is not receiving mail and when I try send email by
testing with "telnet localhost 25", I receive a "connected" message
but cannot complete transmission of message to an external email
address.

The postfix version is 2.6.1 on Slackware 13.1.

postconf -n:
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = /usr/doc/postfix-2.6.1/html
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/man
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/doc/postfix-2.6.1/README_FILES
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
virtual_gid_maps = static:2000
virtual_mailbox_base = /var/spool/vmailbox
virtual_mailbox_domains = example.com
virtual_mailbox_maps = hash:/etc/postfix/vmaps
virtual_minimum_uid = 100
virtual_uid_maps = static:2000


tcpdump -i eth0 port 25 (demonstrating incoming mail from a gmail
account to the postfix box on eth0 -- provided "zeros" to the ip
address for security):

listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
18:05:16.000223 IP mail-iy0-f180.google.com.60882 >
c-71-000-000-249.hsd1.ct.comcast.net.smtp: Flags [S], seq 2243640472,
win 5720, options [mss 1430,sackOK,TS val 748956439 ecr 0,nop,wscale
6], length 0
18:05:16.000328 IP c-71-000-000-249.hsd1.ct.comcast.net.smtp >
mail-iy0-f180.google.com.60882: Flags [S.], seq 2891381781, ack
2243640473, win 2096, options [mss 536,sackOK,TS val 2828404683 ecr
748956439,nop,wscale 6], length 0
18:05:16.073426 IP mail-iy0-f180.google.com.60882 >
c-71-000-000-249.hsd1.ct.comcast.net.smtp: Flags [.], ack 1, win 90,
options [nop,nop,TS val 748956511 ecr 2828404683], length 0
18:05:40.264808 IP mail-iw0-f180.google.com.46911 >
c-71-000-000-249.hsd1.ct.comcast.net.smtp: Flags [.], ack 443680673,
win 90, options [nop,nop,TS val 624960568 ecr 2828368878], length 0
18:05:40.264891 IP c-71-000-000-249.hsd1.ct.comcast.net.smtp >
mail-iw0-f180.google.com.46911: Flags [.], ack 1, win 33, options
[nop,nop,TS val 2828428947 ecr 624780432], length 0
18:06:01.621471 IP mail-iy0-f180.google.com.50022 >
c-71-000-000-249.hsd1.ct.comcast.net.smtp: Flags [.], ack 1716017503,
win 90, options [nop,nop,TS val 749002060 ecr 2828390236], length 0
18:06:01.621552 IP c-71-000-000-249.hsd1.ct.comcast.net.smtp >
mail-iy0-f180.google.com.50022: Flags [.], ack 1, win 33, options
[nop,nop,TS val 2828450304 ecr 748881991], length 0
18:06:16.086920 IP mail-iy0-f180.google.com.60882 >
c-71-000-000-249.hsd1.ct.comcast.net.smtp: Flags [.], ack 1, win 90,
options [nop,nop,TS val 749016525 ecr 2828404683], length 0
18:06:16.087011 IP c-71-000-000-249.hsd1.ct.comcast.net.smtp >
mail-iy0-f180.google.com.60882: Flags [.], ack 1, win 33, options
[nop,nop,TS val 2828464770 ecr 748956511], length 0
18:06:40.335045 IP mail-iw0-f180.google.com.46911 >
c-71-000-000-249.hsd1.ct.comcast.net.smtp: Flags [.], ack 1, win 90,
options [nop,nop,TS val 625020638 ecr 2828428947], length 0
18:06:40.335125 IP c-71-000-000-249.hsd1.ct.comcast.net.smtp >
mail-iw0-f180.google.com.46911: Flags [.], ack 1, win 33, options
[nop,nop,TS val 2828489018 ecr 624780432], length 0

And here's the /var/log/maillog on the slackware/postfix box:

Apr 17 18:01:28 sato postfix/master[22043]: warning: process
/usr/libexec/postfix/smtpd pid 22105 exit status 1
Apr 17 18:01:28 sato postfix/master[22043]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 17 18:02:28 sato postfix/smtpd[22108]: fatal: open database
/etc/aliases.db: No such file or directory
Apr 17 18:02:29 sato postfix/master[22043]: warning: process
/usr/libexec/postfix/smtpd pid 22108 exit status 1
Apr 17 18:02:29 sato postfix/master[22043]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 17 18:03:29 sato postfix/smtpd[22111]: fatal: open database
/etc/aliases.db: No such file or directory
Apr 17 18:03:30 sato postfix/master[22043]: warning: process
/usr/libexec/postfix/smtpd pid 22111 exit status 1
Apr 17 18:03:30 sato postfix/master[22043]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 17 18:04:30 sato postfix/smtpd[22113]: fatal: open database
/etc/aliases.db: No such file or directory
Apr 17 18:04:31 sato postfix/master[22043]: warning: process
/usr/libexec/postfix/smtpd pid 22113 exit status 1
Apr 17 18:04:31 sato postfix/master[22043]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 17 18:05:31 sato postfix/smtpd[22116]: fatal: open database
/etc/aliases.db: No such file or directory
Apr 17 18:05:32 sato postfix/master[22043]: warning: process
/usr/libexec/postfix/smtpd pid 22116 exit status 1
Apr 17 18:05:32 sato postfix/master[22043]: warning:
/usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 17 18:06:32 sato postfix/smtpd[22118]: fatal: open database
/etc/aliases.db: No such file or directory
Apr 17 18:06:33 sato postfix/master[22043]: warning: process
/usr/libexec/postfix/smtpd pid 22118 exit status 1

I am not using any alias addresses so I have not run the postmap
command for aliases.

And here's what a telnet attempt looks like:

~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

I do not receive the suggested "220 mail.example.com ESMTP Postfix" as
I've seen in other examples.

I have specifically set iptables to accept incoming/outgoing tcp and
udp packets on eth0 port 25.
I can ping the host by manually stating the ip address or by FQDN.

Postfix appears to be listening:  ~# netstat -t -a | grep LISTEN
tcp        0      0 *:smtp                  *:*                     LISTEN

I cannot determine what I have failed to configure.
Your help would be greatly appreciated.
Thank you.

Reply via email to