Hi misc@, long time no see (and please CC me), In smtpd.conf, the "limit mta" line can be qualified like this:
limit mta for domain gmail.com inet4 which I did because I recently started getting bounces from google saying 550-5.7.1 [2001:19f0:5001:2f5:5400:ff:fe77:861d] Our system has detected that this message does not meet IPv6 sending guidelines regarding PTR records and authentication. Please review https://support.google.com/mail/?p=IPv6AuthError for more information . d63si3145626edc.222 - gsmtp I think they started prioritizing their AAAA (IPv6) records over their A (IPv4) DNS records, so now opensmtpd is preferring to use IPv6. I tried a bit but I don't really know what they're mad about, and whatever, I don't want to fight them, I just want my mail to get through. That limit line fixed it for gmail.com, but now I have a new problem: the huge number of domains that are actually hosted on smtp.gmail.com. I am wondering if there is some way to express "use IPv4 if the mail *server* is gmail" instead of "if the mail *domain* is gmail". Something like: limit mta for mx smtp.gmail.com inet4 Right now I'm stuck enumerating all Google Apps for Business accounts I know of and adding a line for each. = Nick