我有一个PHP脚本,它使用PEAR邮件发送电子邮件。然而,在我的新服务器上,它并没有发送大多数电子邮件。
Postfix是邮件服务器,opensuse 11.4是os。
我的后缀没有收到电子邮件,只是发送。我有一个用来接收邮件的bluehost帐户。我有一个中继散列,其中列出了egeneration.com.au和senderdomain.com。我的邮件地址如下:
biff = no
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debug_peer_list = egeneration.com.au
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
myorigin = egeneration.com.au
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
unknown_local_recipient_reject_code = 450
virtual_alias_maps = hash:/etc/postfix/virtual试图从senderdomain.com发送电子邮件时的日志如下:
Oct 30 09:55:34 i-1356-3913-VM postfix/pickup[21809]: 6AF4D814D5: uid=30 from=<wwwrun>
Oct 30 09:55:34 i-1356-3913-VM postfix/cleanup[21819]: 6AF4D814D5: message-id=<20111029225534.6AF4D814D5@i-1356-3913-VM.localdomain>
Oct 30 09:55:34 i-1356-3913-VM postfix/qmgr[21810]: 6AF4D814D5: from=<wwwrun@egeneration.com.au>, size=1328, nrcpt=2 (queue active)
Oct 30 09:55:35 i-1356-3913-VM postfix/smtp[21822]: 6AF4D814D5: to=<info@senderdomain.com>, relay=mail.senderdomain.com[70.40.219.35]:25, delay=0.94, delays=0.07/0.01/0.6/0.26, dsn=5.0.0, status=bounced (host mail.senderdomain.com[70.40.219.35] said: 550-Verification failed for <wwwrun@egeneration.com.au> 550-No Such User Here" 550 Sender verify failed (in reply to RCPT TO command))
Oct 30 09:55:36 i-1356-3913-VM postfix/smtp[21821]: 6AF4D814D5: to=<recipient@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.53.26]:25, delay=1.9, delays=0.07/0.01/0.7/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1319928936 e9si13946802pbd.228)
Oct 30 09:55:36 i-1356-3913-VM postfix/cleanup[21819]: 5857F814D6: message-id=<20111029225536.5857F814D6@i-1356-3913-VM.localdomain>
Oct 30 09:55:36 i-1356-3913-VM postfix/qmgr[21810]: 5857F814D6: from=<>, size=3500, nrcpt=1 (queue active)
Oct 30 09:55:36 i-1356-3913-VM postfix/bounce[21823]: 6AF4D814D5: sender non-delivery notification: 5857F814D6
Oct 30 09:55:36 i-1356-3913-VM postfix/qmgr[21810]: 6AF4D814D5: removed
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 220-box351.bluehost.com ESMTP Exim 4.76 #1 Sat, 29 Oct 2011 16:55:37 -0600
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 220-We do not authorize the use of this system to transport unsolicited,
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 220 and/or bulk e-mail.
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: > egeneration.com.au[70.40.219.35]:25: EHLO i-1356-3913-VM.localdomain
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 250-box351.bluehost.com Hello i-1356-3913-VM.localdomain [125.7.120.34]
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 250-SIZE 52428800
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 250-PIPELINING
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 250-AUTH PLAIN LOGIN
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 250-STARTTLS
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 250 HELP
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: server features: 0x101d size 52428800
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: Using ESMTP PIPELINING, TCP send buffer size is 4096
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: > egeneration.com.au[70.40.219.35]:25: MAIL FROM:<>
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: > egeneration.com.au[70.40.219.35]:25: RCPT TO:<wwwrun@egeneration.com.au>
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: > egeneration.com.au[70.40.219.35]:25: DATA
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 250 OK
O ct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 550 No Such User Here"
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: connect to subsystem private/bounce
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr nrequest = 0
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr flags = 0
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr queue_id = 5857F814D6
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr original_recipient = wwwrun@egeneration.com.au
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr recipient = wwwrun@egeneration.com.au
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr offset = 194
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr dsn_orig_rcpt =
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr notify_flags = 0
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr status = 5.0.0
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr diag_type = smtp
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr diag_text = 550 No Such User Here"
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr mta_type = dns
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr mta_mname = egeneration.com.au
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr action = failed
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: send attr reason = host egeneration.com.au[70.40.219.35] said: 550 No Such User Here" (in reply to RCPT TO command)
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: private/bounce socket: wanted attribute: status
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: input attribute name: status
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: input attribute value: 0
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: private/bounce socket: wanted attribute: (list terminator)
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: input attribute name: (end)
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: 5857F814D6: to=<wwwrun@egeneration.com.au>, relay=egeneration.com.au[70.40.219.35]:25, delay=1.1, delays=0.07/0/0.79/0.24, dsn=5.0.0, status=bounced (host egeneration.com.au[70.40.219.35] said: 550 No Such User Here" (in reply to RCPT TO command))
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 503-All RCPT commands were rejected with this error:
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 503-No Such User Here"
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 503 Valid RCPT command must precede DATA
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: > egeneration.com.au[70.40.219.35]:25: RSET
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: > egeneration.com.au[70.40.219.35]:25: QUIT
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: < egeneration.com.au[70.40.219.35]:25: 250 Reset OK
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: name_mask: resource
Oct 30 09:55:37 i-1356-3913-VM postfix/smtp[21822]: name_mask: software
Oct 30 09:55:37 i-1356-3913-VM postfix/qmgr[21810]: 5857F814D6: removed有人能帮帮我吗?
更新:我已经在bluehost.com上为wwwrun@egeneration.com.au创建了一个邮箱,并再次进行了测试,它似乎通过了ok。有没有办法告诉后缀使用发件人的地址而不是wwwrun@egeneration.com.au?
发布于 2011-10-30 00:08:22
您还没有将Bluehost域"egeneration.com.au“配置为接受名为”www.run“的用户的邮件。纠正一下。
https://serverfault.com/questions/326048
复制相似问题