syntax fun with amavis to varying results

minionAs a zoo with four domain names getting email in and out is fun. Generally spf will fix issues and with dkim and tls things get quite complex.

One area of failing was amavis which one instance inspects mail, having more than daemon now [2017] seems impossible, some years ago i had four amavis servers but attempts to recreate that left an inconsistent mess sometimes it worked and other time spewed errors by the dozen.

So it was back to improving the single instance.

But $inet_socket_port can have more than one value with = [10024,100xx,etc];

So one instance might suffice.for inbound delivery to amavis.

outbound paths are done with $forward_method and this too becomes = [‘smtp:’, ‘smtp:’] ; opposed to the simple defaults in the amavis config hiding in /etc/amavis/conf.d if your debian based like the zoo

That seems (debian stable) to work but it is not guaranteed it might and then again might go back to the first method.

Amavis with it’s perl like configuration is a learn the hard way experience if you want something extra from it.

Don’t forget those semi colons.

This kind of makes sense although it is not guaranteed that the plumbing will go to the right outout but a tolerant spf config allows for that.

I like the one daemon rather than four of them and while not perfect it will do – a discussion on atps will follow so not finished yet..

by golly but...

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.