Jump to content

james_4k2

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Everything posted by james_4k2

  1. Thanks Steve and Brendan for the reply and I tried ur suggestion and still no luck. Here is the output of my maillog found in /var/log/maillog Jul 8 13:27:24 myserver sendmail[1958]: n68HRO0e001958: [email protected], size=165, class=0, nrcpts=1, msgid=<200907081727.n68HRO0e001958@clearica>, relay=root@localhost Jul 8 13:27:24 myserver sendmail[1961]: n68HROIu001961: from=<[email protected]>, size=373, class=0, nrcpts=1, msgid=<200907081727.n68HRO0e001958@clearica>, proto=ESMTP, daemon=MTA, relay=clearica. [127.0.0.1] Jul 8 13:27:24 myserver sendmail[1958]: n68HRO0e001958: [email protected], [email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30165, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n68HROIu001961 Message accepted for delivery) Jul 8 13:27:25 myserver sendmail[1963]: n68HROIu001961: to=<[email protected]>, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=120373, relay=111.11.1.111, dsn=5.1.2, stat=Host unknown (Name server: 111.11.1.111: host not found) Jul 8 13:27:25 myserver sendmail[1963]: n68HROIu001961: n68HRPIu001963: DSN: Host unknown (Name server: 111.11.1.111: host not found) Jul 8 13:27:25 myserver sendmail[1963]: n68HRPIu001963: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31569, relay=111.11.1.111, dsn=5.1.2, stat=Host unknown (Name server: 111.11.1.111: host not found) Jul 8 13:27:25 myserver sendmail[1963]: n68HRPIu001963: n68HRPIv001963: return to sender: Host unknown (Name server: 111.11.1.111: host not found) Jul 8 13:27:25 myserver sendmail[1963]: n68HRPIv001963: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32593, dsn=2.0.0, stat=Sent
  2. Greetings, I have a server with CentOS 5 and I have to send email using a php script from that server. The php mail script works in other location but in one location I have to use their smtp relay IP in order to send emails. I have tried to configure sendmail.mc but still no success. If I send just a test hello mail through telnet then it works but not with a php mail function. here is my maillog- Jul 5 20:10:42 xxx sendmail[16714]: n660AgwO016714: n660AgwP016714: return to sender: Host unknown (Name server: 101.1.1.101: host not found) Jul 5 20:10:42 xxx sendmail[16714]: n660AgwP016714: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32592, dsn=2.0.0, stat=Sent Any suggestion will be helpful. Thanx in advance
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.