Hello,
I have few IPs on the server. One user is set on dedicated IP address. When he send mail normally, exim sends from his dedicated IP. When he send from the website (using php mail()) it sends from the main server IP.
I am using spamblocker 4.5.3. The interface in it is as default:
also default. My /etc/virtual/domainips has the domain and the IP set correctly.
When sending normally using e-mail, there is "X-Authenticated-Id: <e-mail address>" and exim is taking the domain from it ($sender_address_domain). When sending from PHP it is just the username: "X-Authenticated-Id: <username>" and there is no domain. Therefore exim falls back to the default IP.
How can I make the user to send from his dedicated IP with php?
I have few IPs on the server. One user is set on dedicated IP address. When he send mail normally, exim sends from his dedicated IP. When he send from the website (using php mail()) it sends from the main server IP.
I am using spamblocker 4.5.3. The interface in it is as default:
Code:
interface = <; ${if exists{/etc/virtual/domainips}{${lookup{$sender_address_do
main}lsearch*{/etc/virtual/domainips}}}}
also default. My /etc/virtual/domainips has the domain and the IP set correctly.
When sending normally using e-mail, there is "X-Authenticated-Id: <e-mail address>" and exim is taking the domain from it ($sender_address_domain). When sending from PHP it is just the username: "X-Authenticated-Id: <username>" and there is no domain. Therefore exim falls back to the default IP.
How can I make the user to send from his dedicated IP with php?
Last edited: