usenet

Deliver through inews V8.4 and later

The usenet delivery agent is used to post messages to Usenet newsgroups by means of the inews program. It is declared like this:

MAILER(`local')       ← define first
MAILER(`usenet')      ← define second

Note that the local delivery agent must be defined before you can define usenet. The preceding declaration causes any mail addresses that end in a literal .usenet to be sent via this delivery agent. This works for addresses that end in .usenet, and addresses that end in .usenet@$=w where the class $=w ($=w on page 876) contains all the names of the hosts that represent the local machine.

The user portion of the address that precedes the .usenet should be the name of the newsgroup to which you are posting, such as comp.mail.sendmail.usenet. The usenet delivery agent calls the inews program to deliver the posting to that newsgroup.

The defaults for the usenet delivery agent are shown in Table 20-15, along with the mc configuration macros used to alter those defaults.

Table 20-15. Defaults for the usenet delivery agent

Macro

§

Default

USENET_MAILER_ARGS

How to define A= with your mc configuration on page 738

A=inews -m -h -n $u

USENET_MAILER_FLAGS

Delivery Agent F= Flags on page 759

F=rsDFMmn

USENET_MAILER_MAX

M= on page 746

No M= default

USENET_MAILER_PATH

Modify P= using an mc configuration macro on page 750

P=/usr/lib/news/inews

None

R= on page 751

R=EnvToL

None

S= on page 753

S=EnvFromL

None

T= on page 754

T=X-Usenet/X-Usenet/X-Unix ...

Get sendmail, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.