Views:

Procedure

  1. Copy the /var/spool/mqueue queue directory and rename it /var/spool/mqueue1 for Sendmail #2.
    # cp -pr /var/spool/mqueue /var/spool/mqueue1
  2. In the sendmail.d.mc file, add the following statements before MAILER(smtp)dnl:
    define(`QUEUE_DIR', `/var/spool/mqueue1')dnl
    define(`confPID_FILE', `/var/run/sendmail_delivery.pid')dnl
    
  3. Change the existing DAEMON_OPTIONS setting in the sendmail.d.mc file into the following to receive SMTP requests from IMSS:
    DAEMON_OPTIONS(`Port=10026, Addr=127.0.0.1, Name=MTA_DELIVERY')dnl
  4. Run the following command for the sendmail.cf.delivery file to take effect:
    # m4 /etc/mail/sendmail.d.mc > /etc/mail/sendmail.cf.delivery