Re: smtpd Gmail relay authentication failure on OpenBSD 7.6

2025-03-27 Thread Anthony J. Bentley
Ralf Dietrich writes: >- action "relay" relay host "smtp://smtp.gmail.com:587" auth See the 'host' keyword in smtpd.conf(5), you are missing the label. And you certainly want mandatory STARTTLS rather than opportunistic when talking to GMail.

Re: SMTPD start failed - table-proc: unexpected EOF during handshake

2025-01-25 Thread Heinrich Rebehn
Fresh 7.6 install here. Same error: Jan 25 16:30:37 mail smtpd[87180]: info: OpenSMTPD 7.6.0 starting Jan 25 16:30:37 mail smtpd[3923]: lookup: table-proc: unexpected EOF during handshake Jan 25 16:30:37 mail smtpd[72384]: smtpd: process lka socket closed OpenBSD mail.rebehn.net 7.6 GENERIC.MP#

Re: smtpd mta action

2025-01-09 Thread Chris Cappuccio
Chris Cappuccio [ch...@nmedia.net] wrote: > > When the DNS record is in place, email to l...@lists.nmedia.net results in > 500 5.4.6 Routing loop detected: Loop detected After screwing with it more I realized the loop was because I had a rule match from src for any action "outbound" ordered b

Re: SMTPD start failed - table-proc: unexpected EOF during handshake

2024-11-21 Thread Christian Schulte
On 11/21/24 11:04, Danny König wrote: > Hi, >   > after upgrading from 7.5 to 7.6 smtpd won't start anymore. Nothing else > has changed. Packages has been updated (pkg_add -u). >   > Any ideas on how to fix this? > > # smtpd -d > info: OpenSMTPD 7.6.0 starting > credentials[98842]: warn: table-api

Re: smtpd under different rtable + /root/.forward

2024-10-24 Thread Thomas
On Thu, 24 Oct 2024, at 00:51, Dan wrote: > Two simple stuff: > > 1. Did you create the mx record among your dns records? No, but I don't think there's any need, it works under rtable 0 and should have access to the same DNS resolution if it remains in rdomain 0? So if I can shorten the steps: 1.

Re: smtpd under different rtable + /root/.forward

2024-10-23 Thread Dan
Two simple stuff: 1. Did you create the mx record among your dns records? 2. DigitalOcean has qualified support engineers to ask for anything technical regarding your vps, including networking. One curiousity: - You got the passtime to install successfully OpenBSD on DigitalOcean? Let us know a

Re: smtpd warn: not enough disk space

2024-07-11 Thread Christian Schulte
On 09.07.24 11:16, Stuart Henderson wrote: On 2024-07-09, Christian Schulte wrote: For example: Just remove the patches in this directory - well a lot of them - and see how those GNU folks have turned into complete idiots. I don't get it.

Re: smtpd warn: not enough disk space

2024-07-10 Thread Christian Schulte
On 09.07.24 11:18, Stuart Henderson wrote: On 2024-07-09, Christian Schulte wrote: On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte mailto:schulte...@gmail.com>> wrote: Just wondering how the postgresql port is configured. Really should set

Re: smtpd warn: not enough disk space

2024-07-09 Thread Stuart Henderson
On 2024-07-09, Christian Schulte wrote: > > > On 07.07.24 03:51, Jeremy Evans wrote: >> On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte > > wrote: >> >> Just wondering how the postgresql >> port is configured. Really should setup quotas automatically when >>

Re: smtpd warn: not enough disk space

2024-07-09 Thread Stuart Henderson
On 2024-07-09, Christian Schulte wrote: >For example: Just > remove the patches in this directory - well a lot of them - and see how > those GNU folks have turned into complete idiots. I don't get it. > > https://github.com/openbsd/ports/tree/m

Re: smtpd warn: not enough disk space

2024-07-08 Thread Christian Schulte
On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte > wrote: Just wondering how the postgresql port is configured. Really should setup quotas automatically when pkg_adding in a way, just to ensure, that no one ever r

Re: smtpd warn: not enough disk space

2024-07-08 Thread Christian Schulte
On 07.07.24 03:51, Jeremy Evans wrote: On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte > wrote: Just wondering how the postgresql port is configured. Really should setup quotas automatically when pkg_adding in a way, just to ensure, that no one ever r

Re: smtpd warn: not enough disk space

2024-07-06 Thread Jeremy Evans
On Fri, Jul 5, 2024 at 9:16 PM Christian Schulte wrote: > Just wondering how the postgresql > port is configured. Really should setup quotas automatically when > pkg_adding in a way, just to ensure, that no one ever runs into a > situation, that there is no way out of a disk full situation. > I'

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 06.07.24 04:08, Eric Pruitt wrote: On Sat, Jul 06, 2024 at 01:49:05AM +0200, Christian Schulte wrote: A database admin would have monitored the system and just enhanced storage when required. Bad thing for me was, that I could not vaccuum the database, because postgresql copies tables to n

Re: smtpd warn: not enough disk space

2024-07-05 Thread Eric Pruitt
On Sat, Jul 06, 2024 at 01:49:05AM +0200, Christian Schulte wrote: > A database admin would have monitored the system and just enhanced > storage when required. Bad thing for me was, that I could not vaccuum > the database, because postgresql copies tables to new files to reclaim > disk space after

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 05.07.24 13:46, Jeremy Mates wrote: On 2024-07-05 05:19:01 +0200, Christian Schulte wrote: I have never seen an application performing such kind of checks. Sendmail had a knob to refuse mail at a certain CPU load, on the assumption that if a system was "too busy" it's in a bad state and acc

Re: smtpd warn: not enough disk space

2024-07-05 Thread Christian Schulte
On 05.07.24 13:50, Souji Thenria wrote: On Fri Jul 5, 2024 at 4:19 AM BST, Christian Schulte wrote: Hello, Hi Christian, What is the reasoning to check for disk space based on percentages? I have never seen an application performing such kind of checks. If there is not enough space, write

Re: smtpd warn: not enough disk space

2024-07-05 Thread Souji Thenria
On Fri Jul 5, 2024 at 4:19 AM BST, Christian Schulte wrote: Hello, Hi Christian, What is the reasoning to check for disk space based on percentages? I have never seen an application performing such kind of checks. If there is not enough space, write would fail anyway. Checking for available

Re: smtpd warn: not enough disk space

2024-07-05 Thread Jeremy Mates
On 2024-07-05 05:19:01 +0200, Christian Schulte wrote: > I have never seen an application performing such kind of checks. Sendmail had a knob to refuse mail at a certain CPU load, on the assumption that if a system was "too busy" it's in a bad state and accepting mail would only make things worse.

Re: smtpd outgoing mail configuration

2024-05-18 Thread Ampie Niemand
On Fri, May 17, 2024 at 08:12:27AM +0200, fr...@lilo.org wrote: How to forward outgoing mail to a remote SMTP server with smtpd? I found this page, but it's out of date I think. https://romanzolotarev.com/openbsd/smtpd-forward.html Tks Pascal I have mine setup like this and its working. My

Re: smtpd outgoing mail configuration

2024-05-17 Thread Janne Johansson
Den fre 17 maj 2024 kl 08:56 skrev Pascal Deveaux : > > The command > # chown root:_smtpd /etc/mail/secrets > Return : group smtpd doesn't exist The error message doesn't match the command at all, and the _smtpd group has been in the group file for some 15 years. Look for misspellings somewhere. O

Re: smtpd outgoing mail configuration

2024-05-16 Thread Pascal Deveaux
The command # chown root:_smtpd /etc/mail/secrets Return : group smtpd doesn't exist 17 mai 2024 10:32:19 Otto Moerbeek : > On Fri, May 17, 2024 at 08:12:27AM +0200, fr...@lilo.org wrote: > >> How to forward outgoing mail to a remote SMTP server with smtpd? >> >> I found this page, but it's out

Re: smtpd outgoing mail configuration

2024-05-16 Thread James Watt
On 17/05/24 11:42, fr...@lilo.org wrote: How to forward outgoing mail to a remote SMTP server with smtpd? I found this page, but it's out of date I think. https://romanzolotarev.com/openbsd/smtpd-forward.html Tks Pascal The config looks fine, use:  man smtpd.conf -James

Re: smtpd outgoing mail configuration

2024-05-16 Thread Otto Moerbeek
On Fri, May 17, 2024 at 08:12:27AM +0200, fr...@lilo.org wrote: > How to forward outgoing mail to a remote SMTP server with smtpd? > > I found this page, but it's out of date I think. > https://romanzolotarev.com/openbsd/smtpd-forward.html > > Tks > Pascal man smtpd.conf, first exmaple

Re: smtpd[68513]: warn: lost processor: spamassassin exited abnormally

2023-11-13 Thread Harald Dunkel
Hi Omar, On 2023-11-09 18:22:41, Omar Polo wrote: I've committed the update and backported to -STABLE so the fixed package should appear in the next days. Thanks for the report and sorry for the breakage I highly appreciate your fast response and the fix you have provided. Regards Harri

Re: smtpd[68513]: warn: lost processor: spamassassin exited abnormally

2023-11-09 Thread Omar Polo
I've committed the update and backported to -STABLE so the fixed package should appear in the next days. Thanks for the report and sorry for the breakage

Re: smtpd[68513]: warn: lost processor: spamassassin exited abnormally

2023-11-08 Thread Omar Polo
On 2023/11/07 22:44:56 +0100, Giovanni Bechis wrote: > On 11/7/23 20:16, Omar Polo wrote: > > On 2023/11/07 19:30:43 +0100, Harald Dunkel wrote: > >> Hi Omar, > >> > >> sorry for the delay, but I have good news: The patch seems to > >> work. Of course I will continue to watch it. > > Thanks for v

Re: smtpd[68513]: warn: lost processor: spamassassin exited abnormally

2023-11-07 Thread Giovanni Bechis
On 11/7/23 20:16, Omar Polo wrote: On 2023/11/07 19:30:43 +0100, Harald Dunkel wrote: Hi Omar, sorry for the delay, but I have good news: The patch seems to work. Of course I will continue to watch it. Thanks for verifying! Before bumping the smtp-filter protocol version I took at look at wh

Re: smtpd[68513]: warn: lost processor: spamassassin exited abnormally

2023-11-07 Thread Omar Polo
On 2023/11/07 19:30:43 +0100, Harald Dunkel wrote: > Hi Omar, > > sorry for the delay, but I have good news: The patch seems to > work. Of course I will continue to watch it. Thanks for verifying! Before bumping the smtp-filter protocol version I took at look at what we had in the port tree to

Re: smtpd[68513]: warn: lost processor: spamassassin exited abnormally

2023-11-07 Thread Harald Dunkel
Hi Omar, sorry for the delay, but I have good news: The patch seems to work. Of course I will continue to watch it. Thank you very much Harri

Re: smtpd[68513]: warn: lost processor: spamassassin exited abnormally

2023-11-06 Thread Harald Dunkel
On 2023-11-05 10:21:10, Omar Polo wrote: Can you try the following diff to see if it helps? I will try this evening after work, stay tuned. Its been a while since I used CVS. Regards Harri

Re: smtpd[68513]: warn: lost processor: spamassassin exited abnormally

2023-11-05 Thread Omar Polo
On 2023/11/05 09:59:14 +0100, Harald Dunkel wrote: > Hi folks, > > since OpenBSD 7.4 the spamassassin filter seems to be broken. On > the first EMail opensmtpd dies with a message in maillog saying > > Nov 5 08:59:23 mhost smtpd[60460]: bcc4f33a095bb28e smtp connected > address=xx.xx.xx.xx hos

Re: Smtpd is not adding message-id

2023-10-10 Thread Nicolas Goy
On 09.10.23 22:56, Todd C. Miller wrote: I just committed the fix but I don't think there is a workaround. You will need to patch and recompile smtpd. Thank you very much. Have a great day -- Nicolas Goy Engineer & Developer https://www.kuon.ch https://www.goyman.com

Re: Smtpd is not adding message-id

2023-10-09 Thread Todd C . Miller
On Mon, 09 Oct 2023 19:32:50 +0200, Nicolas Goy wrote: > I am hitting this issue with some go based process that send emails: > > https://github.com/OpenSMTPD/OpenSMTPD/issues/1068 > > Basically the client is not putting any Message-Id header and smtpd is > not adding it when sending the email. >

Re: smtpd

2022-09-21 Thread Mik J
Hello Todd, I didn't understand your previous answer.You're saying that the remote connection, google, is using a self signed certificate but at the end you say gmail has a real certificate. I had the same behavior when I wrote to a gmail address. Regards Le mercredi 8 juin 2022 à 17:29:32

Re: smtpd with dkim & mailing lists

2022-08-31 Thread Alexandre Ratchov
On Tue, Aug 30, 2022 at 09:17:44PM +0200, Tobias Fiebig wrote: > Heho, > > The important part is not 'not adding an additional signature' but > 'not breaking the previous signature'. As long as you do not fiddle > with anything in there, things will be fine; But, as you most likely > do (think: Add

Re: smtpd with dkim & mailing lists

2022-08-31 Thread Alexandre Ratchov
On Tue, Aug 30, 2022 at 07:26:11PM +0200, Martijn van Duren wrote: > On Tue, 2022-08-30 at 17:13 +0200, Alexandre Ratchov wrote: > > Hi, > > > > For my $DAYJOB I had to please big mail corporations and configured > > smtpd(8) to send DKIM-signed emails (also added SPF and DMARC > > records). This

Re: smtpd with dkim & mailing lists

2022-08-30 Thread Tobias Fiebig
6 To: Alexandre Ratchov ; misc@openbsd.org Subject: Re: smtpd with dkim & mailing lists On Tue, 2022-08-30 at 17:13 +0200, Alexandre Ratchov wrote: > Hi, > > For my $DAYJOB I had to please big mail corporations and configured > smtpd(8) to send DKIM-signed emails (also added SPF and DMAR

Re: smtpd with dkim & mailing lists

2022-08-30 Thread Martijn van Duren
On Tue, 2022-08-30 at 17:13 +0200, Alexandre Ratchov wrote: > Hi, > > For my $DAYJOB I had to please big mail corporations and configured > smtpd(8) to send DKIM-signed emails (also added SPF and DMARC > records). This was easy using instruction in the > opensmtpd-filter-dksim port and works fine

Re: smtpd: return tempfail if no valid fcrdns: good or bad?

2022-06-27 Thread Florian Obser
On 2022-06-24 10:16 +02, Alexandre Ratchov wrote: > I noticed that most of the spam that spamd(8) doesn't catch comes from > machines with no valid FCrDNS and that all legitimate mails used valid > FCrDNS. > > Certain [1] recommend to return 550 in case of invalid FCrDNS, but if > I understand cor

Re: smtpd + dkimsign 7.0 upgraded to 7.1

2022-06-15 Thread Pete
Hi, you're probably missing something along those lines: pki mail.example.com cert "/etc/ssl/mail.example.com.crt" pki mail.example.com key "/etc/ssl/private/mail.example.com.key" listen on egress tls pki mail.example.com

Re: smtpd + dkimsign 7.0 upgraded to 7.1

2022-06-15 Thread Martijn van Duren
Your bugreport is all over the place... First you say "stopped working", which I interpreted as won't start. Then you follow up with a "connection refused", which means that smtpd is not listening (or even running) and then you give an example where you can connect, but trying to use TLS, while acc

Re: smtpd + dkimsign 7.0 upgraded to 7.1

2022-06-14 Thread latincom
>> Hello Martijn >> >> Log do not show it. >> i found this error with: >> # openssl s_client -connect 45.32.6.189:25 -starttls smtp >> connect: Connection refused >> connect:errno=61 >> >> According to the internet, it is related to Python! >> >> PS: >> i am NOT receiving mail but i am able to send

Re: smtpd + dkimsign 7.0 upgraded to 7.1

2022-06-14 Thread latincom
Hello Martijn Log do not show it. i found this error with: # openssl s_client -connect 45.32.6.189:25 -starttls smtp connect: Connection refused connect:errno=61 According to the internet, it is related to Python! PS: i am NOT receiving mail but i am able to send!. With this conf it works corre

Re: smtpd + dkimsign 7.0 upgraded to 7.1

2022-06-13 Thread Martijn van Duren
Nothing stands out to me. Your maillog should contain more details on what goes wrong. martijn@ On Mon, 2022-06-13 at 00:15 -0700, latin...@vcn.bc.ca wrote: > Hello > > My mail server stop working after upgrade to 7.1; could somebody please > check the conf? > > # $OpenBSD: smtpd.conf,v 1.1

Re: smtpd

2022-06-08 Thread Todd C . Miller
On Wed, 08 Jun 2022 08:16:20 -0700, latin...@vcn.bc.ca wrote: > Hello misc > > Could somebody please tell me what cert is smtpd refering to? > > smtpd[11054]: 106b2cfae48c5616 mta cert-check result="unverified" This is probably a warning that the remote side of the connection is using a self-sign

Re: smtpd bounce messages and non-existent users

2022-02-16 Thread Tom Szilagyi
On Tue, Feb 15, 2022 at 12:26:55PM -0600, fix...@gmail.com wrote: > I have a server configured to accept mail for the domain of the server > itself (example.org) and virtual domains (example.com). The virtual > domain has several mappings of users to both local mbox accounts and > remote forwarding

Re: smtpd only Mail Server

2021-08-22 Thread Martijn van Duren
On Sat, 2021-08-21 at 07:20 -0700, latin...@vcn.bc.ca wrote: > > On Tue, 2021-08-10 at 04:32 -0700, latin...@vcn.bc.ca wrote: > > > > On Aug 10 01:52:57, latin...@vcn.bc.ca wrote: > > > > > > - smtpd had its first commit in 2008 and back then was far from > > > > > >   production ready: So are yo

Re: smtpd only Mail Server

2021-08-21 Thread latincom
> On Tue, 2021-08-10 at 04:32 -0700, latin...@vcn.bc.ca wrote: >> > On Aug 10 01:52:57, latin...@vcn.bc.ca wrote: >> > > > - smtpd had its first commit in 2008 and back then was far from >> > > >   production ready: So are you using base smtpd, or sendmail, or >> > > >   something else? >> > > >

Re: smtpd only Mail Server

2021-08-12 Thread latincom
> Am 10.08.21 13:29 schrieb latin...@vcn.bc.ca: >> >> > If you want help with a mail config, >> >> > you need to show your mail config. >> >> > >> >> >> >> No problem: >> >> I am used to use only the base system. >> >> >> >> #       $OpenBSD: smtpd.conf,v 1.14 2019/11/26 20:14:38 gilles >>

Re: smtpd only Mail Server

2021-08-12 Thread Michael Hekeler
Am 10.08.21 13:29 schrieb latin...@vcn.bc.ca: > > On Tue, 2021-08-10 at 04:32 -0700, latin...@vcn.bc.ca wrote: > >> > On Aug 10 01:52:57, latin...@vcn.bc.ca wrote: > >> > > > - smtpd had its first commit in 2008 and back then was far from > >> > > >   production ready: So are you using base smtpd

Re: smtpd only Mail Server

2021-08-10 Thread latincom
> On Tue, 2021-08-10 at 04:32 -0700, latin...@vcn.bc.ca wrote: >> > On Aug 10 01:52:57, latin...@vcn.bc.ca wrote: >> > > > - smtpd had its first commit in 2008 and back then was far from >> > > >   production ready: So are you using base smtpd, or sendmail, or >> > > >   something else? >> > > >

Re: smtpd only Mail Server

2021-08-10 Thread Martijn van Duren
On Tue, 2021-08-10 at 04:32 -0700, latin...@vcn.bc.ca wrote: > > On Aug 10 01:52:57, latin...@vcn.bc.ca wrote: > > > > - smtpd had its first commit in 2008 and back then was far from > > > >   production ready: So are you using base smtpd, or sendmail, or > > > >   something else? > > > > > > Yes,

Re: smtpd only Mail Server

2021-08-10 Thread latincom
> On Aug 10 01:52:57, latin...@vcn.bc.ca wrote: >> > - smtpd had its first commit in 2008 and back then was far from >> > production ready: So are you using base smtpd, or sendmail, or >> > something else? >> >> Yes, 2000 it was sendmail, nginx, apache, smtpd if i remember correctly; >> but my

Re: smtpd only Mail Server

2021-08-10 Thread Jan Stary
On Aug 10 01:52:57, latin...@vcn.bc.ca wrote: > > - smtpd had its first commit in 2008 and back then was far from > > production ready: So are you using base smtpd, or sendmail, or > > something else? > > Yes, 2000 it was sendmail, nginx, apache, smtpd if i remember correctly; > but my questio

Re: smtpd only Mail Server

2021-08-10 Thread latincom
> On Mon, 2021-08-09 at 20:02 -0700, latin...@vcn.bc.ca wrote: >> Hello >> >> i have had a smtpd only mail server for 21 years; but now i have a big >> problem related to dkim, dmarc, and spf. First, there is not man page, >> archives are not clear for me, google is confusing; but i have added the

Re: smtpd only Mail Server

2021-08-10 Thread artsi0m
Hello! >smtpd only mail server for 21 years. Why not use fdm ? As i know it is developed by OpenBSD members. >There is no man page for dkim, dmark and spf OpenBSD developers maintain man pages for base system mostly. I've never heard about ports maintainers editing port man page. >google is confusi

Re: smtpd only Mail Server

2021-08-09 Thread Martijn van Duren
On Mon, 2021-08-09 at 20:02 -0700, latin...@vcn.bc.ca wrote: > Hello > > i have had a smtpd only mail server for 21 years; but now i have a big > problem related to dkim, dmarc, and spf. First, there is not man page, > archives are not clear for me, google is confusing; but i have added the > corr

Re: smtpd returns 'TempFail' and 'No route to destination' when using localhost as source behind NAT

2020-08-19 Thread Martin
As I know, table sources is needed to bind smtpd to an interface while mail sending, but table helonames is for session IP=name. sorces != helonames in my particular configuration. So it doesn't work for me. smtpd should bind to local interface like localhost or another interface on local syste

Re: smtpd returns 'TempFail' and 'No route to destination' when using localhost as source behind NAT

2020-08-15 Thread Kastus Shchuka
On Sat, Aug 15, 2020 at 07:49:28AM +, Martin wrote: > It is worth to mention smtpd works absolutely fine for outgoing/incoming mail > if local machine has static IP address when: > ... > table sources {1.2.3.4} equivalent to > table helonames {1.2.3.4 = smtp.domain.tld} > ... > > And yes, I h

Re: smtpd returns 'TempFail' and 'No route to destination' when using localhost as source behind NAT

2020-08-15 Thread Martin
It is worth to mention smtpd works absolutely fine for outgoing/incoming mail if local machine has static IP address when: ... table sources {1.2.3.4} equivalent to table helonames {1.2.3.4 = smtp.domain.tld} ... And yes, I have exactly the same action in /etc/mail/smtpd.conf ... table sources {

Re: smtpd returns 'TempFail' and 'No route to destination' when using localhost as source behind NAT

2020-08-13 Thread Kastus
On Thu, Aug 13, 2020 at 10:35:32AM +, Martin wrote: > OpenSMTPd 6.7.0 OpenBSD 6.7-current on local machine. All machine's traffic > redirected trough iked IPsec VPN to remote gateway machine and uses PF NAT > rule first: > > match out log on enc0 from 0.0.0.0/0 to 0.0.0.0/0 nat-to 10.100.0.2

Re: smtpd accept client certificate only from a specific CA

2019-07-24 Thread Lévai , Dániel
Sorry, running 6.5-stable. Eredeti üzenet Be 2019. júl. 24. 19:13, Lévai, Dániel írta: > Hi all! > > I have this on my relay host: > > smtpd.conf: > ca myCA cert "/path/to/myCA.pem" > > listen on egress port submission \ > tls-require verify \ > ca myCA > > Now with that I expec

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-22 Thread Gilles Chehade
On Tue, Jan 22, 2019 at 01:11:44AM +0100, Eric Elena wrote: > On Mon, 21 Jan 2019 11:08:02 +0100 Gilles Chehade wrote: > > I may sound a bit harsh, but starting a thread with "this is my last try > > or I'll switch" (as if it actually matters) right before telling someone > > who wants to help you

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-22 Thread Gilles Chehade
On Mon, Jan 21, 2019 at 01:04:16PM -0600, Adam Thompson wrote: > > > Also, this is a recipient translation mechanism, similar to aliases, and > > not a sender rewriting mechanism which we do not have at this point. > > [...] > > virtual _now_ only works on recipients, not senders ? > > the virtual

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-21 Thread Eric Elena
On Mon, 21 Jan 2019 11:08:02 +0100 Gilles Chehade wrote: > I may sound a bit harsh, but starting a thread with "this is my last try > or I'll switch" (as if it actually matters) right before telling someone > who wants to help you that you actually tried _nothing_ then blaming the > code improvemen

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-21 Thread Adam Thompson
On 2019-01-21 04:08, Gilles Chehade wrote: In this test case, my translations map had: What is a translation map ? There is no such thing in OpenSMTPD (as of today). A virtual map that happened to be called . You're feeding the virtual table with invalid values. Apparently, yes. Also, t

Re: smtpd - does not send mails from daemon

2019-01-21 Thread Krzysztof Strzeszewski
I comment out 'match for any action "relay"' end it's ok :) thanks for the help W dniu 19.01.2019 o 12:46, Krzysztof Strzeszewski pisze: > Hi, > > what is wrong? > > https://krzy.ch/p/smtpd_error.txt > > Why I do not receive this message? Why this message is "from=<>"? I have > config "smtpd.conf"

Re: smtpd - help needed tranlsating to new virtual map syntax [FIXED]

2019-01-21 Thread Gilles Chehade
sorry, I obviously f-up my last mail, this one is fixed ;-) On Sun, Jan 20, 2019 at 04:14:05PM -0600, Adam Thompson wrote: > As it turns out, no, that doesn't work. > Trying to fix up broken sender mail domain-parts only simply gets me a "5.2.4 > Mailing list expansion problem" error, with no de

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-21 Thread Gilles Chehade
On Sun, Jan 20, 2019 at 04:14:05PM -0600, Adam Thompson wrote: > As it turns out, no, that doesn't work. > Trying to fix up broken sender mail domain-parts only simply gets me a "5.2.4 > Mailing list expansion problem" error, with no debug output to suggest why. > > In this test case, my translat

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-20 Thread Adam Thompson
I found the "-T" (trace) flag to smtpd(8), and it gives me this, which AFAICT confirms my suspicions: [...] rule #2 matched: match from src allowed-hosts for any => translate lookup: lookup "athom...@athompso.net" as ALIAS in table static:translations -> 0 lookup:

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-20 Thread Adam Thompson
addresses.) -Adam -Original Message- From: owner-m...@openbsd.org On Behalf Of Adam Thompson Sent: Wednesday, January 16, 2019 8:26 AM To: 'Edgar Pettijohn' ; misc@openbsd.org Subject: Re: smtpd - help needed tranlsating to new virtual map syntax As I said, I haven't tried

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-16 Thread Adam Thompson
larification. -Adam -Original Message- From: Edgar Pettijohn Sent: Wednesday, January 16, 2019 8:12 AM To: Adam Thompson ; misc@openbsd.org Subject: Re: smtpd - help needed tranlsating to new virtual map syntax It would be helpful if you show what you have tried. Should be as simple as: action

Re: smtpd - help needed tranlsating to new virtual map syntax

2019-01-16 Thread Edgar Pettijohn
It would be helpful if you show what you have tried. Should be as simple as: action "relay-01" lmtp /var/run/lmtp.sock virtual match from src action "relay-01" Edgar On Jan 16, 2019 7:37 AM, Adam Thompson wrote: > > [Cross-posting here before I give up and switch to Postfix  -Adam] > > > I h

Re: smtpd new "relay as" syntax?

2018-10-31 Thread Paul B. Henson
On Wed, Oct 31, 2018 at 08:07:09PM -0400, TronDD wrote: > Mail-from in the action options, I believe. Ah, yes; that seems to work, thanks. The previous implementation was documented as: If the as parameter is specified, smtpd(8) will rewrite the sender advertised in the SMTP session. address ma

Re: smtpd new "relay as" syntax?

2018-10-31 Thread TronDD
On October 31, 2018 5:31:44 PM EDT, "Paul B. Henson" wrote: >I just upgraded to OpenBSD 6.4, and I'm trying to figure out how to do >this with the new syntax: > >accept from local for any relay via smtp://smtp.domain.com as >"@domain.com" > >This would rewrite the outbound message to masquerade

Re: SMTPD - Auth Error 535 5.7.8

2018-10-15 Thread pb
hello, google brought me here. i too had the same error response. it is not due to incorrect user/ p/w. in our application i had to change the SSL mode from 0 to 2. link explaining. https://www.nsoftware.com/kb/xml/04070801.rst just wanted to share -- Sent from: http://openbsd-archive.7691.n7.na

Re: smtpd relay problem

2018-05-03 Thread Rudolf Sykora
Dear Bruno, Mazocomp, > via smtps+auth://a...@smtp.gmail.com:465 \ thanks, it works now. I wrongly expected that using secure+auth would choose the ports (465 when smtps and 587 for tls fall-back). Thanks Ruda PS.: Thanks to Mazocomp for supplementary information.

Re: smtpd relay problem

2018-05-02 Thread Bruno Flueckiger
On 02.05.18 15:05, Rudolf Sykora wrote: > Hello misc, > > I just wanted to send mail through my gmail account > using smtpd in the relay mode. > I am unsuccessful so far, and do not understand what's > going wrong. > > smtpd log of the attempt to send the email follows. > Can anybody help, please

Re: smtpd relay problem

2018-05-02 Thread mazocomp
Hi! Try to modify my configs under your username and address: /etc/mail/smtpd.conf: - table aliases file:/etc/mail/aliases table secrets file:/etc/mail/secrets listen on lo0 accept for local alias deliver to mbox accept for any relay via tls+auth://mazoc...@disroot.org:587

Re: smtpd fails to start

2018-01-23 Thread Jordan Geoghegan
If you ever find yourself in Western Canada, I'll be happy to keep that promise. On 01/23/18 01:40, Gilles Chehade wrote: I will remember that promise. On Tue, Jan 23, 2018 at 01:37:37AM -0800, Jordan Geoghegan wrote: Thank you Gilles! I knew it was going to be something irritatingly obvious

Re: smtpd fails to start

2018-01-23 Thread Gilles Chehade
I will remember that promise. On Tue, Jan 23, 2018 at 01:37:37AM -0800, Jordan Geoghegan wrote: > Thank you Gilles! I knew it was going to be something irritatingly obvious. > I owe you a beer. > > Cheers, > > Jordan Geoghegan > > > # pkg_add opensmtpd-extras > quirks-2.367 signed on 2017-10-0

Re: smtpd fails to start

2018-01-23 Thread Jordan Geoghegan
Thank you Gilles! I knew it was going to be something irritatingly obvious. I owe you a beer. Cheers, Jordan Geoghegan # pkg_add opensmtpd-extras quirks-2.367 signed on 2017-10-03T11:21:28Z opensmtpd-extras-2017031321...:gettext-0.19.8.1p1: ok opensmtpd-extras-2017031321...:libffi-3.2.1p2: ok

Re: smtpd fails to start

2018-01-23 Thread Gilles Chehade
On Tue, Jan 23, 2018 at 01:21:22AM -0800, Jordan Geoghegan wrote: > Hi Gilles, > > The output of the command you sent: > > # smtpd -dv > smtpd: table_create: backend "passwd" does not exist > > I'm not sure what this means, as /etc/mail/passwd does indeed exist. > > Thanks for the fast response

Re: smtpd fails to start

2018-01-23 Thread Jordan Geoghegan
Hi Gilles, The output of the command you sent: # smtpd -dv smtpd: table_create: backend "passwd" does not exist I'm not sure what this means, as /etc/mail/passwd does indeed exist. Thanks for the fast response! On 01/22/18 23:58, Gilles Chehade wrote: you almost managed to give enough info

Re: smtpd fails to start

2018-01-22 Thread Gilles Chehade
you almost managed to give enough information to troubleshoot... ... except for logs displaying the problem :-) `smtpd -dv` will provide useful information On Mon, Jan 22, 2018 at 11:40:48PM -0800, Jordan Geoghegan wrote: > Hi all, > > I was hoping someone could point me in the right direction

Re: smtpd vs. uw-imap locking

2017-07-31 Thread Gilles Chehade
On Sun, Jul 30, 2017 at 07:47:15PM -0400, gwes wrote: > smtpd locks user mailboxes in /var/mail using lockspool(1) > uw-imapd locks using its own dotfile locker mlock(not the syscall) > Actually, it is mail.local that does the locking, smtpd knows nothing at all regarding /var/mail as it is an MD

Re: smtpd "relay as" not working as expected

2017-06-12 Thread Marcus MERIGHI
Hello, fivering...@yahoo.com.au (Steve), 2017.06.07 (Wed) 15:23 (CEST): > Hello, > If I include : > accept from local for any relay as "@domain.com" > in smtpd.comnf on 6.1 release the reply to address is rewritten as > u...@domain.com but the from address is left as u...@host.domain.com. > Do

Re: smtpd doesn't start

2017-05-31 Thread Choose a display name
>Did you ever post smtpd.conf? This issue seems odd. I did, but for some reason my messages are damaged on the marc. Here it is on the nabble, the third message. http://openbsd-archive.7691.n7.nabble.com/smtpd-doesn-t-start-td319036.html

Re: smtpd doesn't start

2017-05-31 Thread Craig Skinner
Hi Peter, On Tue, 30 May 2017 12:32:35 +0200 Peter Hessler wrote: > On 2017 May 30 (Tue) at 10:37:37 +0100 (+0100), Craig Skinner wrote: > :.localdomain (.local interferes with iStuff, avoid it) > :.internal > :.private > :.priv > :.lan > > NO NO NO NO NO NO NO NO NO > > All of those domains may

Re: smtpd doesn't start

2017-05-30 Thread Edgar Pettijohn
Did you ever post smtpd.conf? This issue seems odd. ⁣Sent from BlueMail ​ On May 30, 2017, 5:32 AM, at 5:32 AM, Peter Hessler wrote: >On 2017 May 30 (Tue) at 10:37:37 +0100 (+0100), Craig Skinner wrote: >:.localdomain (.local interferes with iStuff, avoid it) >:.internal >:.private >:.priv >:.la

Re: smtpd doesn't start

2017-05-30 Thread Peter Hessler
On 2017 May 30 (Tue) at 10:37:37 +0100 (+0100), Craig Skinner wrote: :.localdomain (.local interferes with iStuff, avoid it) :.internal :.private :.priv :.lan NO NO NO NO NO NO NO NO NO All of those domains may (or have been) issued by ICANN, and can be used for real. The only domains you should

Re: smtpd doesn't start

2017-05-30 Thread Craig Skinner
Hello, On Mon, 29 May 2017 13:04:03 -0400 Choose a display name wrote: > If I understand correct, the problem is that my DNS server on > 192.168.1.1 can't lookup an IP address for "mypcname", which is not a > registered domain name, just cooked-up hostname of the machine > running smtpd. > > Hone

Re: smtpd doesn't start

2017-05-29 Thread Raf Czlonka
On Mon, May 29, 2017 at 09:16:20PM BST, Choose a display name wrote: > > Try defining your hostname in /etc/hosts > > If you have a static address, define it with that address. If > > it's a dynamic address, define it as 127.0.1.1 > > Thank you, it worked, but I also had to add "lookup file bind"

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
>Try defining your hostname in /etc/hosts >If you have a static address, define it with that address. If it's a dynamic >>address, define it as 127.0.1.1 Thank you, it worked, but I also had to add "lookup file bind" to the resolv.conf.

Re: smtpd doesn't start

2017-05-29 Thread Branden Harper
Try defining your hostname in /etc/hosts If you have a static address, define it with that address. If it's a dynamic address, define it as 127.0.1.1 On May 29, 2017 12:20 PM, "Choose a display name" < thelocals_job_applic...@protonmail.com> wrote: Turns out, you were right, Ted. It is a DNS fail

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
Turns out, you were right, Ted. It is a DNS failure. Here is the relevant part of ktrace of the smtpd: # kdump | tail -40 31531 smtpd RET clock_gettime 0 31531 smtpd CALL poll(0x7f7d75d0,1,2) 31531 smtpd STRU struct pollfd { fd=3, events=0x1, revents=0<> } 31531 smtpd RET poll 0 31531 smtp

Re: smtpd doesn't start

2017-05-29 Thread Choose a display name
>this sounds a lot like a DNS failure. DNS seems to work. # cat /etc/resolv.conf # Generated by athn0 dhclient nameserver 192.168.1.1 # dig protonmail.com MX ; <<>> DiG 9.4.2-P2 <<>> protonmail.com MX ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id

Re: smtpd doesn't start

2017-05-26 Thread Mik J
Hello,I had the same problem recently.Please check the rights on the file smtpd.conf and if necessary chmod 600 smtpd.conf Le Vendredi 26 mai 2017 15h08, Ted Unangst a écrit : Choose a display name wrote: > >As always, you can post your smtpd.config, dmesg and any errors > >you're rec

Re: smtpd doesn't start

2017-05-26 Thread Ted Unangst
Choose a display name wrote: > >As always, you can post your smtpd.config, dmesg and any errors > >you're receiving. "it doesn't work" and "i have a problem" won't > >get you much help on this list. > > I get no error, smtpd just hangs if network is up. > It looks like this: > > # smtpctl show st

  1   2   3   4   >