Questions tagged [opensmtpd]

14 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
  • 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
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
  • 283
  • 1
  • 2
  • 10
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
  • 145
  • 1
  • 13
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

Error in config, reported only as syntax error

I have a simple config (based on googling and copy paste) that contains an error, I don't know how to proceed. I would like to forward all mails received to an smtp-server that requires username+password+TLS The config: listen on 0.0.0.0 port…
FelixHJ
  • 113
  • 1
  • 7
0
votes
1 answer

Can OpenSMTPD relay mail from a whitelisted IP?

I am running opensmtpd and all is well. Of course I do not run an open relay and I tightly control how mail is sent through the mailserver. However, my personal mailtool runs on a different virtual machine on the same physical server as the…
user227963
  • 283
  • 1
  • 2
  • 10
-1
votes
1 answer

Opensmtpd can relay mail from a list to any domain?

My company briefly like this I have 1500 IP addresses SMTP source and Exchange 2016 (Behind KEMP LB) Due to LB topology, my anonymous SMTP relay receive connector scopes store on Exchange server. Now I can control anon. SMTP relay traffic by using…