Re: postfix vpn problem

2021-10-20 Thread Matus UHLAR - fantomas
On Wed, 2021-10-20 at 14:36 -0400, Viktor Dukhovni wrote: On Wed, Oct 20, 2021 at 02:29:26PM -0400, fp145 wrote: > > > In summary, postfix mail works fine if VPN if off, does not work > > > if > > > VPN is on, any advice would be appreciated, thanks DAN > > Hey! I have exactly the same problem.

Re: postfix vpn problem

2021-10-20 Thread Claus R. Wickinghoff
Hi, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=smtp.gmail.com type=: Host not found, try again) This is you issue. DNS resolution is not working properly when vpn is active. I assume that vpn pushes a dns configuration

Re: postfix vpn problem

2021-10-20 Thread Viktor Dukhovni
On Wed, Oct 20, 2021 at 02:57:27PM -0400, Dan Ziolkowski wrote: > Oct 20 14:28:17 -OptiPlex-990 postfix/smtp[2522]: 2DA852E306A: > to=, relay=none, delay=20, delays=0.13/0.02/20/0, > dsn=4.4.3, status=deferred (Host or domain name not found. > Name service error for name=smtp.gmail.com type=AA

Re: postfix vpn problem

2021-10-20 Thread Dan Ziolkowski
Viktor- here are mail.log, syslog, and mail.err exerts mail.log VPN on: Oct 20 14:27:57 -OptiPlex-990 postfix/pickup[1958]: 2DA852E306A: uid=1000 from= Oct 20 14:27:57 -OptiPlex-990 postfix/cleanup[2520]: 2DA852E306A: message-id=<20211020182757.2DA852E306A@-OptiPlex-990> Oct 20 14:2

Re: postfix vpn problem

2021-10-20 Thread fp145
On Wed, 2021-10-20 at 14:36 -0400, Viktor Dukhovni wrote: > On Wed, Oct 20, 2021 at 02:29:26PM -0400, fp145 wrote: > > > > > In summary, postfix mail works fine if VPN if off, does not work > > > > if > > > > VPN is on, any advice would be appreciated, thanks DAN > > > > Hey! I have exactly the s

Re: postfix vpn problem

2021-10-20 Thread Viktor Dukhovni
On Wed, Oct 20, 2021 at 02:29:26PM -0400, fp145 wrote: > > > In summary, postfix mail works fine if VPN if off, does not work if > > > VPN is on, any advice would be appreciated, thanks DAN > > Hey! I have exactly the same problem. [...] Actually, nothing like the OP's problem... > Oct 20 20:07

Re: postfix vpn problem

2021-10-20 Thread fp145
On Wed, 2021-10-20 at 19:27 +0200, Claus R. Wickinghoff wrote: > Hi, > > > In summary, postfix mail works fine if VPN if off, does not work if > > VPN > > is on, any advice would be appreciated, thanks DAN > > So postfix is not the issue, but vpn is. :-) > > You can configure a vpn to route all

Re: postfix vpn problem

2021-10-20 Thread Viktor Dukhovni
On Wed, Oct 20, 2021 at 01:46:57PM -0400, Dan Ziolkowski wrote: > understood, i will gather them.. DAN Just one or two log entires showing a delivery failure logged by postfix/smtp (not smtpd), is sufficient. No need for bulk log data. You can obfuscate the recipient address localparts, they're

Re: postfix vpn problem

2021-10-20 Thread Dan Ziolkowski
Viktor- understood, i will gather them.. DAN On Wed, Oct 20, 2021 at 1:40 PM Viktor Dukhovni wrote: > On Wed, Oct 20, 2021 at 01:16:45PM -0400, Dan Ziolkowski wrote: > > > I have postfix working fine sending mails though gmail while VPN not > > connected. When connected , sending mail fails. >

Re: postfix vpn problem

2021-10-20 Thread Viktor Dukhovni
On Wed, Oct 20, 2021 at 01:16:45PM -0400, Dan Ziolkowski wrote: > I have postfix working fine sending mails though gmail while VPN not > connected. When connected , sending mail fails. http://www.postfix.org/DEBUG_README.html#mail http://www.postfix.org/DEBUG_README.html#logging > In loo

Re: postfix vpn problem

2021-10-20 Thread Claus R. Wickinghoff
Hi, In summary, postfix mail works fine if VPN if off, does not work if VPN is on, any advice would be appreciated, thanks DAN So postfix is not the issue, but vpn is. :-) You can configure a vpn to route all traffic into the tunnel. A valid configuration for branch offices or roadwarriors s