我们在发送邮件时遇到了问题。之前的邮件都经过我们的系统,但我们发现发送邮件占用了最大的系统使用率。查看日志文件后,我们发现以下错误:
Jan 23 14:44:08 mss60 sm-mta[28538]: s0N9Cjgc028538: SYSERR(root): collect: Cannot write ./dfs0N9Cjgc028538 (sm_io_flush||sm_io_error, uid=0, gid=129)
Jan 23 14:44:08 mss60 sm-mta[28538]: s0N9Cjgc028538: from=<>, size=-2147483648, class=0, nrcpts=1, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Jan 23 14:44:08 mss60 sm-msp-queue[25416]: s0K3U2cx005447: to=postmaster, delay=3+05:35:56, xdelay=00:01:23, mailer=relay, pri=-2126752017, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 421 4.3.0 collect: Cannot write ./dfs0N9Cjgc028538 (sm_io_flush||sm_io_error, uid=0, gid=129)
Jan 23 14:45:51 mss60 sm-mta[30145]: s0N9E8T8030145: SYSERR(root): collect: Cannot write ./dfs0N9E8T8030145 (sm_io_flush||sm_io_error, uid=0, gid=129)
Jan 23 14:45:51 mss60 sm-mta[30145]: s0N9E8T8030145: from=<>, size=-2147483648, class=0, nrcpts=1, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Jan 23 14:45:51 mss60 sm-msp-queue[25416]: s0K2U1L2001178: to=postmaster, delay=3+06:35:19, xdelay=00:01:43, mailer=relay, pri=-2126482017, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 421 4.3.0 collect: Cannot write ./dfs0N9E8T8030145 (sm_io_flush||sm_io_error, uid=0, gid=129)
Jan 23 14:47:34 mss60 sm-mta[32226]: s0N9Fq89032226: SYSERR(root): collect: Cannot write ./dfs0N9Fq89032226 (sm_io_flush||sm_io_error, uid=0, gid=129)
Jan 23 14:47:34 mss60 sm-mta[32226]: s0N9Fq89032226: from=<>, size=-2147483648, class=0, nrcpts=1, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Jan 23 14:47:34 mss60 sm-msp-queue[25416]: s0K1A1Ja006006: to=postmaster, delay=3+07:59:08, xdelay=00:01:42, mailer=relay, pri=-2126122017, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 421 4.3.0 collect: Cannot write ./dfs0N9Fq89032226 (sm_io_flush||sm_io_error, uid=0, gid=129)
经历了上述错误后,我们预计/var/spool/mqueue-client
存在权限问题。所以我们给了 770。mqueue-client
之后我们重新启动了 Apache,但发现邮件无法发送。任何这方面的建议/解决方案都将不胜感激。