future-architect / vuls

Agent-less vulnerability scanner for Linux, FreeBSD, Container, WordPress, Programming language libraries, Network devices
https://vuls.io/
GNU General Public License v3.0
10.97k stars 1.16k forks source link

Mail is delivered to To, but mail to Cc is not delivered. #1135

Open keides2 opened 3 years ago

keides2 commented 3 years ago

What did you do? (required. The issue will be closed when not provided.)

1130

Mail is delivered to To, but mail to Cc is not delivered.

What did you expect to happen?

Mail is delivered not only to the To addresses but also to the Cc addresses.

What happened instead?

Mail is delivered only to the To addresses.

Steps to reproduce the behaviour

1130

Configuration (MUST fill this out):

Hash : d6435d2

To check the commit hash of HEAD $ vuls -v

vuls v0.15.2 build-20210118_095239_d6435d2

[servers]

[slack]
hookURL = "https://outlook.office.com/webhook/xxxx"
channel = "#VulsReport"
authUser = "VulsReporter"

[servers.Project-A]
type = "pseudo"
cpeNames = [
    "cpe:/o:netbsd:netbsd:-",
    "cpe:/a:zlib:zlib:1.1.4",
    "cpe:/a:info-zip:unzip:5.52",
    "cpe:/a:info-zip:wiz:2.31",
    "cpe:/a:microsoft:sql_server:2017:-:~~~~x64~",
    "cpe:/o:microsoft:windows_10:1607::~~~~x64~",
    "cpe:/a:microsoft:.net_framework:3.5.1",
    "cpe:/a:microsoft:.net_framework:4.7.2",
    ]

[email]
smtpAddr = "localhost"
smtpPort = "25"
from = "vuls@xxxx.com"
to = [
    "aaaa@xxxx.com",
    "bbbb@xxxx.com",
    ]
cc = [
    "cccc@xxxx.com",
    "dddd@xxxx.com",
    ]
subjectPrefix = "[VulsReport]"

1130

keides2 commented 3 years ago

The following is a part of the mail log when it is not sent to CC. CC destination: ktsj.@xxxx.com ksk.shmtn@xxxx.com ry.mnr@xxxx.com str.tmb@xxxx.com shch.hsk@xxxx.com Have not been sent.

Jan 20 06:25:14 localhost postfix/smtpd[15200]: connect from localhost[::1]
Jan 20 06:25:14 localhost postfix/smtpd[15200]: 7B35136FA61: client=localhost[::1]
Jan 20 06:25:14 localhost postfix/cleanup[15203]: 7B35136FA61: message-id=<20210119212514.7B35136FA61@mail.vuls.com>
Jan 20 06:25:14 localhost postfix/smtpd[15200]: disconnect from localhost[::1]
Jan 20 06:25:14 localhost postfix/qmgr[1810]: 7B35136FA61: from=<vuls@xxxx.com>, size=1013, nrcpt=9 (queue active)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<kn.kbysh@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<kntr.tkk@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<mshr1.knk@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<mstm.ymmt@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<n.kd@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<sk.ymsk@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<tmhr.st@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<tsh.@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/smtp[15204]: 7B35136FA61: to=<tyk.kw@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.06, delays=0/0.01/0.04/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as D555120061B3)
Jan 20 06:25:14 localhost postfix/qmgr[1810]: 7B35136FA61: removed
Jan 20 06:26:54 localhost postfix/scache[15229]: statistics: start interval Jan 20 06:22:59
Jan 20 06:26:54 localhost postfix/scache[15229]: statistics: domain lookup hits=0 miss=4 success=0%
Jan 20 06:26:54 localhost postfix/scache[15229]: statistics: address lookup hits=0 miss=4 success=0%
Jan 20 06:26:54 localhost postfix/scache[15229]: statistics: max simultaneous domains=1 addresses=1 connection=4

The following is a part of the mail log when using the previous version.

Jan  4 06:13:11 localhost postfix/smtpd[28338]: connect from localhost[::1]
Jan  4 06:13:11 localhost postfix/smtpd[28338]: 0942C36FA61: client=localhost[::1]
Jan  4 06:13:11 localhost postfix/cleanup[28341]: 0942C36FA61: message-id=<20210103211311.0942C36FA61@mail.vuls.com>
Jan  4 06:13:11 localhost postfix/smtpd[28338]: disconnect from localhost[::1]
Jan  4 06:13:11 localhost postfix/qmgr[1810]: 0942C36FA61: from=<vuls@xxxx.com>, size=1006, nrcpt=14 (queue active)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<kn.kbysh@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<ktsj.@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<ksk.shmtn@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<kntr.tkk@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<mshr1.knk@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<mstm.ymmt@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<n.kd@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<ry.mnr@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<sk.ymsk@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<str.tmb@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<shch.hsk@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<tmhr.st@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<tsh.@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/smtp[28365]: 0942C36FA61: to=<tyk.kw@xxxx.com>, relay=smtp.xxxx.com[xxx.xxx.xxx.xxx]:25, delay=0.07, delays=0/0.02/0.03/0.01, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 32C1D208C05D)
Jan  4 06:13:11 localhost postfix/qmgr[1810]: 0942C36FA61: removed

CC destination: ktsj.@xxxx.com ksk.shmtn@xxxx.com ry.mnr@xxxx.com str.tmb@xxxx.com shch.hsk@xxxx.com Have been sent.