postfix vpn problem

2021-10-20 Thread Dan Ziolkowski
Hello- Problem with VPN and postfix mail 3.3.0 Ubuntu 18.04, Mulvad vpn. gmail server I have postfix working fine sending mails though gmail while VPN not connected. When connected , sending mail fails. In looking at mail logs, it appears it is not connecting to gmail. I contacted Mulvad and th

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

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 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: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 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 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 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 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 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

fp145's postfix vpn problem

2021-10-20 Thread Bernardo Reino
On 20/10/2021 20:44, fp145 wrote: Well, the *symptom* is exactly the same -- works with vpn off and doesn't work with vpn on. I'm not sure how that's different than "In summary, postfix mail works fine if VPN if off, does not work if VPN is on." Those two sound suspiciously similar to me. But

Different vpn postfix problem

2021-10-20 Thread fp145
Thanks to Bernard Reino for explaining why these two vpn problems are different. Here's a new thread. OK, so once again, here's the issue. Mail works when the vpn is off, but does not work when the vpn is on. I have two personal servers I run for two different groups, one with exim and one wi

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: Different vpn postfix problem

2021-10-20 Thread Viktor Dukhovni
On Wed, Oct 20, 2021 at 03:24:12PM -0400, fp145 wrote: > I use evolution as my mail client on the laptop. Are you using TLS? Either port 587 with STARTTLS, or port 465 with "implicit TLS" (some MUAs confuse things by calling this "SSL", and reserve "TLS" for "STARTTLS"). > Oct 20 21:16:57 liber

Re: Different vpn postfix problem

2021-10-20 Thread Damian
Oct 20 20:07:49 libertyfp postfix/smtpd[174025]: warning: hostname ip245.tervelnet.com does not resolve to address 87.246.7.245 Oct 20 20:07:49 libertyfp postfix/smtpd[174025]: connect from unknown[87.246.7.245] Oct 20 20:07:51 libertyfp postfix/smtpd[174025]: warning: unknown[87.246.7.245]: SASL

Re: Different vpn postfix problem

2021-10-20 Thread Viktor Dukhovni
On Wed, Oct 20, 2021 at 10:03:10PM +0200, Damian wrote: > > Oct 20 20:09:37 libertyfp postfix/smtpd[174449]: warning: > > unknown[87.246.7.245]: SASL LOGIN authentication failed: UGFzc3dvcmQ6 > > Oct 20 20:09:37 libertyfp postfix/smtpd[174449]: disconnect from > > unknown[87.246.7.245] ehlo=1 auth

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: Delivery Status Notification

2021-10-20 Thread raf
On Tue, Oct 19, 2021 at 10:40:12PM -0400, Viktor Dukhovni wrote: > On Tue, Oct 19, 2021 at 10:35:41PM -0400, post...@ptld.com wrote: > > > >> $ postconf smtpd_discard_ehlo_keywords > > >> smtpd_discard_ehlo_keywords = pipelining, chunking, > > >> silent-discard, DSN, ETRN > > > > > >