Submission Creds only Accepted on LAN?

2021-08-08 Thread Pete Long
Oops, I hope this is now visible. Pete. > Begin forwarded message: > > From: Pete Long > Subject: Submission Creds only Accepted on LAN? > Date: 8 August 2021 at 18:46:49 BST > To: misc+h...@opensmtpd.org > > Hi, > > I've just begun using OpenSMTP and fin

Re: Submission Creds only Accepted on LAN?

2021-08-08 Thread Pete Long
d luck > Reio > > > On 08.08.2021 20:56, Pete Long wrote: >> Oops, I hope this is now visible. >> >> >> Pete. >> >> >>> Begin forwarded message: >>> >>> From: Pete Long >>> Subject: Submission Creds only Accepte

Re: Submission Creds only Accepted on LAN?

2021-08-08 Thread Pete Long
> On 8 Aug 2021, at 19:55, Reio Remma wrote: > > On 08.08.2021 21:53, Pete Long wrote: >> Hi Reio, >> >> Yes it's set with SSL (as Apple's iPhone mail app shows) on port 587. The >> authentication method is 'password'. > > Do you se

Fwd: Submission Creds only Accepted on LAN?

2021-08-10 Thread Pete Long
> Begin forwarded message: > > From: Pete Long > Subject: Re: Submission Creds only Accepted on LAN? > Date: 8 August 2021 at 21:04:41 BST > To: misc@opensmtpd.org > > >> On 8 Aug 2021, at 19:55, Reio Remma wrote: >> >> On 08.08.2021 21:53, Pete

[Solved] Submission Creds Only Accepted on LAN?

2021-08-15 Thread Pete Long
Hi all, I now have authenticated submission on port 587 working regardless of whether the connecting host has a PTR record. Here are the steps taken: 1) Built OpenSMTPd and associated software from ports on FreeBSD 13. 2) Wiped my iPhone and configured my mail account again. This log excerpt

opensmtpd-filter-dnsbl

2022-02-20 Thread Pete Long
Hi all, I hope this is ok but I just wanted to say thanks to the developer of 'opensmtpd-filter-dnsbl' whom I believe is Martijn van Duren. This filter is superb and just what I was looking for in order to use the great resource that is Spamhaus. I can't seem to find a personal email address o

Re: mutt can't send emails via localhost 25 with error 503 5.5.1

2022-03-06 Thread Pete Long
On Sun, Mar 06, 2022 at 02:28:54PM +0100, Jiri Navratil wrote: > Hi, > > I'm using notebook with OpenBSD and every email from mail and from mutt > goes firstly to OpenSMTPD on localhost and then are relayed to my > server with static IP. > > I have been using in OpenBSD 6.7 for mutt > > set smt

Filter Logging

2022-03-21 Thread Pete Long
Hi all, I have a filter defined in smtpd.conf which looks like the following: filter rejects phase data match mail-from \ disconnect "550 Policy enforcement." The referenced table contains a list of addresses in the following formats: @dailynuisance.tld bigmarketing.tld @weneverunsubsribeanyon

Re: Filter Logging

2022-03-21 Thread Pete Long
On Mon, Mar 21, 2022 at 03:58:23PM +0200, Reio Remma wrote: > On 21.03.2022 15:54, Pete Long wrote: > > Hi all, > > > > I have a filter defined in smtpd.conf which looks like the following: > > > > filter rejects phase data match mail-from \ > > disconnect

Re: Filter Logging

2022-03-21 Thread Pete Long
On Mon, Mar 21, 2022 at 10:33:31AM -0500, edgar wrote: >I'm currently doing the same as Reio with no complaints.  Hi Edgar, Thanks for the input, I'll see how it goes. Pete. smime.p7s Description: S/MIME cryptographic signature

Another Logging Query

2022-03-23 Thread Pete Long
Hi all, When I run the following command, I see lots of useful information about what's happening with OpenSMTPD; particularly with filters. smtpd -dv -Tlookup However, I can't seem to find a way to capture the output to a file. I've tried 'tee' but my syntax is probably wrong. Does the command

Re: Another Logging Query

2022-03-24 Thread Pete Long
On Wed, Mar 23, 2022 at 11:55:16PM +0200, Reio Remma wrote: > On 23.03.2022 23:41, Pete Long wrote: > > Hi all, > > > > When I run the following command, I see lots of useful information about > > what's happening with OpenSMTPD; particularly with filt

Re: Remove the first Received header

2023-01-26 Thread Pete Long
On Thu, Jan 26, 2023 at 10:58:18PM +0100, Joel Carnat wrote: > Hi, > > When using smtpd as a mail gateway and authenticating from various > desktop/mobile clients, the first Received header always references the > client host, ip, fqdn, etc. Some (maybe stupid) SMTP servers seem to > consider thes

Dropping Connections Upon Connect

2023-07-19 Thread Pete Long
Hi all, Need some help here. I would like to find a way to drop connections (with an arbitrary message) without having to wait for the connecting clients to issue anything at all. Here’s my configuration line in /etc/mail/smtpd.conf in OpenBSD 7.3 running OpenSMTPD 7.0.0: filter hostrejects p

Re: Dropping Connections Upon Connect

2023-07-19 Thread Pete Long
me=n, action=disconnect, filter=hostrejects, query=sonic304-56.consmr.mail.bf2.yahoo.com, response=550 Connection dropped. I used the same regular expression syntax as shown below ie. ^.*.yahoo.com$ Cool! Pete. > On 19 Jul 2023, at 20:18, Pete Long wrote: > > Hi all, > >

Re: Dropping Connections Upon Connect

2023-07-28 Thread Pete Long
> On 28 Jul 2023, at 20:06, Stuart D Gathman wrote: > > On Wed, 19 Jul 2023, Pete Long wrote: > >> The filter ‘works’ in the sense that I get “421 Internal Server Error” >> when something matches my regex table. > > That's more likely to discourage