Sendmail to Postfix

Rcvd this morning 6-23-03 DH Announcements:
“We are switching from the archaic Sendmail delivery system to Postfix”

Will this affect our cgi and php sendmail settings in our source code? If so, are you employing a global patch or are we supposed to go change our souce code in every one of our scripts?

zentao web design, graphic art and design at

zentao7, Gallery of Artists and Speculative Novel Writers Groups

I doubt it. I’m sure the system will alias your old $path_to_sendmail variables to the new system.

Or at least, let’s hope so … :slight_smile:


Web Developer

The web machines are not being migrated. This announcement only refers to the mail machines – so there’s little chance of any problems with your scripts (perhaps Sage should have been more specific).

We have about 4 web machines that run Postfix; all of the other web machines run generic Debian Sendmail.

There are actually one or two snafus related to switching to Postfix (these would only be a problem if / when we switch the customer web machines over) – the only one I’m aware of is that the Postfix “sendmail” command will fail if there’s an address specified after ‘-t’; the real sendmail won’t fail, but will do different things depending on version…

For example:
aura% /usr/sbin/sendmail -t
sendmail: fatal: cannot handle command-line recipients with -t
aura% /usr/libexec/sendmail/sendmail -t
[ type in headers ].

-t means “specify the headers in the message” - so if postfix were to allow you to specify a recipient address in the command line, it would have to figure out what to do if a recipient was specified here and in the headers (Sendmail does different things in this situation depending on the version).

When we migrated that small cluster over to Postfix, we had one person writing in to complain about this problem, however I don’t think it’s that common.

We also had a couple complaints because /usr/lib/sendmail (as a link to /usr/sbin/sendmail) got removed. While /usr/sbin/sendmail is the path we tell people to use, /usr/lib/sendmail should work as well. If we were to migrate the web machines to Postfix in the future, we would make sure to add this link.

For the record, I’m very excited about this migration - we’ve already moved most of our customers over to the new system, and aside from various migration-related confusion, things seem to be running much more smoothly.

Yep! Postfix really rocks! Much more flexible than Sendmail.



Web Developer