EXIM Outbound Mail
Unable to configure EXIM to send an outbound SMTP relay to a remote mail server. Can someone provide assistance on how to configure EXIM in WHM to send outbound mail to a remote mail server?
The failed configuration settings as follows:
login:
driver = plaintext
public_name = LOGIN
server_prompts = "userID:: : userpassword::"
server_set_id = $1
server_condition = "${if pam{$1:$2}{1}{0}}"
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
remote_smtp_over_ssh:
driver = smtp
port = 2525
hosts_require_auth = outbound.mailhop.org
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
send_to_gateway:
driver = manualroute
domains = !+local_domains
transport = remote_smtp
route_list = * outbound.mailhop.org
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
send_to_smart_host:
driver = manualroute
route_list = !+local_domains outbound.mailhop.org
transport = remote_smtp
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
See example of EXIM script below:
internal_routing:
driver = dnslookup
domains = +all_local_domains
transport = smtp_inbound
no_more
new_mailbox:
driver = redirect
domains = le.ac.uk:domain.ac.uk
data = ${lookup ... in new directory...
pause_mail:
driver = redirect
domains = le.ac.uk:domain.ac.uk
condition = PAUSE_RCPT
data = :defer:
allow_defer
no_verify
no_more
find_mailbox:
driver = redirect
domains = le.ac.uk:domain.ac.uk
data = ${lookup ...-
The setup is typically similar to that of Mandrill and Sendgrid, perhaps with the additional settings you need such as the port. These might help: [url=http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/EximMail#Smarthost]Mail support [url=http://www.thecpaneladmin.com/implementing-mandrill-exim-cpanel/]Implementing Mandrill with Exim on cPanel :: The cPanel Admin 0 -
The port number is found in EXIM under remote_smtp_over_ssh: driver = smtp port = 2525 hosts_require_auth = outbound.mailhop.org 0 -
To clarify, per your last post, is the issue now resolved? Thank you. 0 -
No, question is not resolved. 0 -
Please check to see if the following post is helpful: How To: Setup SMTP Relay for All Mail/Domains on Server with SMTP Authentication If it's not, please provide as many details as possible about what exactly you are attempting to configure. Thank you. 0 -
Error message from syntax check reads: 2014-04-12 23:20:24 Exim configuration error: two server authenticators (courier_plain and plain) have the same public name (PLAIN) 0 -
Amended authenticators section in the exim.conf:: plain: driver = plaintext public_name = PLAIN server_prompts = : server_set_id = $2 server_condition = "${if pam{$2:$3}{1}{0}}" login: driver = plaintext public_name = LOGIN server_prompts = "userID:: : password::" server_set_id = $1 server_condition = "${if pam{$1:$2}{1}{0}}" 0 -
Could you elaborate if you are still experiencing an issue, and if so, what error message you receive? When you post that you have modified your settings, we can not be sure if that means you have resolved the issue. Thank you. 0 -
Thank answer is still not resolved. What EXIM authenticators block should we use to login to a remote SMTP site: outbound.mailhop.org login: driver = plaintext public_name = LOGIN server_prompts = "userID:: : password::" server_set_id = $1 server_condition = "${if pam{$1:$2}{1}{0}}" 0 -
You may need to consult with a system administrator or post to the Exim mailing list if the information in the thread referenced here is not helpful. Keep in mind that assistance with custom ACL rules falls outside the scope of cPanel support. So, while we can try to direct you to the best resource possible, we can't always provide you with the exact custom rules to implement. Thank you. 0 -
Can we use nano/pico to make custom ACL changes? EXIM Message Board: No they don't. You didn't show us the authenticator named "courier_plain", which has the public_name "PLAIN" - like the error message said. Perhaps you're not looking at the actual configuration file that exim has been told to use? 0 -
The following file is used for local Exim customizations via the command line: /etc/exim.conf.local
Thank you.0
Please sign in to leave a comment.
Comments
12 comments