Lyris User's Guide
[previous] [next] [contents]
Lyris forwards to Sendmail
Table of Contents
Lyris Email Commands
Web Interface for Users
Server Administrator
Site Administrator
List Administrator
Other Topics
Add-On Packages
Installing and Upgrading
Installing Lyris
Installing Lyris on Unix
Mail Server Coexistence
Having Sendmail coexist with Lyris
Use two TCP/IP addresses
Sendmail forwards to Lyris
Lyris forwards to Sendmail
Disable Sendmail
Having Post.Office coexist with Lyris
Having Qmail coexist with Lyris
Having MetaInfo sendmail coexist with Lyris
Having Netscape Mail Server coexist with Lyris
Having Notes / Domino Coexist with Lyris
Having NTMail Coexist with Lyris
Having Microsoft Exchange Coexist With Lyris
Having AltaVista Mail Coexist with Lyris
Upgrading to Lyris from Another List Server
Frequently Asked Questions

Lyris forwards to Sendmail

Move sendmail to an alternate port, and inform Lyris to forward non-Lyris bound mail to sendmail.

The advantage of this approach is that it is very easy to implement. The disadvantage is that it establishes a dependency of sendmail on Lyris, so it is less reliable.

Please note that we do not recommend that you use Lyris as a general purpose mail relay host for relaying outbound mail to the Internet. Lyris is not optimized for this use, and Lyris' ability to act as a "virtual server" can make successful relaying complicated. If you need a relay host on your machine, we recommend that you run sendmail and Lyris on separate TCP/IP addresses, or configure sendmail to forward to Lyris, leaving sendmail on port 25.

To move sendmail to another port, such as port 26, add this line to your /etc/mail/ file:


This option is explained in the "Options" chapter of the O'Reilly sendmail book.

You can then install Lyris. Once you have installed Lyris, you need to tell Lyris to forward non-Lyris mail to sendmail. You can do this from the web interface "Server configuration" page, or with the "forward" command line parameter. For example:

    lyris forward 26

Lyris will validate your forward rule and reply with "Checking forwarding rule: 26" and then "Successfully updated forwarding rule." This example forwarding command tells Lyris to forward non-Lyris mail to port 26 on the local machine ("localhost"). If no SMTP server is running on that TCP/IP / port combination, Lyris will not save your forwarding rule.

Other pages which link to this page:
  • Having Sendmail coexist with Lyris
  • Page 472 of 556