[EasyLinux-Suse] Suse Nachrichtensammlung, Band 139, Eintrag 15

Wilhelm Boltz boltz.willi.list at gmail.com
Sa Jun 17 22:56:56 CEST 2017


Hallo Jan-Uwe,

Am Samstag, 17. Juni 2017, 18:27:51 CEST schrieb Jan-Uwe Kögel:
> On Sat, 17 Jun 2017 18:10:33 +0200
> 
> Wilhelm Boltz <boltz.willi.list at gmail.com> wrote:
> > root at debian-kde:~# systemctl status spamd
> > Unit spamd.service could not be found.
> 
> jan-uwe at debian-juk03:~$ su
> Passwort:
> root at debian-juk03:/home/jan-uwe# systemctl status spamassassin
> ● spamassassin.service - Perl-based spam filter using text analysis
>    Loaded: loaded (/lib/systemd/system/spamassassin.service; enabled;
> vendor preset: enabled) Active: active (running) since Sat 2017-06-17
> 18:17:28 CEST; 48s ago Process: 411 ExecStart=/usr/sbin/spamd -d
> --pidfile=/var/run/spamassassin.pid $OPTIONS (code=exited Main PID: 518
> (/usr/sbin/spamd) Tasks: 3 (limit: 4915)
>    CGroup: /system.slice/spamassassin.service
>            ├─ 518 /usr/sbin/spamd -d
> --pidfile=/var/run/spamassassin.pid --create-prefs --max-childre ├─1206
> spamd child └─1207 spamd child
> 
> Jun 17 18:17:57 debian-juk03 spamd[1206]: spamd: processing message
> <23413165.BJJvyRXH8r at saturn.local Jun 17 18:17:57 debian-juk03 spamd
> [1207]: spamd: clean message (-7.3/5.0) for jan-uwe:1000 in 1.3 sec Jun
> 17 18:17:57 debian-juk03 spamd[1207]: spamd: result: . -7 -
> BAYES_00,RCVD_IN_DNSWL_MED,TVD_SPACE_ Jun 17 18:17:57 debian-juk03 spamd
> [518]: prefork: child states: BII Jun 17 18:18:00 debian-juk03 spamd
> [1206]: spamd: clean message (-6.9/5.0) for jan-uwe:1000 in 2.4 sec Jun
> 17 18:18:00 debian-juk03 spamd[1206]: spamd: result: . -6 -
> BAYES_00,DKIM_ADSP_CUSTOM_MED,DKIM_SI Jun 17 18:18:00 debian-juk03 spamd
> [518]: prefork: child states: III Jun 17 18:18:00 debian-juk03 spamd
> [518]: prefork: adjust: 3 idle children more than 2 maximum idle ch Jun
> 17 18:18:00 debian-juk03 spamd[518]: prefork: child states: IIK Jun 17
> 18:18:00 debian-juk03 spamd[518]: spamd: handled cleanup of child pid
> [2667] due to SIGCHLD: i
> 
> Warum funktioniert es denn nun bei mir, und bei allen anderen die nutz
> auch? Vielleicht, weil ich Spamassasin installiert habe?
> 
> apt install spamassassin sa-compile
> 
> 
> Weil ich den Daemon zum automatischen starten angewiesen habe?
> 
> nano /etc/default/spamassasin
> 
> Und dann
> 
> # /etc/default/spamassassin
> # Duncan Findlay
> 
> # WARNING: please read README.spamd before using.
> # There may be security risks.
> 
> # If you're using systemd (default for jessie), the ENABLED setting is
> # not used. Instead, enable spamd by issuing:
> # systemctl enable spamassassin.service
> # Change to "1" to enable spamd on systems using sysvinit:
> ENABLED=0
> 
> Hier den String ENABLED=0 auf 1 setzen und speichern
> 
> 
> Vielleicht, weil ich den Dienst erstmalig gestartet habe
> 
> systemctl start spamassassin
> 
> 
> Vielleicht, weil weil ich den Daemon gestartet habe
> 
> systemctl enable spamassassin
> 
> 
> Und zu guter Letzte, sicher weil ich den richtigen Syntax in den
> Befehlen beachtet habe?
> 
> > Ohne Worte.
> 
> Genau, aber von mir. Langsam glaube ich, Du machst das alles
> absichtlich?

root at debian-kde:~# systemctl status spamassassin
● spamassassin.service - Perl-based spam filter using text analysis
   Loaded: loaded (/lib/systemd/system/spamassassin.service; enabled; vendor 
preset: enabled)
   Active: active (running) since Sat 2017-06-17 22:50:46 CEST; 3min 20s ago
  Process: 413 ExecStart=/usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid 
$OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 561 (/usr/sbin/spamd)
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/spamassassin.service
           ├─561 /usr/sbin/spamd -d --pidfile=/var/run/spamassassin.pid --
create-prefs --max-children 5 --helper-home-dir
           ├─729 spamd child
           └─730 spamd child

Jun 17 22:50:40 debian-kde systemd[1]: Starting Perl-based spam filter using 
text analysis...
Jun 17 22:50:42 debian-kde spamd[413]: logger: removing stderr method
Jun 17 22:50:43 debian-kde spamd[561]: zoom: able to use 353/353 'body_0' 
compiled rules (100%)
Jun 17 22:50:46 debian-kde spamd[561]: spamd: server started on IO::Socket::IP 
[::1]:783, IO::Socket::IP [127.0.0.1]:783 (running version 3.4.1)
Jun 17 22:50:46 debian-kde spamd[561]: spamd: server pid: 561
Jun 17 22:50:46 debian-kde spamd[561]: spamd: server successfully spawned 
child process, pid 729
Jun 17 22:50:46 debian-kde spamd[561]: spamd: server successfully spawned 
child process, pid 730
Jun 17 22:50:46 debian-kde spamd[561]: prefork: child states: SI
Jun 17 22:50:46 debian-kde systemd[1]: Started Perl-based spam filter using 
text analysis.
Jun 17 22:50:46 debian-kde spamd[561]: prefork: child states: II
root at debian-kde:~# systemctl status -l spamd
Unit spamd.service could not be found.

EOT.

Gruß
Willi

-- 
openSUSE Tumbleweed 20170615
GNU/Linux 4.11.4-1-default x86_64



Mehr Informationen über die Mailingliste Suse