10 sendmail, it is possible to delete from, add to, and modify delivery
agent flags witha single command. The MODIFY_MAILER_FLAGS command is used like
this:
MODIFY_MAILER_FLAGS(`which??, `change??)
Here, which is the first part (up to the underscore) of any of the _MAILER_FLAGS shown
for the various delivery agents, beginning in ?§20.4 on page 716. That is, name_MAILER_
FLAGS, for example, could be SMTP_MAILER_FLAGS, thus causing which to become
SMTP. This name is case-sensitive and must match the case of the _MAILER_FLAGS you
use (SMTP and LOCAL will work, but smtp and local will not).
Thus, to add an F=% to the smtp8 delivery agent, you could use this command:
MODIFY_MAILER_FLAGS(`SMTP??, `+%??)
But be aware that this modifies all the delivery agents that are associated with the SMTP_
MAILER_FLAGS mc configuration macro, not just the smtp8 delivery agent.
You can also use MODIFY_MAILER_FLAGS to remove delivery agent flags by prefixing
the change with a minus character:
MODIFY_MAILER_FLAGS(`RELAY??, `-a??)
Here, the intention is to remove ESMTP support from the relay delivery agent.
The MODIFY_MAILER_FLAGS command can also be used to totally replace all a delivery
agent??™s delivery agent flags with a whole new set. To replace, just omit the plus or minus
from the front of change:
MODIFY_MAILER_FLAGS(`SMTP??, `mDFMuXa8??)
Here, all the delivery agents associated with the SMTP_MAILER_FLAGS mc configuration
macro will have their delivery agent flags set to the common set mDFMuXa8.
Pages:
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304