Prev | Current Page 1285 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

Sucha daemon might be best designed to listen for inbound email on
a Unix domain socket, and to receive that mail with the LMTP protocol. Should such a
daemon exist, you could tie sendmail into it with a simple setup such as this:
define(`confLOCAL_MAILER??, `dbd??)
MAILER_DEFINITIONS
Mdbd, P=[IPC], F=lsDFMmnqSXzA5@/:|,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/SMTP, A=FILE /var/run/dbd
Here, in our mc configuration file, we declare that the dbd delivery agent will become our
preference for all local delivery by defining the confLOCAL_MAILER mc configuration macro
(?§20.3.1.3 on page 714).
* When $u is used as part of a UUCP delivery agent??™s A= array, it should be parenthesized. This is what the
uux(1) program expects.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
20.5 Delivery Agent Equates | 741
Then, under MAILER_DEFINITIONS, we define the new dbd delivery agent. Its P= is
defined as [IPC], which tells sendmail that delivery will be over a socket connection. The
FILE following the A= tells sendmail that the socket will be a Unix domain socket. The /var/
run/dbd path is the full pathname of the Unix domain socket. If the socket does not exist,
delivery will fail.*
The F=l delivery agent flag (?§20.8.33 on page 774) tells sendmail that this delivery agent
handles final, local delivery.


Pages:
1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297
tworzenie stron internetowych skarżysko kamienna pit 37 druk v-brake Spa Ciechocinek quady