Apparently, though unproven, at 21:56 on Sunday 23 January 2011, kashani did opine thusly:
> On 1/23/2011 11:23 AM, Alex Schuster wrote: > > Relaying does not work yet, I get a "Relay access denied (in reply to > > RCPT TO command)" error. But my initial goal is reached, I can send mail > > to {root,wonko}@wonkology.org. That's all I wanted. > > > > Many many thanks kashani! Your howto is much more than I expected, it is > > much appreciated. I realize that postfix is not too complicated, so I > > will play more with it when I have some spare time. > > Postifx is definitely worth the investment and people always seem > surprised to find that 5-15 lines of config is all they need. You're > welcome for the config. I spent most of last week learning the ins and > out of authentication and relay hosts that hard way when I changed the > domain of our servers and needed to update everything. > > I'm using a lot of EC2 machines and didn't want to maintain IP lists so > I auth all servers trying to relay against my two Postfix servers. This > config reflects that and might need some changes for your environment. > > kashani Side note: Agreed on Postfix. I always think of the Postfix devs as people who take Unix philosophy seriously. The code does one thing and does it very very well: It sends and receives mail. It receives it in a way that is hard to hurt the sender and hard to crash Postfix, and sends it in a way that does not hurt itself and does not hurt the recipient. Oh, and it natively does a few sanity checks on the sender, mostly because it's convenient to do it there. And the config is simplicity itself - define a hostname, domain and a few other things and the odds are excellent it will work well out of the box as one of the few setups that 98% of people with mail servers want. It manages it's own queues beautifully. But, and this makes me sad, it doesn't really want *me* to manage it's queues. Border controls are hard, and finding the 1,000 mails some idiot with a Windows bot just sent, and deleting them, is really hard. I'm redesigning our mail setup at work,a nd I'm going to do it with exim *and* Postfix. Exim is the front end I can see, work with, and manage. Exim sends on to Postfix as fast as it can, and Postfix transparently relays to recipient. I get best of both worlds :-) Now let's contrast Postfix with sendmail. No, wait, let's rather not.... -- alan dot mckinnon at gmail dot com