Skip popper, use imap. Yeah, I know, some old customers are too difficult to move to imap...
Sorry, I did not document my original install of popper (I used qpopper for some reason, now lost to time), and imap.
I'm getting logspam from qpopper and imap. Starting to document the
attempts here to reduce the problem.
If you don't have it already, you may want to find a sample
imapd.conf file from the ports tree, and make
changes, or simply add the following to a new file:
I don't know yet if this works, but I wanted to document so I wouldn't forget it.
qpopper is incredibly noisy, contantly jamming your syslog full of logspam. The problem with this is that it's basically a silent DOS attack. Each day I get emails from the system to alert me of problems, but I don't see real problems due to the tens of thousands of lines of bogus email login attempts. There's nothing I can do about it, there's creeps all over the planet constantly trying to get in - that's just the way things are. Yes, I should be worried, but the only thing I could do would be to block by IP address, which is constantly changing. Nope - just disable these error messages so you can see the rest of the log.
Note that the first 3 lines get rid of specific errors, the last line simply says to put qpopper output into
# 20181206 MikeL
# config file for qpopper
set debug = false
set statistics = false
set reverse-lookup = false
set log-facility = mail
/var/log/maillog, which is already so obscenely noisy that a little bit more won't matter.
qpopper: zzzz at zzz.zzz.zzz.zzz (zzz.zzz.zzz.zzz): -ERR [SYS/TEMP] POP authentication DB not available (user zzzz): No such file or directory (2)
Stats: zzz 2 5731 0 0 zzzz.domain.com zzz.zzz.zzz.zzz
This is eliminated by the statistics line.
I'm not sure if debug=false is helping.
Note that if you're running popper under
need simply edit the config file. It is read each time an email
comes in as it's a fresh program startup. Otherwise, of course,
you'll need to do a popper restart.
Popper is the program that allows client email programs to fetch their email from this server -- the old way; via POP3. I've not messed with IMAP, so don't even ask.
First time only
] cd /usr/ports/mail/popper ] make
] make install
pop3 stream tcp nowait root /usr/local/libexec/popper popper
ps -axand find 'inetd', then do a 'kill -HUP ###' that pid.