Hi Guys I have sendmail on my pbx server and I am using CentOS 6.4 and I would like get sendmail to work correctly I already have an mail server on the network but how do I get sendmail to work with my postfix/Iredmail email server? Code: Aug 25 01:01:02 pbx sendmail[26241]: r7P511tR026241: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30449, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r7P512nB026244 Message accepted for delivery) Aug 25 01:01:02 pbx sendmail[26245]: r7P512nB026244: to=<[email protected]>, ctladdr=<[email protected]> (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30917, dsn=2.0.0, stat=Sent Aug 25 01:06:28 pbx sendmail[26518]: r7P56STZ026518: [email protected], size=149268, class=0, nrcpts=1, msgid=<[email protected]>, relay=asterisk@localhost Aug 25 01:06:28 pbx sendmail[26519]: r7P56SLx026519: from=<[email protected]>, size=149438, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=pbx.domain.com [127.0.0.1] Aug 25 01:06:28 pbx sendmail[26518]: r7P56STZ026518: [email protected], [email protected] (498/497), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=179268, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r7P56SLx026519 Message accepted for delivery) Aug 25 01:06:28 pbx sendmail[26521]: STARTTLS=client, relay=mail.domain.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256 Aug 25 01:06:28 pbx sendmail[26521]: r7P56SLx026519: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=269438, relay=mail.domain.com. [206.51.8.8], dsn=5.7.1, stat=User unknown Aug 25 01:06:28 pbx sendmail[26521]: r7P56SLx026519: r7P56SLx026521: DSN: User unknown Aug 25 01:06:30 pbx sendmail[26521]: r7P56SLx026521: to=<[email protected]>, delay=00:00:02, xdelay=00:00:01, mailer=esmtp, pri=180654, relay=mail.domain.com. [206.51.8.8], dsn=2.0.0, stat=Sent (Ok: queued as 0A891581250) please note I took the actual domain out due to spamming reasons.
I have it fix now I just followed this guide: http://dbaron.org/linux/sendmail to for username and password and setup so now everything is working ok.