Sendmail hackery

  • sendmail -q

    run the queue

  • sendmail -bt

    test mode

  • To force the usage of the correct default domain part (ie. not for masquerading, but for exposed users, etc.) ensure to put

    define(`confDOMAIN_NAME', `mail.example.com')dnl

    into both of submit.mc and sendmail.mc.

  • The aliases.db database file is a BerkeleyDB hash file where the keys are the alias names with a terminating null character. If you are using a standard BerkeleyDB client to query this file then you will need to append the null character to the key explicitly. Note that this is not sendmail-specific.


Back to the main page