hi

is there any recommended way to implement SRS (Sender Rewrite Scheme) in Postfix
to get rid of SPF warnings/blocks for via "virtual_alias_maps" forwarded
messages?

status=sent (250 mail from IP 193.104.1.241 soft failed sender ID check.
Please ensure this IP is authorized to send mail on behalf of [google.com])
___________________

currently most forwarders are implmented this way, and yes the round(deliver_to)
is needed because numeric targets are physical usermappings from dbmail and
the limitation at the end is to make sure that multi-forwardings are handeled
native by dbmail

virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-forwarders.cf

user     = dbmailro
password = *****
dbname   = dbmail
hosts    = unix:/var/lib/mysql/mysql.sock inet:127.0.0.1:3307
query    = select deliver_to from dbmail_aliases where alias='%u@%d' and 
round(deliver_to)=0 and (select count(*)
from dbmail_aliases where alias='%u@%d')=1;

-- 

Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
CTO / software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/

http://www.thelounge.net/signature.asc.what.htm

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to