[rescue] Starting Postfix (was: Building Sendmail 8.13.1)Z

Sheldon T. Hall shel at cmhcsys.com
Sun Sep 19 12:07:15 CDT 2004


 Dan Williams says ...

> Check the alias part of of the main.cf there is an option there to
> check nis maps as well.

I'm not running NIS ...

So I uncommented the following line in /etc/postfix/main.cf:

alias_maps = dbm:/etc/aliases

... and it no longer complains about the aliases DB or tries NIS.

It's still doing a couple of weird things, though.

(1)  If I execute

	echo "test" | mail shel

(where "shel" is a normal user account on this box), it doesn't deliver the
mail locally.  Instead, it looks up the MX for the domain and delivers the
mail there.  I'd much prefer that this gets delivered locally, as it did
with sendmail.

(2)    If I execute

	echo "test" | mail shel at tandem

(where "shel" is a normal user account on this box, and the box is named
"tandem"), and where shel's account on tandem has a .forward file directing
that mail to "shel at rtfm" ... the mail arrives in the proper mailbox on rtfm,
but addresses to "undisclosed recipients":

Received: from tandem.artell.net (tandem [192.168.0.40])
	by rtfm.artell.net (8.9.1b+Sun/8.9.1b) with ESMTP id JAA08330
	for <shel at rtfm.artell.net>; Sun, 19 Sep 2004 09:49:28 -0700 (PDT)
Received: by tandem.artell.net (Postfix)
	id CAB13C36E8; Sun, 19 Sep 2004 09:49:27 -0700 (PDT)
Delivered-To: shel at tandem.artell.net
Received: by tandem.artell.net (Postfix, from userid 0)
	id A7DC4C36E6; Sun, 19 Sep 2004 09:49:27 -0700 (PDT)
Message-Id: <20040919164927.A7DC4C36E6 at tandem.artell.net>
Date: Sun, 19 Sep 2004 09:49:27 -0700 (PDT)
From: root at artell.net (Super-User)
To: undisclosed-recipients: ;
X-UIDL: 6baec67360507ad3dd30a996bff4540c

... which seems odd.  I'd prefer that the addressee information remain
intact. (rtfm is running sendmail, and hasn't been changed in years).

Here are all the uncommented lines in main.cf:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
myorigin = $mydomain
unknown_local_recipient_reject_code = 550
alias_maps = dbm:/etc/aliases
debug_peer_level = 2
debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = /var/sgi_apache/server/share/htdocs/manual/postfix
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = /usr/local/bin/postfix/README

... and most of those got set up by the install procedure.

Thanks for any suggestions.

-Shel



More information about the rescue mailing list