sysupdate and space check

2022-10-24 Thread Peter Fraser
I make a stupid mistake; I didn't check partition sizes before doing a sysupgrade. sysupgrade ran out of space or /usr in the middle of the upgrade. I know I should have checked first but it would be nice if sysupgrade did warn me. The site was a 20-minute drive away, and their down time was a

Picking out going IP address for smtp

2022-01-29 Thread Peter Fraser
On a compute with multiple IP addresses I wanted to pick the IP address used for outgoing smtp packets. I tried to used action "relay" relay src 10.1.1.7 Which did set the outgoing address, but it then created a different problem. I was using a match from src 10.1.1.0/24 for any action

Rspamd or other such programs

2016-11-27 Thread Peter Fraser
Using clamsmtpd and the instructions in http://technoquarter.blogspot.ca/2015/02/openbsd-mail-server-part-3-clamav-and.html I was able to smtpd to interface with clamd. Is there a similar procedure to get rspamd or similar to work with smtpd?

smtpd failing and a work around

2016-06-15 Thread Peter Fraser
Trying again to get the line feeds. Microsoft outlook seems intent on deleting them. I apologize for mistake opensmtpd has a bug, that I know is being worked on. It leave streams open that should be closed and will eventually stop listening for new connections. The only fix I know at the

opensmtd failing and a work a round

2016-06-15 Thread Peter Fraser
I apologize for the missing newlines in the earlier messages opensmtpd has a bug, that I know is being worked on. It leave streams open that should be closed and will eventually stop listening for new connections. The only fix I know at the moment is to restart opensmtpd. My first attempt to

smtpd failing and a work around.

2016-06-15 Thread Peter Fraser
opensmtpd has a bug, that I know is being worked on. It leave streams open that should be closed and will eventually stop listening for new connections. The only fix I know at the moment is to restart opensmtpd. My first attempt to mitigate this problem was to use timeout to see if "telnet

re: smtpd and syslog

2016-06-10 Thread Peter Fraser
Trying to find a problem with smtpd used rcctl change the standard configuration to rcctl get smtpd smtpd_class=daemon smtpd_flags=-T all -v smtpd_timeout=30 smtpd_user=root and restarted smtpd I expected more detailed logging to occur in maillog There did not appear to be any extra

RE: smptd stops listing to external interfaces.

2016-05-27 Thread Peter Fraser
I came in the morning a smtpd was again not listing on the external interfaces. opensmtpd-5.9.2 and opensmtpd-extras-20160523220 other information # smtpctl monitor --- client --- -- envelope -- relay/delivery --- --- misc --- curr conn disc curr enq deq ok tmpfail prmfail

RE: smtpd wish list: ability to control error messages

2016-05-26 Thread Peter Fraser
and I looked in https://github.com/OpenSMTPD/OpenSMTPD/labels/feature%20request and found nothing similar. From: Gilles Chehade [mailto:gil...@poolp.org] Sent: Thursday, May 26, 2016 2:37 PM To: Peter Fraser <p...@thinkage.ca> Cc: misc <misc@opensmtpd.org> Subject: Re: smtpd wish list:

smtpd wish list: filer-regex

2016-05-26 Thread Peter Fraser
with send mail I used milter-regex which had the ability to do 'and' test which I miss in filter-regex for example (checking if a mail message actually came from bank it said it did. reject "Looks like you are phishing" connect /rbc\.com$/ni /./ and envfrom /@rbc\.com/i I also used it when

smtpd wish list: ability to control error messages

2016-05-26 Thread Peter Fraser
In sendmail's virtualusertable you could use the following bob.sm...@charity.org error:5.1.1:553 " Bob Smith has retired if you wish to contact Bob personally please mail bob.sm...@gmail.com, otherwise please mail donati...@charity.org" or @thinkage.on.ca error:5.1.1:553 " Please use

FW: smptd stops listing to external interfaces.

2016-05-25 Thread Peter Fraser
whoops I mistyped OpenBSD 5.9 -Original Message- From: Peter Fraser [mailto:p...@thinkage.ca] Sent: Wednesday, May 25, 2016 2:16 PM To: misc@opensmtpd.org Subject: smptd stops listing to external interfaces. OpenBSD 5.8 i386 smtpd with smtpd.conf as shown below will run quite happy

smptd stops listing to external interfaces.

2016-05-25 Thread Peter Fraser
OpenBSD 5.8 i386 smtpd with smtpd.conf as shown below will run quite happy for several days at times, or just several hours, the it seems to stop listening on the external interfaces. Message can still be sent using the local interfaces. Even if the daemon is left for several hours it does

warn: Disabling incoming SMTP connections: Client limit reached

2016-05-18 Thread Peter Fraser
I put a new smtpd live, and everything was going fine until there was the message: warn: Disabling incoming SMTP connections: Client limit reached After that there were no more message in /var/log/maillog, and no mail was moving Someone else restarted smtpd, and everything started to flow

RE: Message is not RFC 2822 compliant

2016-05-08 Thread Peter Fraser
All that is needed is blank line DATA Content . From: Gilles Chehade [mailto:gil...@poolp.org] Sent: Sunday, May 8, 2016 3:05 PM To: Peter Fraser <p...@thinkage.ca> Cc: misc <misc@opensmtpd.org>; Joerg Jung <m...@umaxx.net> Subject: RE: Message is not RFC 2822 c

RE: virtual user and forwarding

2016-05-08 Thread Peter Fraser
th or with the use of ":" -Original Message- From: Marcus MERIGHI [mailto:mcmer-opensm...@tor.at] Sent: Saturday, May 7, 2016 2:56 AM To: Peter Fraser <p...@thinkage.ca> Cc: misc@opensmtpd.org Subject: Re: virtual user and forwarding p...@thinkage.ca (Peter Fras

RE: Message is not RFC 2822 compliant

2016-05-08 Thread Peter Fraser
is a subject necessary, and particularly why is it saying the message I was trying to send is not RFC 2822 compliant -Original Message- From: Joerg Jung [mailto:m...@umaxx.net] Sent: Sunday, May 8, 2016 2:51 PM To: Peter Fraser <p...@thinkage.ca> Cc: misc@opensmtpd.org Subject: Re: M

Message is not RFC 2822 compliant

2016-05-08 Thread Peter Fraser
Testing out OpenSMTP on a test system appropriately call test I am have a problem testing a message submitting from external system (the sys is on the same lan) The tested smtpd.conf listen on all table aliasesfile:/etc/mail/aliases accept from any for domain test.thinkage.ca

virtual user and forwarding

2016-05-05 Thread Peter Fraser
My scenario: I have a OpenBSD processing email for several domains, doing virus scanning, and spam processing. The OpenBSD system was running sendmail and I would like to convert it to smtpd All the incoming email is then forwarded on to one of two Microsoft Exchange servers, depending upon