This shows you the differences between two versions of the page.
использование_fetcmail [2009/06/17 16:31] val |
использование_fetcmail [2013/05/22 13:50] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Использование fetcmail ====== | ||
- | |||
- | ===== FreeBSD ===== | ||
- | <code> | ||
- | [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 | ||
- | </code> | ||
- | |||
- | ===== Ubuntu ===== | ||
- | <code> | ||
- | 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 | ||
- | </code> | ||