Skip to main content

2. Physical delivery of the DISTRIBUTE request

The distribution request is delivered via SMTP to the e-mail address obtained in step 1 (for instance, [email protected]). In fact, as long as you can somehow get mail to the server's host, you can use the service; SMTP is just the most convenient way of doing so.

2.1. Contents of MAIL FROM: field​

You should set the MAIL FROM: field to the address of the person who maintains your mailing list or, generally speaking, to the address of a human being who can take action in case the message fails to reach the DISTRIBUTE server's host. This is a very rare occurrence.

2.2. Contents of RCPT TO: field​

The RCPT TO: field points to the server's address (for instance, [email protected]).

2.3. Contents of the RFC822 header​

After the DATA instruction, you must supply a valid RFC822 header with a "From:" field pointing to the mailbox that should receive notification of delivery problems, bounced mail, and so on. This can be the same as the MAIL FROM: field, an address of the type "owner-xxxx@yourhost", etc. DO NOT PUT THE LIST SUBMISSION ADDRESS THERE, or you will get mailing loops.

For testing, the "From:" field should point to your own mailbox, so that you get the responses from the server.

As long as RFC822 syntax is respected, the only field that matters is the "From:" field (or "Sender:", "Resent-From:", etc.). In practice this means you can just pipe the distribution request into "mail listserv@whatever" and let your mail program build all the headers.