On Mon, Feb 04, 2013 at 03:58:15PM -0500, Robert Moskowitz wrote: > >So configure Amavis correctly, and the rest takes care of itself. > > Define correctly. It seems that a number of articles I have found > recommend using 127.0.0.1. You seem to be recommending something > else and I am interested in learning more.
Correctly means a local TCP or unix-domain socket end-point. This includes 127.0.0.1. The point is that the relevant setting is an acceptor setting not an initiator setting. > 127.0.0.1:10025 inet n - n - - smtpd This is fine. > and finally in main.cf > > content_filter=amavisfeed:[127.0.0.1]:10024 What's important here is that the Amavis server actually listens on 127.0.0.1:10024, merely setting the Postfix SMTP client to initiate to 127.0.0.1 is not enough. > I would be more than happy to move away from an IP port approach > (even localhost) to a unix-domain approach. Keep it simple enough for you to understand. -- Viktor.