Hi,
Hopefully I picked the right forum.
Trying to go from ssmtp to dma (for the MASQUERADE feature). For a few days I constantly got strange errors (e.g. 'remote delivery deferred: DNS lookup failure') for some destinations and delivery for others, but nothing was masqueraded, and even seemed sent directly instead via SMARTHOST. I went up and down google without finding any mentions that masquerading might fail. So the problem must be me.
Then it dawned on me that it could indeed be a config issue. I've had my config files in /usr/local/etc/dma. Copying dma.conf and auth.conf to /etc/dma solved everything. Same content, same permissions. So it's the location of the config.
So far I was under the impression, if there is nothing in /etc, most FreeBSD software tries /usr/local/etc. Looking at the source of the dma port, I see references to PREFIX and CONFPATH pointing to /usr/local and /etc/dma. But why this then does not work is beyond me, I have only limited read-power in C and Makefiles
Also seeing people putting the config in /usr/local/etc/dma confirms for me that it should work. But how?
Is this the expected behaviour? What am I doing wrong? Which knob do I have to twist?
Thanks for pointing me in the right direction
simon
Hopefully I picked the right forum.
Trying to go from ssmtp to dma (for the MASQUERADE feature). For a few days I constantly got strange errors (e.g. 'remote delivery deferred: DNS lookup failure') for some destinations and delivery for others, but nothing was masqueraded, and even seemed sent directly instead via SMARTHOST. I went up and down google without finding any mentions that masquerading might fail. So the problem must be me.
Then it dawned on me that it could indeed be a config issue. I've had my config files in /usr/local/etc/dma. Copying dma.conf and auth.conf to /etc/dma solved everything. Same content, same permissions. So it's the location of the config.
So far I was under the impression, if there is nothing in /etc, most FreeBSD software tries /usr/local/etc. Looking at the source of the dma port, I see references to PREFIX and CONFPATH pointing to /usr/local and /etc/dma. But why this then does not work is beyond me, I have only limited read-power in C and Makefiles

Is this the expected behaviour? What am I doing wrong? Which knob do I have to twist?
Thanks for pointing me in the right direction
simon