From: Michael Schneider (lists@calispera.com)
Date: Wed Nov 26 2003 - 15:17:06 EST
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@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:34 EDT