-bash-3.2#主机名 name.foo.bar.domain.tld -bash-3.2# 每当我发送一封电子邮件,它留下作为[email protected],我需要有sendmail将其更改为[email protected] 我怎么做?
我有一个configuration了sendmail的RHEL3服务器,用于中继邮件到: # "Smart" relay host (may be null) DSmailrelay 该中继服务器是不由我pipe理的交换服务器。 前几天它的IP地址在我不知情的情况下改变了,所以我更新了邮件中继入口的/ etc / hosts中的正确ip。 不幸的是目前没有邮件,maillog报告: Oct 26 14:32:39 fsimag sendmail[12580]: n9Q3VxPA012580: from=root, size=3685, class=0, nrcpts=1, msgid=<~R.*.2009102614315955@*>, relay=root@localhost Oct 26 14:32:39 fsimag sendmail[12580]: n9Q3VxPA012580: to=wodwest@*.net, delay=00:00:40, mailer=esmtp, pri=33685, dsn=4.4.3, stat=queued Oct 26 14:36:09 fsimag sendmail[13670]: n9Q3ZTcf013670: from=root, size=5831, class=0, nrcpts=1, msgid=<~R.medicus.2009102614352914@*>, relay=root@localhost Oct 26 14:36:09 fsimag […]
我目前正在开发一个应用程序,可能需要一次发送大量的电子邮件。 我想知道你们会推荐什么样的邮件服务器来安装在服务器上,这样做的最快(每分钟发送电子邮件)邮件服务器来做这件事,你有任何build议这个解决scheme的架构来平衡负载。 干杯, 巴里
我已经build立了sendmail来发送我们的PHP Web应用程序的邮件。 这很好,只要我们不发送邮件到我们的networking应用程序相同的域。 例如 我们的应用程序= www.ourapp.com发送完整的邮件,除了[email protected]“ 我不知道这是否相关,但我们的目标电子邮件托pipe与谷歌应用程序。 Sendmail队列是空的,日志文件总是说消息已经发送 我们正在运行CentOS作为我们的操作系统
我只注意到在我的两个CentOS盒子里的/tmp存储了一个奇怪的目录。 在一台机器上,temp目录被称为/tmp/www4-679109而在我的第二台机器上,temp目录是/tmp/sos_e6X9_3 。 这两个可疑目录都包含四个子目录:etc proc sys var。 这个可疑的目录树上的etc文件夹包含了我主要的submit.cf sendmailconfiguration文件的相同副本。 /tmp/sos_e6X9_3/etc/mail/submit.cf和/etc/mail/submit.cf 。 这让我觉得有些sendmail被用来中继邮件。 虽然我无法validationmaillog文件是不确定的是这种情况。 这个可疑的奇怪的目录中还包含一些审计日志文件。 ( /tmp/sos_e6X9_3/var/log/audit/audit.log.1 ) 日志文件内容片段: type=LOGIN msg=audit(1293719401.416:2772543): login pid=6662 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=557197 type=LOGIN msg=audit(1293719401.417:2772544): login pid=6660 uid=0 old auid=4294967295 new auid=0 old ses=4294967295 new ses=557198 type=LOGIN msg=audit(1293719401.418:2772545): login pid=6649 uid=0 old auid=4294967295 new auid=599 old ses=4294967295 […]
Arch Linux没有默认安装sendmail 。 所以我在我的系统日志中得到以下消息: Sep 15 13:16:01 zorro crond[18497]: mailing cron output for user collectors sh cronjob.sh Sep 15 13:16:01 zorro crond[18497]: unable to exec /usr/sbin/sendmail: cron output for user collectors sh cronjob.sh to /dev/null 什么是build议的方式来解决这个默认行为,所以实际的消息被发送? heirloom-mailx已安装并能够使用SMTP发送电子邮件。 crond可以使用mailx发送通知吗? 是否有任何使用mailx发送的sendmail mailx ? Sendmail甚至不在存储库中。
[root@arcade mail]# ls -l /etc/ | grep mail; ls -l /etc/mail; service sendmail start drwxr-xr-x. 2 root root 4096 2011-01-27 20:06 mail -rw-r–r– 1 root root 272 2009-11-17 21:13 mailcap -rw-r–r– 1 root root 1968 2010-10-26 14:44 mail.rc total 192 -rw-r–r– 1 root root 469 2007-08-27 11:25 access -rw-r—–. 1 root root 12288 2011-01-27 20:06 […]
鉴于这样的事情: xxx.net. CNAME surrogate-xxx.net. www.xxx.net. CNAME surrogate-xxx.net. mail.xxx.net. A 1.2.3.4 xxx.net. MX mail.xxx.net. surrogate-xxx.net. A 4.3.2.1 如果xxx.net的邮件按照MXlogging的指示转到1.2.3.4,或者按照CNAME指向的Alogging的指示转到4.3.2.1。
我对sendmail提交队列的目的感到困惑(默认是/ var / spool / clientmqueue)。 我认为当sendmail运行在邮件提交程序模式而不是守护进程模式下时,它被用来存储消息……但这仍然令人困惑。
我正在configuration一个邮件服务器,但sendmail不允许我发送来自远程设备或/和软件的邮件。 我的configuration:CentOS 6.4,Sendmail 8.14.4。 以下是我在尝试从服务器外部发送电子邮件时收到的消息 sendmail[25390]: rA4Fp855025390: [213.xxx] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA sendmail[25391]: rA4Fp86s025391: ruleset=check_rcpt, arg1=<[email protected]>, relay=[213.xxx], reject=550 5.7.1 <[email protected]>… Relaying denied. IP name lookup failed [213.xxx] sendmail[25391]: rA4Fp86s025391: from=<[email protected]>, size=0, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[213.xxx] 我知道中继主机有什么东西,但是如果你不知道中继主机怎么办? 我的意思是…无论如何,这是sendmail.mc文件 divert(-1)dnl include(`/usr/share/sendmail-cf/m4/cf.m4')dnl VERSIONID(`setup for linux')dnl OSTYPE(`linux')dnl dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl dnl define(`confLOG_LEVEL', […]