Hello!
For a bit more professional appearance i am trying to setup a dovecot proxy server for SMTP, IMAP and POP, as mentionned in this article (https://help.directadmin.com/item.php?id=2077). i have come a long way but i am stuck at point 3 b.
Point i is quite clear, done. Point ii mentions poort 10026, shouldnt this be 10025?
Point iii requires a line in exim.conf:
This is missing in my exim.conf. Should i add this? or should this already be in my exim.conf? In point iv there is a acl that should exist or be created, it does not exist in mine, shoudl i create this?
Could someone kindly advise me? or is there someone that already has this kind of setup?
Kind regards,
John.
For a bit more professional appearance i am trying to setup a dovecot proxy server for SMTP, IMAP and POP, as mentionned in this article (https://help.directadmin.com/item.php?id=2077). i have come a long way but i am stuck at point 3 b.
Edit /etc/exim.conf and ensure:
that it listens on 10025 port in our case:
daemon_smtp_ports = 25 : 587 : 465 : 10025
that it acl_smtp_mail is replace with:
acl_smtp_mail = ${if ={$interface_port}{587} {accept} {${if ={$interface_port}{10026} {acl_smtp_mail_proxy}{acl_check_mail}}}}
that exim overrides acl_smtp_mailauth(around 200 line):
acl_smtp_mailauth = smtp_mailauth
that overridden acls exist - after "begin acl" section:
smtp_mailauth:
accept
hosts = <; 127.0.0.1 ; ::1
condition = ${if eq{$interface_port}{10025}}
log_message = Will accept MAIL AUTH parameter for $authenticated_sender
deny
acl_smtp_mail_proxy:
deny
condition = ${if eq{$interface_port}{10025}}
condition = ${if eq{$authenticated_sender}{}}
message = All connections on port $interface_port need MAIL AUTH sender
Point i is quite clear, done. Point ii mentions poort 10026, shouldnt this be 10025?
acl_smtp_mail = ${if ={$interface_port}{587} {accept} {${if ={$interface_port}{10026} {acl_smtp_mail_proxy}{acl_check_mail}}}}
Point iii requires a line in exim.conf:
acl_smtp_mailauth = smtp_mailauth
This is missing in my exim.conf. Should i add this? or should this already be in my exim.conf? In point iv there is a acl that should exist or be created, it does not exist in mine, shoudl i create this?
Could someone kindly advise me? or is there someone that already has this kind of setup?
Kind regards,
John.