| Keyword | Opt | Function |
| |
| via | | T{ |
| Specify DNS name of mailserver, overriding poll name |
| T} |
| proto[col] | -p | T{ |
| Specify protocol (case insensitive): |
| POP2, POP3, IMAP, APOP, KPOP |
| T} |
| local[domains] | | T{ |
| Specify domain(s) to be regarded as local |
| T} |
| port | -P | T{ |
| Specify TCP/IP service port |
| T} |
| auth[enticate] | | T{ |
| Set authentication type (default `any') |
| T} |
| timeout | -t | T{ |
| Server inactivity timeout in seconds (default 300) |
| T} |
| envelope | -E | T{ |
| Specify envelope-address header name |
| T} |
| no envelope | | T{ |
| Disable looking for envelope address |
| T} |
| qvirtual | -Q | T{ |
| Qmail virtual domain prefix to remove from user name |
| T} |
| aka | | T{ |
| Specify alternate DNS names of mailserver |
| T} |
| interface | -I | T{ |
| specify IP interface(s) that must be up for server poll to take place |
| T} |
| monitor | -M | T{ |
| Specify IP address to monitor for activity |
| T} |
| plugin | | T{ |
| Specify command through which to make server connections. |
| T} |
| plugout | | T{ |
| Specify command through which to make listener connections. |
| T} |
| dns | | T{ |
| Enable DNS lookup for multidrop (default) |
| T} |
| no dns | | T{ |
| Disable DNS lookup for multidrop |
| T} |
| checkalias | | T{ |
| Do comparison by IP address for multidrop |
| T} |
| no checkalias | | T{ |
| Do comparison by name for multidrop (default) |
| T} |
| uidl | -U | T{ |
| Force POP3 to use client-side UIDLs |
| T} |
| no uidl | | T{ |
| Turn off POP3 use of client-side UIDLs (default) |
| T} |
| interval | | T{ |
| Only check this site every N poll cycles; N is a numeric argument. |
| T} |
| tracepolls | | T{ |
| Add poll tracing information to the Received header |
| T} |
| netsec | | T{ |
| Pass in IPsec security option request. |
| T} |
| principal | | T{ |
| Set Kerberos principal (only useful with imap and kerberos) |
| T} |
| esmtpname | | T{ |
| Set name for RFC2554 authentication to the ESMTP server. |
| T} |
| esmtppassword | | T{ |
| Set password for RFC2554 authentication to the ESMTP server. |
| T} |
| Keyword | Opt | Function |
| |
| user[name] | -u | T{ |
| Set remote user name |
| (local user name if name followed by `here') |
| T} |
| is | | T{ |
| Connect local and remote user names |
| T} |
| to | | T{ |
| Connect local and remote user names |
| T} |
| pass[word] | | T{ |
| Specify remote account password |
| T} |
| ssl | | T{ |
| Connect to server over the specified base protocol using SSL encryption |
| T} |
| sslcert | | T{ |
| Specify file for client side public SSL certificate |
| T} |
| sslkey | | T{ |
| Specify file for client side private SSL key |
| T} |
| sslproto | | T{ |
| Force ssl protocol for connection |
| T} |
| folder | -r | T{ |
| Specify remote folder to query |
| T} |
| smtphost | -S | T{ |
| Specify smtp host(s) to forward to |
| T} |
| fetchdomains | | T{ |
| Specify domains for which mail should be fetched |
| T} |
| smtpaddress | -D | T{ |
| Specify the domain to be put in RCPT TO lines |
| T} |
| smtpname | | T{ |
| Specify the user and domain to be put in RCPT TO lines |
| T} |
| antispam | -Z | T{ |
| Specify what SMTP returns are interpreted as spam-policy blocks |
| T} |
| mda | -m | T{ |
| Specify MDA for local delivery |
| T} |
| bsmtp | -o | T{ |
| Specify BSMTP batch file to append to |
| T} |
| preconnect | | T{ |
| Command to be executed before each connection |
| T} |
| postconnect | | T{ |
| Command to be executed after each connection |
| T} |
| keep | -k | T{ |
| Don't delete seen messages from server |
| T} |
| flush | -F | T{ |
| Flush all seen messages before querying |
| T} |
| fetchall | -a | T{ |
| Fetch all messages whether seen or not |
| T} |
| rewrite | | T{ |
| Rewrite destination addresses for reply (default) |
| T} |
| stripcr | | T{ |
| Strip carriage returns from ends of lines |
| T} |
| forcecr | | T{ |
| Force carriage returns at ends of lines |
| T} |
| pass8bits | | T{ |
| Force BODY=8BITMIME to ESMTP listener |
| T} |
| dropstatus | | T{ |
| Strip Status and X-Mozilla-Status lines out of incoming mail |
| T} |
| dropdelivered | | T{ |
| Strip Delivered-To lines out of incoming mail |
| T} |
| mimedecode | | T{ |
| Convert quoted-printable to 8-bit in MIME messages |
| T} |
| idle | | T{ |
| Idle waiting for new messages after each poll (IMAP only) |
| T} |
| no keep | -K | T{ |
| Delete seen messages from server (default) |
| T} |
| no flush | | T{ |
| Don't flush all seen messages before querying (default) |
| T} |
| no fetchall | | T{ |
| Retrieve only new messages (default) |
| T} |
| no rewrite | | T{ |
| Don't rewrite headers |
| T} |
| no stripcr | | T{ |
| Don't strip carriage returns (default) |
| T} |
| no forcecr | | T{ |
| Don't force carriage returns at EOL (default) |
| T} |
| no pass8bits | | T{ |
| Don't force BODY=8BITMIME to ESMTP listener (default) |
| T} |
| no dropstatus | | T{ |
| Don't drop Status headers (default) |
| T} |
| no dropdelivered | | T{ |
| Don't drop Delivered-To headers (default) |
| T} |
| no mimedecode | | T{ |
| Don't convert quoted-printable to 8-bit in MIME messages (default) |
| T} |
| no idle | | T{ |
| Don't idle waiting for new messages after each poll (IMAP only) |
| T} |
| limit | -l | T{ |
| Set message size limit |
| T} |
| warnings | -w | T{ |
| Set message size warning interval |
| T} |
| batchlimit | -b | T{ |
| Max # messages to forward in single connect |
| T} |
| fetchlimit | -B | T{ |
| Max # messages to fetch in single connect |
| T} |
| fetchsizelimit | | T{ |
| Max # message sizes to fetch in single transaction |
| T} |
| fastuidl | | T{ |
| Use binary search for first unseen message (POP3 only) |
| T} |
| expunge | -e | T{ |
| Perform an expunge on every #th message (IMAP and POP3 only) |
| T} |
| properties | | T{ |
| String value is ignored by fetchmail (may be used by extension scripts) |
| T} |