General Community > Scripting Help
Exim configuration help, need variables
(1/1)
shamun:
edit: Actually, if a mod could move this to "Hosts, Hosting and Commercial Services" that would probably be a better fit and possibly get me more help
I don't focus on MTAs so I don't know what I need to do, but a client has a problem with it sending emails out with the "From" address of any email address on the server (even goes cross-domain on vps).
OS: CentOS
MTA: Exim
Setup: ActiveCampaign 1-2-All PHP Mailer (for newsletters) -> Exim -> Amazon SES integration (http://www.csrdu.org/nauman/2011/08/12/setting-up-exim-to-use-amazon-simple-email-service-ses/ [nofollow])
Problem: When sending out newsletters using 12all, the emails are sent successfully but use any email address on the server. So if its installed on x.com it will use account@x.com, account2@x.com, anotheraccount@y.com, yetanother@y.com etc. It will just use any email address setup on the server. Only happens with SES and since the from address needs to be specified which is done below.
Code I think to be the problem (specifically one bolded):
--- Code: ---begin transports
aws_ses_pipe:
debug_print = "T: aws_ses_pipe for $local_part@$domain"
driver = pipe
command = AWS_SES_SEND_EMAIL -k AWS_CREDENTIALS_FILE -r \
[b]-f $h_from: $local_part@$domain[/b]
freeze_exec_fail = true
message_prefix =
return_fail_output = true
--- End code ---
Anyone know how I can change the from address to use the ones from the headers?
Navigation
[0] Message Index
Go to full version