Sun Java System Messaging Server 6 2005Q4 Administration Reference

Options

The options for this command are:

Option  

Description  

-a authid

Specifies the authorization ID of the sender. Defaults to anonymous. 

-c

Automatically creates the mailbox if it doesn’t exist in the message store. 

-d

This option is recognized by deliver in order to maintain compatibility with /bin/mail, but it is ignored by deliver.

-g flag

Sets the system flag or keyword flag on the delivered message. 

-f address

Inserts a forwarding path header containing address. 

-l

Delivers messages using the LMTP protocol (RFC 2033). 

-m mailbox

Delivers mail to mailbox.

  • If any user ids are specified, attempts to deliver mail to mailbox for each user id. If the access control on a mailbox does not grant the “p” right to the value of authid passed in with the -a option or if the -m option is not specified, then this option delivers mail to the inbox for the userid, regardless of the access control on the inbox.

  • If no userids are specified, this option attempts to deliver mail to mailbox. If the access control on a mailbox does not grant the “p” right to the value of the authid passed in with the -a option, the delivery fails.

  • When using deliver -m mailbox userid, mailbox can just be the IMAP folder name, but when using deliver -m mailbox, mailbox must be in the format user/userid/folder

-q

Overrides mailbox quotas. Delivers messages even when the receiving mailbox is over quota. 

-r address

Inserts a Return-Path: header containing address.

userid

Deliver to inbox the user specified by userid.

If you specify no options, mail is delivered to the inbox.