this is embarrassing now but when I see 127.0.0.1 I simply thought that is meant to be there.... so lets say I have 2 IPs 192.168.1.1 and 192.168.1.2 and I only want to SEND through 192.168.1.1 but receive via both. I have to set smtp_bind_address=192.168.1.1 and @inet_acl = qw( 192.168.1.1); to i.e. 60-user file in /etc/amavis/conf.d sorry for being so dense today :-(
Thid has indeed to be there. You shall just replace the placeholder for IP/MASK with your addditional IP address. so: @inet_acl = qw( 127.0.0.1 [::1] IP/MASK ); must be in your case: @inet_acl = qw( 127.0.0.1 [::1] 192.168.1.1 );
All working fine so far ecept for one domain that has its MX pointed at the second IP that I don'T want to be sending from. I thought that wouldn't be a problem? I mean its only the MX pointed here, postfix should still be bound to the other IP via the method explained here, right? If so, what else could be the problem?