Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14127

substitute smtp-mail (FROM)

$
0
0

==== Required information ==== -
iRedMail version:  -  iRedMail-0.8.7
Store mail accounts in which backend (LDAP/MySQL/PGSQL):  - LDAP
Linux/BSD distribution name and version:  - DEBIAN 7
Related log if you're reporting an issue:
====

Hi!
I did a rotation of IP-addresses like this, as described herein:
http://marinovl.blogspot.ru/2012/09/pos … mails.html
http://www.kutukupret.com/2010/12/06/po … -and-perl/

Here master.cf
127.0.0.1:2527 inet n n n - 0 spawn
user = nobody argv = / etc / postfix / random.pl

rotate1 unix - n - smtp
-o syslog_name = postfix-rotate1
-o smtp_helo_name = my-office1.com
-o smtp_bind_address = 46.30.43.8

rotate2 unix - n - smtp
-o syslog_name = postfix-rotate2
-o smtp_helo_name = mail1.my-office1.com
-o smtp_bind_address = 46.30.41.13

rotate3 unix - n - smtp
-o syslog_name = postfix-rotate3
-o smtp_helo_name = mail2.my-office1.com
-o smtp_bind_address = 46.30.42.229

rotate4 unix - n - smtp
-o syslog_name = postfix-rotate4
-o smtp_helo_name = mail3.my-office1.com
-o smtp_bind_address = 46.30.42.230


Here main.cf
transport_maps = proxy: ldap hmm etc / postfix / ldap / transport_maps_user.cf, proxy: ldap hmm etc / postfix / ldap / transport_maps_domain.cf, transport_maps = tcp: [127.0.0.1]: 2527
127.0.0.1:2527 _time_limit = 3600s

Now, what is the problem. The fact that each letter contains the address in the headers smtp-mail (FROM) and the program sends a stream of letters and all the same address smtp-mail (FROM). And any email provider, Yahoo or Google determines this is the address of the smtp-mail (FROM) and, accordingly, it prescribes DKIM signature box containing d = my-office1.com. How do I address to smtp-mail (FROM) when rotation is replaced with the address of the subdomain, from which there is currently shipping. Eg. If the current is sent to a subdomain mail2.my-office1.com, it is necessary to replace the address na@mail2.my-office1.com
Do I have to write a separate script here, or you can do setting postfix?
If this work is worth the money, I will pay


Viewing all articles
Browse latest Browse all 14127

Trending Articles