Category: Sendmail

  • mail queue for sendmail

    To display the mail queue for sendmail use this command: # sendmail -bp

  • Mail relay host in sendmail

    I wanted sendmail on my Ubuntu server to relay all outgoing e-mails to one specific server, this is what i did. Install sendmail # sudo aptitude install sendmail -y Confiure sendmail # sudo nano /etc/mail/sendmail.cf Edit the “Smart” relay host. DSmyrelayserver.domain.com Restart sendmail # sudo /etc/init.d/sendmail restart