INN - installation
At some moment you may need a MTA, for example postfix
error <email@example.com> (expanded from <news>): SMTPUTF8 is required, but was not offered by host dodin.xyz[18.104.22.168]
Postfix page about this error In summary:
- postconf smtputf8_enable=no
- postfix reload
Seams to fix the error
I see in my mails that I had a problem because
alias_maps = lmdb:/etc/aliases
was not filled
openSUSE allows simple installation. Go to Yast, software, search for "InternetNews" and tick inn then OK... You get the basic setup. Leap 15.3 version (dec 2021) is 2.6.2-bp22.214.171.124.
INN is installed as user "news". In /etc/password:
So it's an user, but nobody can log in this account, and the account is in /etc. At some time in the INN use, you may have to work as "news" user. It's not as easy as one could think, but there is a workaroud: if you are root on your server, you can type
sudo -u news -s /bin/bash
and like this get a bash session as user news.
It's sometime difficult to find where the files are stored, every distribution have it's own places.
For openSUSE, files are in:
/etc/news (aka ~news, home of user "news"); you get in with "cd". /usr/lib/news (specially bin, where are tools and doc); /usr/share/doc/packages/inn; /var/log/news; /var/spool/news;
It may be useful to add in the ~news folder these links:
ln -s /var/spool/news spool ln -s /var/log/news logs ln -s /usr/lib/news/bin bin
To find them more easily and make command prefixes simpler.
To receive logs with mails, you have to install "mail" (or mailx), that means postfix.
zypper in mail (as root)