We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
Учим SpamAssasin
Re: Учим SpamAssasin
Заливаю туда куда нужно.А вот про симлинк там где я читал увы ничего не сказано.Что-то мне кажется что инструкции не полные те что я читаю.Сейчас залит файл последний с гитхаба,название правильное.Давайте пойдем последовательно,теперь нужно писать симлинк.Что и где нужно прописать?
Может наконец-то появится внятная инструкция в итоге,а не то что сейчас есть.
Может наконец-то появится внятная инструкция в итоге,а не то что сейчас есть.
Re: Учим SpamAssasin
Code: Select all
ln -s /usr/share/roundcube/plugins/markasjunk2 /var/lib/roundcube/plugins
Re: Учим SpamAssasin
После того как разберетесь с кнопкой, поотправляйте письма на свой сервер, нужно лог спамассасина посмотреть
/var/log/mail.log
Скините сюда через спойлер.
/var/log/mail.log
Скините сюда через спойлер.
Re: Учим SpamAssasin
Смотрите,сделал все как написали.Создал симлинк через консоль.Нет кнопки.
Может в ЛС дать доступ к серверу и глянете?Уже ничего понять не могу.
Может в ЛС дать доступ к серверу и глянете?Уже ничего понять не могу.
Re: Учим SpamAssasin
Скиньте посмотрю
Re: Учим SpamAssasin
Уже отправил,благодарю.imperio wrote:Скиньте посмотрю
Re: Учим SpamAssasin
Далее надо подключить плагин
/etc/roundcube/config.inc.php
Code: Select all
// List of active plugins (in plugins/ directory)
$rcmail_config['plugins'] = array('password','markasjunk2');
Re: Учим SpamAssasin
Прикольно.Значит у меня шалит файловый редактор раз изменения не применились.imperio wrote:Далее надо подключить плагин
/etc/roundcube/config.inc.phpНе было сделано. Сделал.Code: Select all
// List of active plugins (in plugins/ directory) $rcmail_config['plugins'] = array('password','markasjunk2');
Спасибо,действительно кнопка появилась.Теперь как выше - отправляю себе письма и лог под спойлер?
Re: Учим SpamAssasin
imperio wrote:Да
SpoilerShow
Jan 6 23:27:26 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:27:35 yarik-sat spamd[1496]: spamd: clean message (0.5/5.0) for nobody:65534 in 9.3 seconds, 6097 bytes.
Jan 6 23:27:35 yarik-sat spamd[1496]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=9.3,size=6097,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=48231,mid=<[email protected]>,autolearn=no autolearn_force=no
Jan 6 23:27:35 yarik-sat spamd[903]: prefork: child states: II
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: connection from localhost [127.0.0.1]:48288 to port 783, fd 5
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: setuid to nobody succeeded
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:29:08 yarik-sat spamd[1496]: config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs: No such file or directory
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: connection from localhost [127.0.0.1]:48431 to port 783, fd 5
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: setuid to nobody succeeded
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:32:32 yarik-sat spamd[1496]: config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs: No such file or directory
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:32:42 yarik-sat spamd[1496]: spamd: clean message (0.5/5.0) for nobody:65534 in 10.4 seconds, 9783 bytes.
Jan 6 23:32:42 yarik-sat spamd[1496]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=10.4,size=9783,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=48431,mid=<[email protected]>,autolearn=no autolearn_force=no
Jan 6 23:32:42 yarik-sat spamd[903]: prefork: child states: II
Jan 6 23:37:09 yarik-sat spamd[1496]: spamd: connection from localhost [127.0.0.1]:48668 to port 783, fd 5
Jan 6 23:37:09 yarik-sat spamd[1496]: spamd: setuid to nobody succeeded
Jan 6 23:37:09 yarik-sat spamd[1496]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:37:09 yarik-sat spamd[1496]: config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs: No such file or directory
Jan 6 23:37:10 yarik-sat spamd[1496]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:37:10 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:37:18 yarik-sat spamd[1496]: spamd: clean message (0.5/5.0) for nobody:65534 in 9.0 seconds, 11874 bytes.
Jan 6 23:37:18 yarik-sat spamd[1496]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=9.0,size=11874,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=48668,mid=<[email protected]>,autolearn=no autolearn_force=no
Jan 6 23:37:19 yarik-sat spamd[903]: prefork: child states: II
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: connection from localhost [127.0.0.1]:48834 to port 783, fd 5
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: setuid to nobody succeeded
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:39:50 yarik-sat spamd[1496]: config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs: No such file or directory
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:40:00 yarik-sat spamd[1496]: spamd: clean message (0.5/5.0) for nobody:65534 in 10.0 seconds, 8858 bytes.
Jan 6 23:40:00 yarik-sat spamd[1496]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=10.0,size=8858,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=48834,mid=<[email protected]>,autolearn=no autolearn_force=no
Jan 6 23:40:01 yarik-sat spamd[903]: prefork: child states: II
Jan 6 23:27:35 yarik-sat spamd[1496]: spamd: clean message (0.5/5.0) for nobody:65534 in 9.3 seconds, 6097 bytes.
Jan 6 23:27:35 yarik-sat spamd[1496]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=9.3,size=6097,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=48231,mid=<[email protected]>,autolearn=no autolearn_force=no
Jan 6 23:27:35 yarik-sat spamd[903]: prefork: child states: II
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: connection from localhost [127.0.0.1]:48288 to port 783, fd 5
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: setuid to nobody succeeded
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:29:08 yarik-sat spamd[1496]: config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs: No such file or directory
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:29:08 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: connection from localhost [127.0.0.1]:48431 to port 783, fd 5
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: setuid to nobody succeeded
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:32:32 yarik-sat spamd[1496]: config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs: No such file or directory
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:32:32 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:32:42 yarik-sat spamd[1496]: spamd: clean message (0.5/5.0) for nobody:65534 in 10.4 seconds, 9783 bytes.
Jan 6 23:32:42 yarik-sat spamd[1496]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=10.4,size=9783,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=48431,mid=<[email protected]>,autolearn=no autolearn_force=no
Jan 6 23:32:42 yarik-sat spamd[903]: prefork: child states: II
Jan 6 23:37:09 yarik-sat spamd[1496]: spamd: connection from localhost [127.0.0.1]:48668 to port 783, fd 5
Jan 6 23:37:09 yarik-sat spamd[1496]: spamd: setuid to nobody succeeded
Jan 6 23:37:09 yarik-sat spamd[1496]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:37:09 yarik-sat spamd[1496]: config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs: No such file or directory
Jan 6 23:37:10 yarik-sat spamd[1496]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:37:10 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:37:18 yarik-sat spamd[1496]: spamd: clean message (0.5/5.0) for nobody:65534 in 9.0 seconds, 11874 bytes.
Jan 6 23:37:18 yarik-sat spamd[1496]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=9.0,size=11874,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=48668,mid=<[email protected]>,autolearn=no autolearn_force=no
Jan 6 23:37:19 yarik-sat spamd[903]: prefork: child states: II
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: connection from localhost [127.0.0.1]:48834 to port 783, fd 5
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: setuid to nobody succeeded
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: creating default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:39:50 yarik-sat spamd[1496]: config: cannot create user preferences file /nonexistent/.spamassassin/user_prefs: No such file or directory
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: failed to create readable default_prefs: /nonexistent/.spamassassin/user_prefs
Jan 6 23:39:50 yarik-sat spamd[1496]: spamd: checking message <[email protected]> for nobody:65534
Jan 6 23:40:00 yarik-sat spamd[1496]: spamd: clean message (0.5/5.0) for nobody:65534 in 10.0 seconds, 8858 bytes.
Jan 6 23:40:00 yarik-sat spamd[1496]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HK_RANDOM_ENVFROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED scantime=10.0,size=8858,user=nobody,uid=65534,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=48834,mid=<[email protected]>,autolearn=no autolearn_force=no
Jan 6 23:40:01 yarik-sat spamd[903]: prefork: child states: II