Manuel Mely put forth on 3/15/2010 9:10 AM: > Hi, > > Is there a way to change my hostname based on the relay i'm using? > > For example, i have postfix servers in an ha config that relays to three > differents mail service providers, this providers restricts me in what > helo i have > to use; so if i'm using ISP1 as relay, i must identify as helo1.mydomain > if i'm using ISP2 then helo2.mydomain... this it's really annoying but > rules are rules. > Then, i need a way to change the helo based on the sender_dependent_relayhost > clause or something like that. > I really don't want to break my ha loadbalancers. :)
Total bullshit. Spammer. No words of mine will stop you, so I won't even try. However, maybe if the fine folks here all have the common sense to refuse to help you, at the least, maybe you'll thankfully spam using someone else's MTA to prevent tarnishing Postfix's reputation. I hear Qmail is popular with many spammers. Go try Qmail. You might even find some jerks in the Qmail support forums to help you get around the spam prevention measures of your "3 ISPs". If you know Perl, you could use qpsmtpd and change the code to do whatever you need it to. I'm guessing, and hoping, that you don't know shiznit about Perl. Don't spam. If you're going to anyway, don't use Postfix. Scumbag. -- Stan