/etc/news> cat test.eml | /usr/lib/news/bin/mailpost -a test@culte.org
-b /var/tmp -t /var/tmp -d local culte.test
inews failed: inews: warning: What server? inews: article will be spooled
so something works. But what is the "server" mailpost asks for? inews problem?
I keep telling you that your installation is not yet finished, but do
not listen.
Did you read CHECKLIST?
https://www.eyrie.org/~eagle/software/inn/docs/checklist.html
"""
Start with inn.conf; you must fill in [...] the NNTP server to use for
posts (server is commonly set to localhost).
"""
cat test.eml | /usr/lib/news/bin/mailpost -a test@culte.org -b/var/tmp -t /var/tmp -d local culte.test
well, it's localhost as default, why don't this works? the error is no
more the same if I give full domain name,
Hi,
jdanield a tapoté le 22/01/2022 13:30:
well, it's localhost as default, why don't this works? the error is no
more the same if I give full domain name,
It may be a wrong configuration of your fqdn?
On my server :
$ hostname
rasp.pasdenom.info
But some commands (maybe inews) will by default (I don't know why) speak
with news.pasdenom.info
As fdqn, I often wonder id it's the domain name (ie dodin.fr.nf) or
including the hostname (here: ns507557)
On 1/23/22 6:50 AM, jdanield wrote:
As fdqn, I often wonder id it's the domain name (ie dodin.fr.nf) or
including the hostname (here: ns507557)
FQDN is the Fully Qualified Domain Name, meaning that it's supposed to
be the entire name. E.g. ns507557.dodin.fr.nf from your example.
IMHO, the output of `hostname` (without any parameters) /should/ be the
FQDN. Some people / Distributions (Debian) say that the output of
`hostname` should be unqualified.
may be some alias to add to /etc/hosts?
I added them but it don't seems to have made things better, but... I
received during my test session one message with a hint:
/usr/lib/news/bin/mailpost culte.test". Command output: Database
directory /var/lib/news is not writable
I had to make it chmod 777 and now it works.
I just wonder if this is not too unsecure?
/usr/lib/news/bin/mailpost culte.test". Command output: Database
directory /var/lib/news is not writable
I was very surprised as I just did a full test with
inncheck -a -v -f --pedantic --perm
and applied all the patchs needed
(as advertised in checklist) so /var/lib/news was already owned by
news:news
my openSUSE gives only
# hostname
ns507557
when /et/hosts have (now - the order of the domains names don't seems to
be relevant:
127.0.0.1 localhost dodin.fr.nf ns507557.dodin.fr.nf news.dodin.fr.nf
On 1/23/22 11:28 AM, jdanield wrote:
my openSUSE gives only
# hostname
ns507557
I would argue that's wrong and that it should give you ns507557.dodin.fr.nf.
when /et/hosts have (now - the order of the domains names don't seems to
be relevant:
127.0.0.1 localhost dodin.fr.nf ns507557.dodin.fr.nf news.dodin.fr.nf
Why do you have what appears to be a domain name, dodin.fr.nf, as a
hostname alias?
Incidentally, I see that you changed the "-b /var/tmp" option given in
the man page, and also in your previous messages in this thread.
... and here you changed the "-b /var/tmp" example to a directory where mailpost (run as the mail user here) does not have write access...
it's the choice of my openSUSE Leap distribution, no idea why
to try fixing the wrong hostname
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 81:38:21 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,333,318 |
Posted today: | 1 |