Hi,
I currently have a dedicated server with 4 IPs and an SMTP account from SendGrid.
Now I am trying to send emails via those IPs through Postfix. I have configured Postfix with SMTP account bought from SendGrid.
Postfix Configuration:
Code:
relayhost = smtp.example.com:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = static:username:password
header_size_limit = 4096000
smtp_sasl_security_options = noanonymous
smtp_bind_address = 74.208.161.153
I can't send emails through IP address. However, I can send emails through localhost. I can also send emails through SMTP account.
How to send email via configured IP address?