local_imap
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
local_imap [2015/10/25 14:40] – [Configure fetchmail to deliver mail to local users] Converted to using procmail. breetai | local_imap [2016/03/27 14:37] (current) – [Local Dovecot IMAP server] breetai | ||
---|---|---|---|
Line 36: | Line 36: | ||
< | < | ||
- | apt-get | + | apt-get |
</ | </ | ||
Standard settings don't allow dovecot to manage /var/mail/ and it goes bonkers because of that. It shows this with the following error in / | Standard settings don't allow dovecot to manage /var/mail/ and it goes bonkers because of that. It shows this with the following error in / | ||
Line 267: | Line 267: | ||
=== Global fetchmailrc === | === Global fetchmailrc === | ||
- | Now lets create a new global / | + | Now lets create a new global / |
< | < | ||
# / | # / | ||
Line 294: | Line 294: | ||
poll pop.xs4all.nl protocol POP3: | poll pop.xs4all.nl protocol POP3: | ||
envelope | envelope | ||
- | user " | + | user " |
- | user " | + | mda '/ |
- | mda '/ | + | |
+ | poll pop.xs4all.nl protocol POP3: | ||
+ | envelope | ||
+ | user " | ||
+ | mda "/ | ||
</ | </ | ||
The with *envelope* is needed to prevent warnings from syslog. It identifies which header fetchmail should use to feed it to the local mail server. | The with *envelope* is needed to prevent warnings from syslog. It identifies which header fetchmail should use to feed it to the local mail server. | ||
- | The *mda* command tells fetchmail to use procmail and tell procmail to deliver it to the local user. | + | The *mda* command tells fetchmail to use procmail and tell procmail to deliver it to the local user. also don't use single quotes ( ' ) but double quotes on the command line. Otherwise strange stuff happens. |
+ | |||
+ | Also addressing multiple users was quite difficult. A lot of tutorials use either the multiple users per single drop and don't use the mda. Or use a single user and then use mda with procmail. I tried using the " | ||
Make sure that the daemon starts with the following setup for / | Make sure that the daemon starts with the following setup for / | ||
Line 309: | Line 315: | ||
=== Test run === | === Test run === | ||
- | The test run didn't pan out that well. It's better to just start the daemon in regular mode. But having acute logging open of / | + | The test run didn't pan out that well. It's better to just start the daemon in regular mode. But having acute logging open of / |
=== Enable fetchmail globally === | === Enable fetchmail globally === |
local_imap.1445784035.txt.gz · Last modified: 2015/10/25 14:40 by breetai