Re: smtp-out: Address family mismatch

2020-07-26 Thread Peter J. Philipp
Hi, I don't know what this error entails but I took a peek at the source and found this in mta.c around lines 1575:     if ((c->source->sa && c->source->sa->sa_family != mx->host->sa->sa_family) ||     (l->family && l->family !=

Re: dmarc

2020-07-25 Thread Peter J. Philipp
On Sat, Jul 25, 2020 at 01:43:23PM +0200, Martijn van Duren wrote: > I'm not 100% sure what you mean, but let me give it a best effort. > > On Sat, 2020-07-25 at 11:00 +0200, Peter J. Philipp wrote: > > Hi, > > > > This is sorta a feature request. A lot o

dmarc

2020-07-25 Thread Peter J. Philipp
Hi, This is sorta a feature request. A lot of people use dmarc to check for incoming mails. Is there a way to turn off dmarc checking in the smtpd? This would be valuable for trusted sources such as mailing lists. Let me give you an example. I mail 1000 bytes to openbsd-misc and there is

Re: smtp-out: Address family mismatch

2020-07-21 Thread Peter J. Philipp
Hi, I had these when I changed my secrets password, smtpd needs to be restarted after. Regards, -peter On 2020-07-20 11:14, Harald Dunkel wrote: Currently I have 100+ EMails queued with "Network error on destination MX". This is a severe regression since OpenBSD 6.6. Every insightful

Re: mail log oddity

2020-06-11 Thread Peter J. Philipp
I had the same IP connect to me, with the same failed-command. -peter On 2020-06-12 02:02, Edgar Pettijohn wrote: On Thu, Jun 11, 2020 at 04:26:37PM -0700, Niklas wrote: I'm curious what this would actually accomplish on a vulnerable server. There's no path or executable its trying to find

Re: how to match my relay rules against a list of IP's?

2020-03-20 Thread Peter J. Philipp
On Fri, Mar 20, 2020 at 08:51:50PM +0100, Thomas Bohl wrote: > Hi > > > Is this possible? > > Yes > > > This is what I got but it gives me an error... > > > > arrowhead# smtpd -dvvv > > /etc/mail/smtpd.conf:34: table "mylocalhosters" may not be used for from > > lookups > > arrowhead# grep

how to match my relay rules against a list of IP's?

2020-03-20 Thread Peter J. Philipp
Hi, Is this possible? This is what I got but it gives me an error... arrowhead# smtpd -dvvv /etc/mail/smtpd.conf:34: table "mylocalhosters" may not be used for from lookups arrowhead# grep mylocalhosters smtpd.conf table mylocalhosters file:/etc/mail/localhosters match auth

Re: "bouncing messages from ..." (was: request (privately) for maillog)

2020-02-26 Thread Peter J. Philipp
On Wed, Feb 26, 2020 at 07:40:10AM +, gil...@poolp.org wrote: > > I can confirm it is an issue with mlmmj, there's no failed SMTP attempt > > for any of you who reported getting this message. > > > > found out. > > upon restart of the MX @ opensmtpd.org, the list goes through greylisting >

request (privately) for maillog

2020-02-24 Thread Peter J. Philipp
Hi, I got another "bouncing messages from misc@opensmtpd.org" message. The particular message was 4669 that bounced. Yet I have no record of this in my maillog, so I suspect a DNS fault. Feb 24 12:07:04 was the time when the 4668 message came to me so I suspect that 4669 came after. I do

Re: how could a safety mechanism be configured?

2019-05-02 Thread Peter J. Philipp
On Thu, May 02, 2019 at 02:17:27AM +0200, Thomas Bohl wrote: > Hello, > > > So what happened to me was that I activated a crontab accidentally that > > fetchmails POP3 mail. It connects to localhost and delivers to me > > (pjp@localhost). In my case the lmtp delivery caused a no such mailbox >

how could a safety mechanism be configured?

2019-05-01 Thread Peter J. Philipp
Hi, This is sorta a feature request, but may be solveable by a better config: https://marc.info/?l=openbsd-misc=155670259203430=2 What I did was explained there. Here is my config for the mail system in question: ---> ... some keys cut ... listen on lo0 listen on ix1 tls auth table aliases

Re: Unable to relay email

2019-04-06 Thread Peter J. Philipp
On 4/7/19 4:54 AM, Juan Trippe wrote: Hello Peter, Good morning. 1.  When you attempt to relay through Bell's smtp relay are you sending mail as y...@bell.ca or any of the domains that falls under bell's domains?  Perhaps they implemented a block that prevents you@home.local, or better

Re: Unable to relay email

2019-04-06 Thread Peter J. Philipp
Hi, I'd like to help you, but I'm late to the thread and some parts were deleted by me by accident. I think we may need to clear up some things first: 1.  When you attempt to relay through Bell's smtp relay are you sending mail as y...@bell.ca or any of the domains that falls under bell's

Re: connect to cyrus lmtp with "as user"

2018-12-26 Thread Peter J. Philipp
On Wed, Dec 26, 2018 at 05:37:49PM +0100, Peter J. Philipp wrote: > 78041 mail.lmtp NAMI "/var/imap/socket/lmtp" > 78041 mail.lmtp RET connect -1 errno 13 Permission denied > > Does anyone know off hand how to fix this, either on smtpd or on cyrus's side? > &

Re: Opensmtpd failover

2018-11-24 Thread Peter J. Philipp
On Sat, Nov 24, 2018 at 06:52:00PM +, Craig Skinner wrote: > Hi Peter, > > On Sat, 24 Nov 2018 08:21:46 +0100 "Peter J. Philipp" wrote: > > > ... the MX priority was all the same in DNS ... > > This is a vastly different scenario to Mik's question. Not the

Re: Opensmtpd failover

2018-11-23 Thread Peter J. Philipp
If I only knew what others use when they do this successfully then all my problems would be solved.   Just kidding. However here is a try.  In 1998 I was a sysadmin and our setup was with sendmail and postfix not smtpd.  We had 3 Sun Ultra Sparc computers connected with a small switch to a