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-158099

Meiko Watu's questions

Martin Hope
Meiko Watu
Asked: 2013-05-04 02:01:03 +0800 CST

amavis 不会隔离所有垃圾邮件

  • 0

我正在尝试创建一个特殊的邮件帐户来收集所有传入的垃圾邮件,以便以后能够更轻松地为整个域训练 SA。

我们正在使用 Zimbra,但据我所知,问题与 zimbra 无关,因为它“几乎”可以正常工作。

我的设置是:

$quarantine_method_by_ccat{+CC_SPAMMY}     = 'smtp:127.0.0.1:10025'; 
$quarantine_method_by_ccat{CC_SPAMMY.",1"} = 'smtp:127.0.0.1:10025'; 
$quarantine_method_by_ccat{+CC_SPAM}       = 'smtp:127.0.0.1:10025'; 
$quarantine_to_maps_by_ccat{+CC_SPAMMY}     = ['spam@domain']; 
$quarantine_to_maps_by_ccat{CC_SPAMMY.",1"} = ['spam@domain']; 
$quarantine_to_maps_by_ccat{+CC_SPAM}       = ['spam@domain']; 

@spam_lovers_maps = @bypass_spam_checks_maps = ( [ qw('spam@domain',) ], ); 
$final_virus_destiny      = D_BOUNCE; 
$final_banned_destiny     = D_BOUNCE; 
$final_bad_header_destiny = D_PASS; 
$final_spam_destiny       = D_DISCARD; 
$final_destiny_by_ccat{+CC_SPAMMY} = $final_spam_destiny; 

到目前为止一切顺利,大部分时间作为垃圾邮件管理员我都会收到如下消息:

http://pastebin.com/fqaCsZR8

但是有些邮件会被丢弃,甚至不会发送到 spamasassin(我认为),这是否是垃圾邮件并不重要。

http://pastebin.com/2Uh34gBT

这甚至只是用户本人的自动回复。由服务器发出。

或 http://pastebin.com/bePUrEtf 或多或少的垃圾邮件。只是没有报告,这既不是自动回复器也不是邮件守护程序消息。

有任何想法吗?

谢谢!

spam
  • 1 个回答
  • 1953 Views
Martin Hope
Meiko Watu
Asked: 2013-04-05 05:13:41 +0800 CST

Asterisk / Voip 电话重定向到上次呼叫的号码

  • 0

我在使用 PBX(Asterisk 1.8、FreePBX、Grandstream GXP1200 电话)时遇到了一个非常奇怪的问题

如果我拨打内部号码(在本例中为 1020),星号服务器会将我重定向到电话的最后一个呼叫号码。

我启用并检查了调试日志,看起来 302 消息来自电话,但在电话配置中我在任何地方都看不到号码或任何重定向功能。

日志看起来像:

[2013-04-04 13:16:46] VERBOSE[3278] app_dial.c:     -- Called SIP/3543*
[2013-04-04 13:16:46] VERBOSE[3278] chan_sip.c: 
<--- Transmitting (no NAT) to 10.10.10.240:5062 --->
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.10.10.240:5062;branch=z9hG4bK197ebd0e30221ad9;received=10.10.10.240
From: "Michael *" <sip:1070@*.org;user=phone>;tag=1afa14dde19d2814
To: <sip:1020@*.org;user=phone>;tag=as24cb89e7
Call-ID: 62405cbce0fcf32e@10.10.10.240
CSeq: 39761 INVITE
Server: FPBX-2.10.0rc1(1.8.15)
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Contact: <sip:1020@10.10.11.201:5060>
Remote-Party-ID: "Philipp *" <sip:1020@*.org>;party=called;privacy=off;screen=no
Content-Length: 0

电话里的回答:

<------------>
[2013-04-04 13:16:46] VERBOSE[3278] app_dial.c:     -- Connected line update to SIP/1070-0000001c prevented.
[2013-04-04 13:16:46] VERBOSE[2654] chan_sip.c: 
<--- SIP read from UDP:10.10.10.247:5062 --->
SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP 10.10.11.201:5060;branch=z9hG4bK3f571876
From: "IT Department" <sip:1070@10.10.11.201>;tag=as21ffd3bb
To: <sip:3543*@10.10.10.247:5062;transport=udp;user=phone>;tag=16149ed6566c95c6
Call-ID: 37138635018102a42e632a2261de52aa@10.10.11.201:5060
CSeq: 102 INVITE
User-Agent: Grandstream GXP1200 1.2.5.3
Contact: <sip:001888*@*.org>
Diversion: <sip:35436*@10.10.10.247:5062;transport=udp;user=phone>;reason=unconditional
Content-Length: 0

本例中拨打的号码是美国 AT&T 的电话会议服务器。

我检查了所有配置文件,如果数字在某个地方但在目录上进行 grep 并且数字不返回任何内容。

希望该消息不是针对 Grandstream 手机的。

也许有可能从星号端禁用呼叫转移完成?

提前致谢

voip
  • 1 个回答
  • 751 Views
Martin Hope
Meiko Watu
Asked: 2013-03-01 04:46:10 +0800 CST

ssh 登录 kerberos / winbind 后 SSH 即时注销

  • 2

我设置了一个 ubuntu 服务器,它根据我们的 W2k8 域的活动目录进行身份验证。一切顺利,我在 getent passwd 和 wbinfo 中看到了所有用户。

我希望能够在机器上使用 kerberos 和 winbind auth,到目前为止一切正常。

但是当我使用 AD 用户登录到服务器时,我只看到了 motd 而不是收到提示,而是再次注销。

授权日志

Feb 28 15:34:48 server sshd[12635]: Postponed keyboard-interactive for micha from 10.10.10.121 port 36519 ssh2 [preauth]
Feb 28 15:34:50 server sshd[12637]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=ub64-it.city.domain.org  user=micha
Feb 28 15:34:50 server sshd[12637]: pam_krb5(sshd:auth): pam_sm_authenticate: entry (nonull)
Feb 28 15:34:50 server sshd[12637]: pam_krb5(sshd:auth): (user micha) attempting authentication as micha@CITY.DOMAIN.ORG
Feb 28 15:34:50 server sshd[12637]: pam_krb5(sshd:auth): user micha authenticated as micha@CITY.DOMAIN.ORG
Feb 28 15:34:50 server sshd[12637]: pam_krb5(sshd:auth): pam_sm_authenticate: exit (success)
Feb 28 15:34:50 server sshd[12637]: pam_winbind(sshd:account): user 'micha' granted access
Feb 28 15:34:50 server sshd[12635]: Postponed keyboard-interactive/pam for micha from 10.10.10.121 port 36519 ssh2 [preauth]
Feb 28 15:34:50 server sshd[12635]: Accepted keyboard-interactive/pam for micha from 10.10.10.121 port 36519 ssh2
Feb 28 15:34:50 server sshd[12635]: pam_krb5(sshd:session): pam_sm_open_session: entry
Feb 28 15:34:50 server sshd[12635]: pam_krb5(sshd:session): no context found, creating one
Feb 28 15:34:50 server sshd[12635]: pam_krb5(sshd:session): (user micha) found initial ticket cache at /tmp/krb5cc_pam_e12637
Feb 28 15:34:50 server sshd[12635]: pam_krb5(sshd:session): (user micha) initializing ticket cache FILE:/tmp/krb5cc_72208_e12635
Feb 28 15:34:50 server sshd[12635]: pam_krb5(sshd:session): pam_sm_open_session: exit (success)
Feb 28 15:34:50 server sshd[12635]: pam_unix(sshd:session): session opened for user micha by (uid=0)
Feb 28 15:34:50 server sshd[12771]: Received disconnect from 10.10.10.121: 11: disconnected by user
Feb 28 15:34:50 server sshd[12635]: pam_krb5(sshd:session): pam_sm_close_session: entry (silent)
Feb 28 15:34:50 server sshd[12635]: pam_krb5(sshd:session): pam_sm_close_session: exit (success)
Feb 28 15:34:50 server sshd[12635]: pam_unix(sshd:session): session closed for user micha

SSH 客户端只是告诉我它已关闭

    Last login: Thu Feb 28 15:25:26 2013 from ub64-it.city.domain.org
    Connection to server closed

使用 -vv 我看到:

    debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
    debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
    debug2: channel 0: rcvd eow
    debug2: channel 0: close_read
    debug2: channel 0: input open -> closed
    debug2: channel 0: rcvd eof
    debug2: channel 0: output open -> drain
    debug2: channel 0: rcvd close
    Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-37-virtual x86_64)

     * Documentation:  https://help.ubuntu.com/

      System information as of Thu Feb 28 15:40:36 EAT 2013

      System load:  0.0                Users logged in:     1
      Usage of /:   16.7% of 18.21GB   IP address for eth0: 10.10.11.9
      Memory usage: 48%                IP address for tap0: 10.10.14.1
      Swap usage:   0%                 IP address for tap1: 10.10.12.1
      Processes:    94                 IP address for tun0: 10.10.13.1

      Graph this data and manage this system at https://landscape.canonical.com/


    The programs included with the Ubuntu system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.

    Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
    applicable law.

    Last login: Thu Feb 28 15:34:50 2013 from ub64-it.city.domain.org
    debug2: channel 0: obuf empty
    debug2: channel 0: close_write
    debug2: channel 0: output drain -> closed
    debug2: channel 0: almost dead
    debug2: channel 0: gc: notify user
    debug2: channel 0: gc: user detached
    debug2: channel 0: send close
    debug2: channel 0: is dead
    debug2: channel 0: garbage collecting
    debug1: channel 0: free: client-session, nchannels 1
    Connection to server closed.

有任何想法吗?

最好的问候迈克尔

ssh
  • 1 个回答
  • 4133 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