AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-189548

JackTheKnife's questions

Martin Hope
JackTheKnife
Asked: 2020-05-02 08:17:01 +0800 CST

有效域被詹姆斯拒绝

  • 0

出于某种原因,我突然在詹姆斯身上遇到了这个错误:

DEBUG 09:32:35,635 | james.smtpserver | Id='1973954440' User='' Unknown domain ABC  so reject it
DEBUG 09:32:35,635 | james.smtpserver | Id='1973954440' User='' executing hook org.apache.james.protocols.smtp.core.log.HookResultLogger@340c2af4
DEBUG 09:32:35,635 | james.smtpserver | Id='1973954440' User='' org.apache.james.smtpserver.fastfail.ValidRcptHandler: result=8 (DECLINED)

任何线索有效域被拒绝有什么问题?

smtp james apache-james
  • 1 个回答
  • 41 Views
Martin Hope
JackTheKnife
Asked: 2020-04-15 07:14:58 +0800 CST

Horde webmail 无法识别 Dovecot ACL

  • 0

我正在尝试使用此处描述的步骤设置一个邮箱以与另一个邮箱共享,但由于某种原因,即使我在 IMP 配置中将 ACL 设置为 true,我也没有在邮箱中看到该选项(以管理员身份登录) .

从鸽舍-n:

auth_debug = yes
auth_debug_passwords = yes
auth_master_user_separator = *
auth_mechanisms = plain login
auth_verbose = yes
auth_verbose_passwords = yes
dict {
  acl = mysql:/usr/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lda_mailbox_autosubscribe = yes
log_path = /var/log/dovecot.log
mail_home = mdbox:/mnt/homedirs/%2Mu/%2.2Mu/%u
mail_location = mdbox:/mnt/mailboxes/%2Mu/%2.2Mu/%u
mail_plugins = acl
mail_shared_explicit_inbox = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext vnd.dovecot.pipe vnd.dovecot.filter vnd.dovecot.execute
namespace {
  list = children
  location = mdbox:/mnt/mailboxes/%%2Mu/%%2.2Mu/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox INBOX {
    auto = subscribe
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix =
  separator = /
  subscriptions = yes
}
passdb {
  args = /usr/etc/dovecot/mastership-sql.conf
  driver = sql
  master = yes
  pass = yes
}
passdb {
  args = /usr/etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  acl = vfile
  acl_defaults_from_inbox = yes
  acl_shared_dict = proxy::acl
  sieve_execute_socket_dir = sieve-execute
  sieve_extensions = +vnd.dovecot.execute +vnd.dovecot.filter +vnd.dovecot.pipe
  sieve_filter_socket_dir = sieve-filter
  sieve_pipe_socket_dir = sieve-pipe
  sieve_plugins = sieve_extprograms
}
service dict {
  unix_listener dict {
    user = dovecot
  }
}
service imap-postlogin {
  executable = script-login /usr/etc/dovecot/imappostlogin
  user = $default_internal_user
}
service imap {
  executable = imap imap-postlogin
}
ssl = no
ssl_cert = </etc/pki/tls/certs/hostname.bundle
userdb {
  args = uid=dovecot gid=dovecot home=/mnt/mailboxes/%%2Mu/%%2.2Mu/%%u
  driver = static
}
protocol lmtp {
  mail_plugins = acl sieve
}
protocol lda {
  mail_plugins = acl sieve
}
protocol imap {
  mail_plugins = acl imap_acl
}

有什么建议吗?

access-control-list dovecot webmail horde
  • 1 个回答
  • 62 Views
Martin Hope
JackTheKnife
Asked: 2020-03-20 10:10:36 +0800 CST

Centos7 上的 Dovecot - 无法从 systemd 启动

  • 0

由于某种原因在 Centos 7 上新编译的 dovecot 2.3.9.3 无法启动

● dovecot.service - LSB: Dovecot init script
   Loaded: loaded (/etc/rc.d/init.d/dovecot; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2020-03-19 15:15:37 UTC; 54s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 20398 ExecStart=/etc/rc.d/init.d/dovecot start (code=exited, status=203/EXEC)

Mar 19 15:15:37 systemd[1]: Starting LSB: Dovecot init script...
Mar 19 15:15:37 systemd[1]: dovecot.service: control process exited, code=exited status=203
Mar 19 15:15:37 systemd[1]: Failed to start LSB: Dovecot init script.
Mar 19 15:15:37 systemd[1]: Unit dovecot.service entered failed state.
Mar 19 15:15:37 systemd[1]: dovecot.service failed.

我在 Centos 6 上编译了相同的代码并且运行它没有问题。

还检查是否在系统启动时启用它会抛出

dovecot.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig dovecot on

对这件事有什么想法吗?我需要改变一些东西才能让它工作systemd吗?

centos dovecot centos7
  • 1 个回答
  • 339 Views
Martin Hope
JackTheKnife
Asked: 2020-02-06 12:13:16 +0800 CST

Apache James 队列落后

  • 0

由于某种原因,当传递的消息总是落后于实际发送时,我经常遇到队列释放问题。James 设置为将传入消息发送到网关 (Postfix)。

RemoteDelivery 类具有:

        // Set it to try to deliver (in a separate thread) immediately
        // (triggered by storage)

究竟什么是“存储”以及在哪里配置?

我设置了一个 mailet,它将匹配的消息(基于收件人域)发送到网关(在 mailetcontainer 中指定)。在它被“卡住”以传送到网关之前,这一直很好。在 James 日志中,它显示为Successfully spooled mail来自发件人,然后显示为

[TID=83] INFO  11:04:54,858 | james.smtpserver | Id='1510412390' User='' Successfully spooled mail Mail1581005094857-978ba32f-74e6-4ca1-b903-7994637a9873 from <address@remote> on <remote sender IP> for [<address@local>]
...
[TID=734] INFO  11:04:55,290 | james.mailetcontext | Remotely delivering mail Mail1581005094857-978ba32f-74e6-4ca1-b903-7994637a9873
[TID=34] INFO  11:04:55,290 | james.mailetcontext | Remote delivery thread (0) will process mail Mail1581005072858-90055113-03cf-4bc0-84d7-d47d176feef2
[TID=34] INFO  11:04:55,290 | james.mailetcontext | Attempting to deliver Mail1581005072858-90055113-03cf-4bc0-84d7-d47d176feef2
[TID=734] INFO  11:04:55,312 | james.mailetcontext | Adding SMTP gateway: <gateway address>
[TID=734] INFO  11:04:55,312 | james.mailetcontext | Sending mail to [<address@local>] via [<gateway address>]
[TID=34] INFO  11:04:55,312 | james.mailetcontext | Adding SMTP gateway: <gateway adrdress>
[TID=34] INFO  11:04:55,312 | james.mailetcontext | Attempting delivery of Mail1581005072858-90055113-03cf-4bc0-84d7-d47d176feef2 to host <gateway adrdress> at <gateway adrdress> from <address@remote> for addresses [<address@local>]]

但我没有看到邮件已成功发送到网关。

为了让它“解开”,我需要将另一条传入消息发送给 James,该消息将命中同一个 mailet 以推送之前被卡住的假脱机消息。然后在詹姆斯日志中它将显示为

[TID=35] INFO  11:22:14,443 | james.mailetcontext | Mail (Mail1581005094857-978ba32f-74e6-4ca1-b903-7994637a9873) sent successfully to <gateway adrdress> at <gateway adrdress> from <address@remote> for [[<address@local>]]

看起来,如果中继主机发生变化,相关队列就会开始表现不同,就像一个纸巾管,里面有乒乓球。只有当足够多的球被推入时,才能从另一端取出一个。对此有什么想法吗?

email-server james
  • 1 个回答
  • 100 Views
Martin Hope
JackTheKnife
Asked: 2019-06-22 07:03:05 +0800 CST

从 mdbox 迁移 Dovecot 邮件

  • 0

我正在尝试基于https://wiki.dovecot.org/Migration/MailFormat将 mdbox 迁移到 maildir

我修改了 dovecot.conf 并设置mail_location=maildir:/tmp/destination/mailboxes/

然后我跑了

/mnt/testmail/bin/dsync -Dv -u [email protected] mirror mdbox:/source/mailboxes/[email protected]

但这什么也没做。然后我修改了 dovecot.conf 并设置mail_location=mdbox:/source/mailboxes

然后我跑了

/mnt/testmail/bin/dsync -Dv -u [email protected] mirror mdbox:/tmp/destination/mailboxes/[email protected]

通过 [email protected] 邮箱从源复制到目标位置。由于那是有效的,我试图运行

/mnt/testmail/bin/dsync -Dv -u [email protected] mirror maildir:/tmp/destination/mailboxes/[email protected]

但这有一个错误:

dsync([email protected]): 调试: 命名空间收件箱: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, subscriptions=yes location=maildir:/mnt/testmail/mailboxes dsync ([email protected]):错误:用户初始化失败:命名空间'':未知的邮件存储驱动程序 maildir

第一个问题是,根据上面的示例 #2,https ://wiki.dovecot.org/Migration/MailFormat 中提供的语法不正确,或者由于某种原因对我不起作用,例如 #1。

第二个问题是无法识别 maildir 格式——那又如何呢?Docecot 有一些缺失的库吗?

Dovecot 版本 2.2.18 和配置如下:

# 2.2.18: /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.8
# OS: Linux 2.6.32-754.14.2.el6.x86_64 x86_64 CentOS release 6.10 (Final) xfs
auth_master_user_separator = *
auth_mechanisms = plain login
dict {
  acl = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
lda_mailbox_autosubscribe = yes
log_path = /var/log/dovecot.log
mail_home = mdbox:/var/homedirs/%2Mu/%2.2Mu/%u
mail_location = mdbox:/var/mailboxes/%2Mu/%2.2Mu/%u
mail_plugins = acl
mail_shared_explicit_inbox = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate vnd.dovecot.pipe vnd.dovecot.filter vnd.dovecot.execute
namespace {
  list = children
  location = mdbox:/var/mailboxes/%%2Mu/%%2.2Mu/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = yes
  type = shared
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox INBOX {
    auto = subscribe
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix =
  subscriptions = yes
}
passdb {
  args = /etc/dovecot/mastership-sql.conf
  driver = sql
  master = yes
  pass = yes
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  acl = vfile
  acl_defaults_from_inbox = yes
  acl_shared_dict = proxy::acl
  sieve_after = /etc/dovecot/sieve/99-file-qvera-ccda.sieve
  sieve_after2 = /etc/dovecot/sieve/98-notify-biz-address.sieve
  sieve_after3 = /etc/dovecot/sieve/97-mdn-processed.sieve
  sieve_execute_bin_dir = /etc/dovecot/sieve-execute
  sieve_execute_socket_dir = sieve-execute
  sieve_extensions = +vnd.dovecot.execute +vnd.dovecot.filter +vnd.dovecot.pipe
  sieve_filter_bin_dir = /etc/dovecot/sieve-filter
  sieve_filter_socket_dir = sieve-filter
  sieve_pipe_bin_dir = /etc/dovecot/sieve-pipe
  sieve_pipe_socket_dir = sieve-pipe
  sieve_plugins = sieve_extprograms
}
postmaster_address = [email protected]
sendmail_path = /sbin/sendmail
service dict {
  unix_listener dict {
    user = dovecot
  }
}
service imap-postlogin {
  executable = script-login /etc/dovecot/imappostlogin
  user = $default_internal_user
}
service imap {
  executable = imap imap-postlogin
}
ssl = no
userdb {
  args = uid=dovecot gid=dovecot home=/var/mailboxes/%%2Mu/%%2.2Mu/%%u
  driver = static
}
protocol lmtp {
  mail_plugins = acl sieve
}
protocol lda {
  mail_plugins = acl sieve
}
protocol imap {
  mail_plugins = acl imap_acl
}

很有可能是自定义编译。

dovecot
  • 1 个回答
  • 514 Views
Martin Hope
JackTheKnife
Asked: 2018-09-20 06:57:36 +0800 CST

Dovecot Sieve:将消息的一部分存储为变量

  • 1

我需要检索消息的某些部分,看起来像

Subject: Test message
Message-Id: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/report; boundary="----=_Part_fba0c199dfcd4d60ae506b37a6320a84"; report-type=notification
To: [email protected]
Date: Mon, 17 Sep 2018 16:21:45 -0400 (EDT)
From: [email protected]


------=_Part_fba0c199dfcd4d60ae506b37a6320a84
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

BTW, this is the correct notification ... it should be "failed" not "failure".
------=_Part_fba0c199dfcd4d60ae506b37a6320a84
Content-Type: message/notification
Content-Transfer-Encoding: 7bit

Final-Recipient: rfc822; [email protected]
Original-Message-ID: <[email protected]>

------=_Part_fba0c199dfcd4d60ae506b37a6320a84—

例如,我需要获取之后的内容Final-Recipient: rfc822;并将Original-Message-ID:它们存储为变量

我试图做类似的事情

if body :raw :contains ["Original-Message-ID:"] {
  set "Original-Message-ID" "${0}";
}

但是设置为的变量Original-Message-ID不包含消息中的内容。

dovecot
  • 1 个回答
  • 298 Views
Martin Hope
JackTheKnife
Asked: 2018-09-19 11:39:02 +0800 CST

Dovecot Sieve 和:用于执行添加无效字符的输出变量

  • 0

我正在尝试让吹筛过滤器工作

require ["fileinto", "imap4flags", "mailbox", "body", "envelope", "vnd.dovecot.pipe", "variables", "vnd.dovecot.execute"];

if envelope :matches "To" "*@*" {
  set "recipient" "${0}";
  set "user" "${1}";
  set "recip_domain" "${2}";
}

if envelope :matches "From" "*" {
  set "sender" "${0}";
}

#Check if recipient is valid user
if execute :output "valid_user" "user-verification" "${recipient}" {
    if string :matches "${valid_user}" "True" {
      if body :raw :contains ["message/notification"] {
        setflag "\\Seen";
        fileinto :create "Notifications";
        stop;
      }
    }
}

extprogram在哪里user-verification调用 API 并根据电子邮件地址验证用户,然后返回布尔值(作为控制台的输出)。

if string :matches "${valid_user}" "True"当我以其他看起来无法识别valid_user变量的方式删除语句时,一切正常。

当我通过管道valid_user传输到某个脚本只是为了捕获该变量的值时,它会引发错误:

错误:指定:args 项目“真?” 是无效的。

为什么在这种情况下将问号添加到变量中?

想法?

dovecot
  • 1 个回答
  • 306 Views
Martin Hope
JackTheKnife
Asked: 2017-01-06 07:31:49 +0800 CST

Dovecot 和“系统文件夹”

  • 0

据我所知,像草稿、已发送和垃圾箱这样的“系统文件夹”是由 IMAP 应用程序(网络邮件)而不是 Dovecot 创建的,但有没有办法抑制该过程并让 Dovecot 在网络邮件前面执行此操作?

我发现了一些/etc/dovecot/conf.d/mailboxes.conf允许自动创建和自动订阅这些“特殊用途”邮箱的配置选项,但我不确定这是否是我正在寻找的。如果是这样,这些“系统文件夹”将在用户登录到 webmail 之前或在登录过程中创建,这与使用 webamil 功能创建这些文件夹相同。

我的 Dovecot 设置使用 mbox 格式和 SQL 进行用户存储。

imap dovecot webmail
  • 1 个回答
  • 214 Views
Martin Hope
JackTheKnife
Asked: 2016-12-10 07:39:06 +0800 CST

Dovecot 和脚本执行 - 系统命令的权限被拒绝

  • 0

我有一个正在寻找邮箱路径的 shell 脚本

result=`find /var/mailboxes -type d -name [email protected]`
perl -pi -e 's/Folder-to-Remove//g' $result/subscriptions

但是通过 Dovecot Sieve 执行它我收到一条错误消息:

lmtp:错误:查找:`/var/mailboxes/63':权限被拒绝

甚至/var/mailboxes/63不属于[email protected]

Shell 脚本有权被其他人执行。

bash dovecot shell-scripting sieve
  • 1 个回答
  • 358 Views
Martin Hope
JackTheKnife
Asked: 2016-12-07 11:48:31 +0800 CST

如何在 Dovecot's Sieve 中创建文件夹但不订阅?

  • 1

我有筛规则:

 if header :contains "subject" ["TOP-SECRET"] {
    setflag "\\Seen";
    fileinto :create "Hidden-Folder";
    stop;
}

基于此TOP-SECRET,主题中包含的任何内容都被移动到hidden-folder并设置为已读。

有没有办法Hidden-Folder通过筛子将其设置为未订阅(从文件夹列表中隐藏)?或者如何“管道”哪个帐户订阅文件必须由脚本编辑?

dovecot sieve
  • 2 个回答
  • 892 Views
Martin Hope
JackTheKnife
Asked: 2016-11-24 12:59:58 +0800 CST

ldappasswd 与 RootDN 绑定不起作用

  • 0

我正在尝试通过 RootDN 绑定更改用户的jdoe密码ldappasswd。执行的命令看起来像

ldappasswd -H ldap://10.12.21.10 -x -D "CN=ldap_manager,CN=Users,DC=mycompany,DC=local" -w ldap_manager_pswd -s newpasswd "CN=Jane Doe,DC=mycompany,DC=local"

但它会引发错误

结果:协议错误 (2) 附加信息:0000203D:LdapErr:DSID-0C090DA1,注释:未知扩展请求 OID,数据 0,v1db1

绑定工作正常,因为我可以执行ldapsearch

ldapsearch -H ldap://10.12.21.10 -x -D "CN=ldap_manager,CN=Users,DC=mycompany,DC=local" -w ldap_manager_pswd "CN=Jane Doe"

我缺少什么提示?

ldap
  • 1 个回答
  • 1996 Views
Martin Hope
JackTheKnife
Asked: 2016-10-29 05:36:06 +0800 CST

Dovecot:使用共享文件夹电子邮件地址列出共享文件夹用户

  • 0

我知道我可以使用文件夹名称列出共享文件夹用户

doveadm acl get -A "Public/TestFolder"

但是是否可以<shared>使用用于将用户添加<user>到共享文件夹的共享文件夹电子邮件地址来列出共享文件夹用户,例如:

dovadm acl add -u <shared> INBOX user=<user>
dovecot
  • 1 个回答
  • 384 Views
Martin Hope
JackTheKnife
Asked: 2016-09-23 08:15:17 +0800 CST

如何更改存储在数据库中的 Dovecot 用户密码?

  • 0

我有一个运行AuthDatabse配置的设置。从 webmail 端一切正常,但如果我想用来doveadm更改用户密码,数据库不受影响。

有什么线索吗?

dovecot
  • 1 个回答
  • 4365 Views
Martin Hope
JackTheKnife
Asked: 2014-04-01 11:54:42 +0800 CST

无法在 Sonicwall NSA2400(5.9 固件)上使用 CLI 添加地址对象

  • 1

基于“SonicOS 5.9 Enterprise Command Line Interface Reference Guide”中的示例,我尝试使用以下命令添加地址对象(与以前的固件相比没有更改):

address-object "Mail Server" host 192.168.168.33 zone DMZ

但它会引发错误:

% Error encountered at '^' marker: % No matching command found.

和标记显示"Mail Server"

有人有同样的问题吗?

谢谢

firewall
  • 1 个回答
  • 1519 Views
Martin Hope
JackTheKnife
Asked: 2014-02-26 08:42:56 +0800 CST

Syslog 和 LogAnalyzer - 如何检索源 IP 并计算它们

  • 1

我设置了运行 LogAnalyzer 的集中式 Syslog (centOS + rsys) 服务器,以便更好地显示日志。最近,我被要求提供来自所有 IP 的防火墙日志以获取特定防火墙声明,并计算列表中出现了多少特定 IP。

到目前为止,我知道如何显示特定防火墙语句的所有日志,但不知道如何从消息列中检索源 IP 并计算特定 IP 的出现次数。

是否有任何其他软件可以做到这一点,或者我需要创建自己的日志解析器来完成这项工作?

谢谢

syslog
  • 1 个回答
  • 795 Views
Martin Hope
JackTheKnife
Asked: 2014-02-06 07:53:35 +0800 CST

CentOS6 和 jbd2/dm-0-8 上的长等待 IO 时间

  • 3

运行 CentOS 6.5 和 2.6.32-431.3.1.el6.i686 内核的 Linux 机器最近由于等待 IO 导致 CPU 峰值高达 99%。

执行

while true; do date; ps auxf | awk '{if($8=="D") print $0;}'; sleep 1; done

给我那些 CPU 峰值:

root       300  0.0  0.0      0     0 ?        D    10:05   0:00  \_ [jbd2/dm-0-8]

所以它让我认为这些峰值的来源是 Journal Disk。

我发现在 Mysql Commit 期间,该主题与 IO Wait 相似,导致速度非常慢(EXT4 JDB2 at 99% IO),但我不知道在哪里可以找到我的分区是否正在记录数据。我的 fstab 看起来像

/dev/mapper/vg_ns01-lv_root /                       ext4    defaults        1 1
UUID=bc042a99-90a1-4d0a-a7b6-4122e9b2a201 /boot                   ext4    defaults        1 2
/dev/mapper/vg_ns01-lv_home /home                   ext4    defaults        1 2
/dev/mapper/vg_ns01-lv_swap swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0

谢谢

centos6
  • 1 个回答
  • 10347 Views
Martin Hope
JackTheKnife
Asked: 2013-09-10 12:01:28 +0800 CST

Splunk 作为系统日志分析器

  • 2

我正在运行集中式系统日志服务器(CentOS6 上的 rsyslog,运行良好)。下一步是将 Splunk 添加为系统日志分析工具。一切都安装得很好——Splunk 可以工作,可以登录前端并添加数据源(TCP 端口 514),但从那里我看不到 Splunk 索引的任何数据。

用于数据存储和处理的 rysylog 配置如下所示:

$ModLoad ommysql
$ModLoad ommysql
*.* :ommysql:127.0.0.1,rsysdb,rsyslog,password
*.* @@localhost

任何线索为什么 Splunk 没有收到任何数据?

谢谢

logging
  • 1 个回答
  • 255 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve