Prev | Current Page 1280 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"


Macros are expanded and can be used in this argv array. For example:
A=mail -d $u
The A= begins the declaration of the argument array. The program that is specified by the
P= delivery agent equate (/bin/mail) will be executed with an argv of:
argv[0] = "mail"
argv[1] = "-d" ?†? switch means perform final delivery
argv[2] = "fred" ?†? where sendmail macro $u contains fred
The macro value of $u contains the current recipient name or names (?§21.9.96 on page
848). Another sendmail macro that commonly appears in A= fields is $h, the recipient host
(?§21.9.48 on page 825). You are, of course, free to use any sendmail macro you find necessary
as a part of this argv array. Note that $u is special, in that if it is missing, sendmail will
speak SMTP to the delivery agent (?§20.5.2.3 on page 740) or LMTP if the delivery agent
has the F=z flag set (?§20.8.52 on page 783). Also note that any arguments in excess of the
maximum number defined by MAXPV (?§3.4.22 on page 120), usually 40, are silently
ignored.
20.5.2.1 How to define A= with your mc configuration
Under V8 sendmail??™s mc configuration, you can define the A= delivery agent equate using
one of the handy mc macros provided. Withth e local delivery agent, for example, you can
change the A= equate like this:
define(`LOCAL_MAILER_ARGS??, `put.local -l -d $u??)
See the section describing a particular delivery agent to find an appropriate mc macro with
which to redefine the A= for that delivery agent.


Pages:
1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292
zdjęcia ślubne warszawa dieta light życzenia wierszyki Kapitalne mieszkania do wynajęcia Warszawa