Mike wrote:
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):
In your case, tcpdump output illuminates nothing about the problem.
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
Fix this.
I am not using any alias addresses so I have not run the postmap command for aliases.
Well, Postfix it looking for the file, as it is configured to do. You do not postmap this file, but instead update it with 'newaliases'. See postconf(5) for more details.
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.
This is expected behavior until you fix the issue noted in your log.
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.
Irrelevant. -- Sahil Tandon <sa...@freebsd.org>