On Wednesday 12 March 2003 15:11, Todd Lyons wrote: > tarvid wrote on Wed, Mar 12, 2003 at 02:38:48PM -0500 : > > There are two Mandrake changes to which I object: > > inet_interfaces = localhost > > mailbox_command = /usr/bin/procmail -Y -a $DOMAIN > > They both break postfix and they are both unnecessary. > > Postfix will not run without hostname and domainname. > > There are not configured in /etc/sysconfig/network by default. > > [EMAIL PROTECTED] root]# cat /etc/hosts > 127.0.0.1 localhost > [EMAIL PROTECTED] root]# cat /etc/sysconfig/network > NETWORKING=yes > GATEWAY=192.168.3.1 > [EMAIL PROTECTED] root]# service postfix start > Starting postfix: [ OK ] > > I don't get what you're complaining about. I even completely disabled > dns lookups (nothing in resolv.conf) and it still starts up just fine. > I think we need to know a little bit more about: > 1) Your particular situation and what causes it to break. > 2) What other common configurations users will likely put it in such > that it won't start up. > > Blue skies... Todd
The problem with localhost as a hostname Mar 10 09:10:16 localhost postfix/pickup[3245]: warning: My hostname localhost is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf I do network installs and set the hostname, domainname and ip during the install. The hostname and domainname are lost after reboot and you have to configure them. Usually you will add or modify dns servers postinstall and resolv.conf will change. Then you will get: Mar 11 11:33:01 localhost postfix/postfix-script: warning: /var/spool/postfix/etc/resolv.con f and /etc/resolv.conf differ Mar 11 11:08:32 localhost postfix/postfix-script: warning: /var/spool/postfix/etc/hosts and /etc/hosts differ I took careful contemporaneous notes this time since I have several more to do. And if you don't want postfix listening on eth0 why not cripple httpd and let it only listen on localhost too. Lets do courier and imap and dns while we are at it. The localhost issue is a Mandrake issue, not a postfix issue. You are correct - postfix runs out of the box and will forward messages (ala sendmail). But it is dysfunctional compared to a tarball install and will not receive messages. Perhaps if it were more functional than a tarball install (an issue I had with netsaint in the past) the changes would be justified. Jim Tarvid That is
