Questions tagged [opensmtpd]

18 questions
3
votes
0 answers

Multiple relays with OpenSMTPd

We use mailhog in development / testing and hook it up to postfix. It so that if you mail to an email address ending in .external, it will be relayed to a real server. And, if doesn't we relay it to mailhog. Postfix configuration…
tvlooy
  • 131
  • 1
  • 6
3
votes
1 answer

Avoiding unnecessary bounces with OpenSMTPD on OpenBSD

I am running OpenSMTPD on OpenBSD together with spamd, spampd and spamassassin, DKIMproxy and dovecot. My setup is to handle both local e-mail on the server and (external) email for my domain. My setup seems to be working (still in testing phase). I…
pvswie01
  • 31
  • 2
3
votes
1 answer

amavisd-new rescans quarantined mails

iam using Opensmtpd on a 14.04.4 LTS Ubuntu with amavisd-new as Mailscanner. We configured the quarantine so it sends the Virus-Mails to an external mailbox. This works fine until the point amavis has found a virus/spam Mail - it gets sent to our…
Ex1v0r
  • 51
  • 3
3
votes
1 answer

What's the proper way to get smtpd (OpenSMTPD) to pick up changes to smtpd.conf?

I'm new to OpenBSD and in the process of learning OpenSMTPD. I would have expected some sort of "restart" option from the smtpctl command, but it only has a stop with no start which might force a reread of smtpd.conf so changes take effect. Outside…
rcampbell
  • 1,025
  • 4
  • 14
  • 24
1
vote
1 answer

Dovecot LMTP rejecting mail from address with apostrophe

I have an OpenSMTPD / Dovecot installation on an OpenBSD server. I recently came across an issue where Dovecot LMTP would reject a message sent to a local user from an address which contains a single apostrophe (e.g.…
mike
  • 208
  • 2
  • 6
1
vote
0 answers

How is an SMTP-Client supposed to behave if he receives an Error from the Server?

Consider the following SMTP-Session: 220 mx.example.com ESMTP Postfix EHLO example.com 250-mx.example.com 250-PIPELINING 250-SIZE 10240000 250-ETRN 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-8BITMIME 250-DSN 250 SMTPUTF8 MAIL FROM:<> 250 2.1.0 Ok RCPT…
Subito
  • 378
  • 1
  • 3
  • 11
1
vote
0 answers

How I can look from that script runs sendmail?

my problem is that some script in php or some other script or program is sending spam. I am not able to trace where this program runs. do the following: ps aux | grep sendmail nginx 28286 0.0 0.0 39316 3328 ? Ss 07:27 0:00 sendmail…
laur
  • 117
  • 1
  • 4
1
vote
0 answers

Mysterious/Unknown IPs keep getting whitelisted by spamd

I have an OpenBSD 7.1 mail server running OpenSMTPD with spamd. I notice mysterious IP addresses in /var/log/maillog, such as: smtp connected address=162.142.125.222 host=scanner-25.ch1.censys-scanner.com These IPs keep getting whitelisted in the…
Joe Blough
  • 11
  • 1
1
vote
0 answers

Personal OpenSMTPd relay fails when using "tls-require", works fine with just "tls"

I'm currently setting up a somewhat unique personal email server using OpenSMTPd. I have a local server (Raspberry Pi) and a remote server (VPS). Emails sent to me are sent to the remote server and are then relayed to my local server. When I send an…
Josey
  • 11
  • 2
1
vote
0 answers

How to add a catchall address to opensmtpd without disrupting existing aliases

I have a working OpenSMTPD configuration that I am happy with. I do not have a virtuser file and I do not reference "domain_mail" or virtual anywhere in my config file, which is here: table aliases file:/usr/local/etc/mail/aliases filter…
user227963
  • 199
  • 1
  • 2
  • 11
1
vote
1 answer

Added dkimproxy to OpenSMTPD ... mail loop when sending to my own domain

I have a nicely working OpenSMTPD configuration and I added dkimproxy to it. Everything is working nicely and mail-tester, etc., all report that I have proper DKIM signing and my email score is 10/10, etc. The problem is ... If I attempt to send an…
user227963
  • 199
  • 1
  • 2
  • 11
1
vote
1 answer

LDAP+SSL configuration with OpenSMTPD

I have a working setup with OpenSMTPD 6.6.4 (hosted on a debian 10) that is plugged on a OpenLDAP 2.4.50 server (hosted on a Alpine 3.8), based on this blogpost. It works with plain LDAP connection, but fails with LDAPS. /etc/smtpd.conf pki…
azmeuk
  • 165
  • 1
  • 14
0
votes
1 answer

OpenSMTPd: Block sender based on "Received" domain

For OpenSMTPd, I would like to block a server from sending me mail based on the domain name of that server. It has a large number of IP addresses all over the place and blocking each individual one is far too much work especially with the massive…
0
votes
1 answer

How to hide/remove original source IP address when using OpenSMTPD?

I'm trying to figure out how to remove/hide the originating source IP address of every mail being sent using OpenSMTPD? To do the equivalent in postfix, it would…
ikevin8me
  • 137
  • 1
  • 6
0
votes
0 answers

smtp: SSL_CTX_load_verify_locations: No such file or directory

Debian GNU/Linux 11.4 (bullseye), Linux 5.10.0-17-amd64 Installed OpenSMTPD 6.8.0p2-3 amd64 (including opensmtpd-extras 6.7.1-2 amd64) and tried to test sending a mail, but every smtp call (except smtp -h) results in this error message: ~# smtp…
Stefan
  • 1
  • 1
1
2