====== Использование fetcmail ======
===== FreeBSD =====
[server:~] # pkg_add -r fetchmail
[server:~] # cat /usr/local/etc/fetchmailrc
poll gate.corpX.un proto pop3 user "mailuser" password "123" is root
[server:~] # chmod 710 /usr/local/etc/fetchmailrc
[server:~] # cat /etc/rc.conf
...
fetchmail_enable="YES"
fetchmail_polling_interval="20"
[server:~] # /usr/local/etc/rc.d/fetchmail start
===== Ubuntu =====
root@server:~# apt-get install fetchmail
root@server:~# cat /etc/default/fetchmail
...
START_DAEMON=yes
root@server:~# cat /etc/fetchmailrc
poll gate.corpX.un proto pop3 user "mailuser" password "123" is root
root@server:~# /etc/init.d/fetchmail restart