fetchmail --version (return code: 0)
fetchmail: WARNING: Running as root is discouraged.
This is fetchmail release 6.3.26+GSS+NTLM+SDPS+SSL-SSLv3+NLS+KRB5.
Copyright (C) 2002, 2003 Eric S. Raymond
Copyright (C) 2004 Matthias Andree, Eric S. Raymond,
Robert M. Funk, Graham Wilson
Copyright (C) 2005 - 2012 Sunil Shetye
Copyright (C) 2005 - 2015 Matthias Andree
Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. For details,
please see the file COPYING in the source or documentation directory.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
Fallback MDA: (none)
Linux b6ed01d30c68 4.10.0-35-generic #39-Ubuntu SMP Wed Sep 13 07:46:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
No mailservers set up -- perhaps /root/.fetchmailrc is missing?
Taking options from command line
fetchmail --help (return code: 0)
fetchmail: WARNING: Running as root is discouraged.
usage: fetchmail [options] [server ...]
Options are as follows:
-?, --help display this option help
-V, --version display version info
-c, --check check for messages without fetching
-s, --silent work silently
-v, --verbose work noisily (diagnostic output)
-d, --daemon run as a daemon once per n seconds
-N, --nodetach don't detach daemon process
-q, --quit kill daemon process
-L, --logfile specify logfile name
--syslog use syslog(3) for most messages when running as a daemon
--invisible don't write Received & enable host spoofing
-f, --fetchmailrc specify alternate run control file
-i, --idfile specify alternate UIDs file
--pidfile specify alternate PID (lock) file
--postmaster specify recipient of last resort
--nobounce redirect bounces from user to postmaster.
--nosoftbounce fetchmail deletes permanently undeliverable messages.
--softbounce keep permanently undeliverable messages on server (default).
-I, --interface interface required specification
-M, --monitor monitor interface for activity
--ssl enable ssl encrypted session
--sslkey ssl private key file
--sslcert ssl client certificate
--sslcertck do strict server certificate check (recommended)
--sslcertfile path to trusted-CA ssl certificate file
--sslcertpath path to trusted-CA ssl certificate directory
--sslcommonname expect this CommonName from server (discouraged)
--sslfingerprint fingerprint that must match that of the server's cert.
--sslproto force ssl protocol (SSL2/SSL3/TLS1)
--plugin specify external command to open connection
--plugout specify external command to open smtp connection
--bad-header {reject|accept}
specify policy for handling messages with bad headers
-p, --protocol specify retrieval protocol (see man page)
-U, --uidl force the use of UIDLs (pop3 only)
--port TCP port to connect to (obsolete, use --service)
-P, --service TCP service to connect to (can be numeric TCP port)
--auth authentication type (password/kerberos/ssh/otp)
-t, --timeout server nonresponse timeout
-E, --envelope envelope address header
-Q, --qvirtual prefix to remove from local user id
--principal mail service principal
--tracepolls add poll-tracing information to Received header
-u, --username specify users's login on server
-a, --[fetch]all retrieve old and new messages
-K, --nokeep delete new messages after retrieval
-k, --keep save new messages after retrieval
-F, --flush delete old messages from server
--limitflush delete oversized messages
-n, --norewrite don't rewrite header addresses
-l, --limit don't fetch messages over given size
-w, --warnings interval between warning mail notification
-S, --smtphost set SMTP forwarding host
--fetchdomains fetch mail for specified domains
-D, --smtpaddress set SMTP delivery domain to use
--smtpname set SMTP full name username@domain
-Z, --antispam, set antispam response values
-b, --batchlimit set batch limit for SMTP connections
-B, --fetchlimit set fetch limit for server connections
--fetchsizelimit set fetch message size limit
--fastuidl do a binary search for UIDLs
-e, --expunge set max deletions between expunges
-m, --mda set MDA to use for forwarding
--bsmtp set output BSMTP file
--lmtp use LMTP (RFC2033) for delivery
-r, --folder specify remote folder name
--showdots show progress dots even in logfiles