On Mon, Dec 31, 2018 at 10:46:45PM +0000, mabi wrote:
> ??????? Original Message ???????
> On Monday, December 31, 2018 9:44 PM, <ed...@pettijohn-web.com> wrote:
> 
> > be forwarned I haven't used amavis in a few years.
> 
> No problem you got it right anyway, amavis listens on port 10024 and sends it 
> back to OpenSMTPD on 10025 ;)
> 
> I wasn't aware about the mailaddr table but that does exactly the trick, 
> brilliant! So now my complete working match rules look like this:
> 
> match for local action "local"
> match tag AMAVIS for domain <domains> action "lmtp_dovecot"
> match tag AMAVIS for any action "relay"
> match from any for domain <domains> rcpt-to <recipients> action "relay_amavis"
> match for any action "relay"
> 
> Note that you have spotted the duplicate lookup by using "domain <domains>" 
> in the second match rule but the problem is that if I remove this "domain 
> <domains>" lookup then I get into an routing loop (500 5.4.6 Routing loop 
> detected: Loop detected) where Amavis sends back to OpenSMTPD which sends 
> back to Amavis and so on...
> 
> So as far as I understand this "domain <domains>" lookup allows me to avoid 
> this routing loop.

That seems weird. Perhaps there is something extra to configure in amavis to 
keep this from happening. Then
again if it works it works. 
> 
> 

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to