EXIM and sendmail configuration

SliderNMFD

Member
Dec 6, 2004
12
0
151
I've gone through some extensive reading and have yet to figure out what my issue really is. Basically, I can send email locally to any user on the server without problems. I am able to retrieve mail as any user as well via Outlook or any other mail program.

I recently changed from a shared reseller environment to a standalone server. One of my clients uses some extensive php mail() scripts to do some mailings as well as receive comments and files for his sites. When the enduser tries to access the forum and submit, I get the following error in my exim_mainlog:

Code:
[email protected] [/var/log]# tail -f exim_mainlog
2005-03-31 13:00:17 1DH4tt-0000CC-NC failed to expand condition "${perl{checkspam}}" for literal router: Gid 99 is not permitted to relay mail at /etc/exim.pl line 365.

2005-03-31 13:00:17 1DH4tt-0000CC-NC ** [email protected] R=fail_remote_domains: unrouteable mail domain "gmail.com"
2005-03-31 13:00:17 1DH4tt-0000CE-Og <= <> R=1DH4tt-0000CC-NC U=mailnull P=local S=1254
2005-03-31 13:00:17 1DH4tt-0000CC-NC Completed
2005-03-31 13:00:17 1DH4tt-0000CE-Og User 0 set for local_delivery transport is on the never_users list
2005-03-31 13:00:17 1DH4tt-0000CE-Og == [email protected] <[email protected]> R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
2005-03-31 13:00:17 1DH4tt-0000CE-Og ** [email protected] <[email protected]>: retry timeout exceeded
2005-03-31 13:00:17 1DH4tt-0000CE-Og [email protected] <[email protected]>: error ignored
2005-03-31 13:00:17 1DH4tt-0000CE-Og Completed
I'm lost as to what I need to change, but I need to have my client be able to send mail via the mail().

The sendmail path is correct in my php.ini file as well.

Any help would be appreciated.
 

SliderNMFD

Member
Dec 6, 2004
12
0
151
I updated that to send it to my main account on there and still a no go. Here is where I am at right now after updating my script a little bit:

Code:
2005-03-31 15:20:25 1DH75V-0001uh-AT failed to expand condition "${perl{checkspam}}" for lookuphost router: Gid 99 is not permitted to relay mail at /etc/exim.pl line 365.

2005-03-31 15:20:25 1DH75V-0001uh-AT failed to expand condition "${perl{checkspam}}" for literal router: Gid 99 is not permitted to relay mail at /etc/exim.pl line 365.

2005-03-31 15:20:25 1DH75V-0001uh-AT ** [email protected] R=fail_remote_domains: unrouteable mail domain "gmail.com"
2005-03-31 15:20:25 1DH75V-0001uj-Bo <= <> R=1DH75V-0001uh-AT U=mailnull P=local S=1252
2005-03-31 15:20:25 1DH75V-0001uh-AT Completed
2005-03-31 15:20:25 1DH75V-0001un-DT <= <> U=me P=local-bsmtp S=1618 [email protected]
2005-03-31 15:20:25 1DH75V-0001un-DT => slidernmfd <[email protected]> R=virtual_user T=virtual_userdelivery
2005-03-31 15:20:25 1DH75V-0001un-DT Completed
2005-03-31 15:20:25 1DH75V-0001uj-Bo => slidernmfd <[email protected]> R=virtual_sa_user T=virtual_sa_userdelivery
2005-03-31 15:20:25 1DH75V-0001uj-Bo Completed
 

SliderNMFD

Member
Dec 6, 2004
12
0
151
When I turned off the following:

Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required)

it would send emails without a problem.

WHM 10.0.0 cPanel 10.0.0-R112
exim-4.44-0_cpanel_smtpctl_av_rewrite_mm2_mmmtrap_exiscan_md5pass

The problem is from what I read, that option from the Tweek Settings cuts down on spam and that's a good thing because it adds a second layer of authentication to emails.