SUMMARY: sendmail`s ETRN functionality and forcing queueing for a domain
Michael Schneider
lists at calispera.com
Wed Nov 26 15:17:06 EST 2003
Thanks to all that replied to my inquiry about ETRN and queue:
R A Lichtensteiger, King, Brooke, David Sullivan
1.st Solution
First, make sure your sendmail is new enough to have the "dsmtp" mailer
defined in the .cf file as well as knowing how to play with the mailertable
file. Just grep sendmail.cf for "^Mdsmtp" and "^Kmailertable"
Then add the domain you want to delay to the /etc/mail/mailertable
file, like this:
dom.ain dsmtp:
2.nd Solution
You could deliver the messages to a queue that has no automated queue
runners, that is,
no -q option on the daemon.
3.rd Solution
So, the first step is to modify your sendmail.mc (or direct to
the .cf if you want) to have the new mailer. Add the following
to sendmail.mc: (everything from Mqsmtp is a single line.)
FEATURE(mailertable)
define(`confCON_EXPENSIVE', `true')
# expensive mailer for dialup connections
Mqsmtp, P=[IPC], F=CONCAT(emDFMuXa, SMTP_MAILER_FLAGS),
S=11/31, R=21, E=\r\n, L=990, A=TCP $h
Then, use the mailertable to tell sendmail which domains use
which mailer. Foreach domain that uses ETRN, add an entry that
looks like:
host.domain qsmtp:[realhost.domain]
You can then check via the sendmail -bv command.
and Alan Pae
send me hundreds of Solaris links
Sun Country http://www.geocities.com/paedalbu
Mirror site http://resources.solaris-x86.org
Thanks for your help!
--
Michael Schneider
_______________________________________________
sunmanagers mailing list
sunmanagers at sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
More information about the summaries
mailing list