Skip to content

Tag Archives: sendmail

Using Sendmail Maps on Solaris

26-Feb-10

Configure ‘/usr/lib/mail/cf/sendmail.mc’ to meet your needs; for example, to use the access_db and mailertable features:
divert(0)dnl
VERSIONID(`@(#)sendmail.mc 1.11 (Sun) 06/21/04′)
OSTYPE(`solaris8′)dnl
DOMAIN(`generic’)dnl
FEATURE(access_db, `hash -o -T /etc/mail/access’)
FEATURE(mailertable, `hash -o /etc/mail/mailertable’)
MAILER(`local’)dnl
MAILER(`smtp’)dnl

The new ’sendmail.cf’ can be built in ‘/usr/lib/mail/cf/sendmail.mc’ by running ‘make’ as root. Copy the new ’sendmail.cf’ file to ‘/etc/mail’ and restart sendmail by running:
# svcadm [...]

Flush Postfix’s Mail Queue

29-Apr-09

Sendmail has:

sendmail -q

The Postfix equivalent is:

postqueue -f