Q line

Q line

The DSN ORCPT address V8.7 and above

When a mail message arrives that includes an ORCPT parameter for the ESMTP RCPT command (see RFC1891), sendmail needs to save that parameter's information separately from the RCPT recipient address:

 RCPT TO:<gw@wash.dc.gov> ORCPT=rfc822;gw@wash.dc.gov    recipient address   parameter's information  

Not all sites understand DSN. If sendmail forwards the message to such a site, it needs to omit the ORCPT parameter. Consequently, sendmail must not store that parameter with the RCPT address.

The Q line is used to separately store the ORCPT parameter information:

 Q   type   ;   addr   

The type ; addr is defined by RFC1891. The sendmail program checks the syntax of addr when that information is received but otherwise merely stores type ; addr as is in the Q line.

There must be only a single Q line for each recipient R line, and each such Q line must precede its corresponding R line.



Sendmail
sendmail, 4th Edition
ISBN: 0596510292
EAN: 2147483647
Year: 2002
Pages: 1174

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net