DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 28th May 2023
mp mp is offline
New User
 
Join Date: Mar 2023
Posts: 2
Default mail server with OpenSMTPD - no incomming messages

Hey,
installed OS: OpenBSD 7.3
.. im following this guide: https://poolp.org/posts/2019-09-14/s...ot-and-rspamd/

sending works fine, dkim signing ok, rDNS ok, A records as well as all the TXT records are fine. But no incoming messages..

all the daemons are running. i mean redis, rspamd, dovecot, http, and also smtpd.

# netstat -na -f inet | grep LISTEN
Quote:
tcp 0 0 *.443 *.* LISTEN
tcp 0 0 *.80 *.* LISTEN
tcp 0 0 *.587 *.* LISTEN
tcp 0 0 *.25 *.* LISTEN
tcp 0 0 127.0.0.1.11333 *.* LISTEN
tcp 0 0 127.0.0.1.11334 *.* LISTEN
tcp 0 0 127.0.0.1.11332 *.* LISTEN
tcp 0 0 127.0.0.1.6379 *.* LISTEN
tcp 0 0 *.993 *.* LISTEN
tcp 0 0 *.143 *.* LISTEN
tcp 0 0 *.22 *.* LISTEN
# smtpd -dvT all
Quote:
debug: init ssl-tree
info: loading pki information for mail.mydomain.com
debug: init ca-tree
debug: init ssl-tree
info: loading pki keys for mail.mydomain.com
debug: using "fs" queue backend
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
info: OpenSMTPD 7.0.0 starting
debug: init ssl-tree
debug: init ssl-tree
info: loading pki information for mail.mydomain.com
debug: init ca-tree
debug: init ssl-tree
info: loading pki keys for mail.mydomain.com
debug: init ssl-tree
info: loading pki information for mail.mydomain.com
debug: init ca-tree
debug: init ssl-tree
info: loading pki keys for mail.mydomain.com
info: loading pki information for mail.mydomain.com
debug: init ca-tree
debug: init ssl-tree
info: loading pki keys for mail.mydomain.com
debug: init ssl-tree
info: loading pki information for mail.mydomain.com
debug: init ca-tree
debug: init ssl-tree
info: loading pki keys for mail.mydomain.com
debug: init ssl-tree
info: loading pki information for mail.mydomain.com
debug: init ca-tree
debug: init ssl-tree
info: loading pki keys for mail.mydomain.com
debug: init ssl-tree
info: loading pki information for mail.mydomain.com
debug: init ca-tree
debug: init ssl-tree
info: loading pki keys for mail.mydomain.com
debug: using "fs" queue backend
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
setup_peer: control -> crypto[62421] fd=4
setup_peer: control -> lookup[47020] fd=5
setup_peer: control -> dispatcher[88681] fd=6
debug: using "fs" queue backend
setup_peer: control -> queue[5720] fd=7
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
setup_peer: control -> scheduler[80460] fd=8
setup_peer: lookup -> control[13207] fd=4
setup_peer: lookup -> dispatcher[88681] fd=5
setup_peer: lookup -> queue[5720] fd=6
debug: using "fs" queue backend
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
debug: using "fs" queue backend
debug: using "ramqueue" scheduler backend
debug: using "ramqueue" scheduler backend
debug: using "ram" stat backend
debug: using "ram" stat backend
mproc: ca -> control: enabled
setup_peer: queue -> control[13207] fd=4
setup_peer: scheduler -> control[13207] fd=4
mproc: ca -> parent: enabled
setup_peer: queue -> dispatcher[88681] fd=5
setup_peer: scheduler -> queue[5720] fd=5
mproc: ca -> dispatcher: enabled
mproc: ca -> dispatcher: disabled
setup_peer: queue -> lookup[47020] fd=6
debug: ca -> control: pipe closed
setup_peer: queue -> scheduler[80460] fd=7
debug: ca agent exiting
setup_proc: dispatcher done
setup_done: dispatcher[88681] done
setup_proc: queue done
setup_done: queue[5720] done
debug: rsa_engine_init: using RSA privsep engine
setup_done: scheduler[80460] done
setup_proc: scheduler done
debug: bounce warning after 4h
smtpd: setup done
debug: ecdsa_engine_init: using ECDSA privsep engine
mproc: scheduler -> control: enabled
mproc: scheduler -> queue: enabled
mproc: lka -> parent: enabled
mproc: lka -> queue: enabled
mproc: lka -> control: enabled
mproc: lka -> dispatcher: enabled
mproc: lka -> dispatcher: disabled
mta_postfork: local_mail
filters init type=builtin, name=check_dyndns, hooks=00000001
filters init type=builtin, name=check_fcrdns, hooks=00000001
mta_postfork: outbound
filters init type=builtin, name=check_rdns, hooks=00000001
filters init type=proc, name=rspamd, proc=rspamd
filters init type=proc, name=senderscore, proc=senderscore
debug: scheduler -> control: pipe closed
filters init type=chain, name=<dynchain:00000001> { check_dyndns, check_rdns, check_fcrdns, senderscore, rspamd }
debug: scheduler agent exiting
debug: lka -> control: pipe closed
debug: lookup agent exiting
queue-backend: queue_init(1) -> 1
mproc: parent -> control: enabled
mproc: parent -> lka: enabled
mproc: parent -> queue: enabled
mproc: parent -> ca: enabled
mproc: queue -> parent: enabled
mproc: parent -> dispatcher: enabled
mproc: queue -> control: enabled
mproc: queue -> lka: enabled
mproc: queue -> scheduler: enabled
mproc: queue -> dispatcher: enabled
debug: queue -> control: pipe closed
debug: queue agent exiting
mproc: parent -> lka: realloc 0 -> 128
mproc: parent -> lka : 12 IMSG_LKA_PROCESSOR_FORK
mproc: parent -> lka : 17 IMSG_LKA_PROCESSOR_FORK
warn: lost child: control exited abnormally
debug: parent -> control: pipe closed
smtpd: process control socket closed
debug: dispatcher: rsae_init
debug: dispatcher: rsae_init
debug: dispatcher: rsae_init
debug: dispatcher: rsae_init
dispatcher: smtpd: bind: Address already in use
Thank you for any advice..
Reply With Quote
  #2   (View Single Post)  
Old 28th May 2023
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,989
Default

Hello, and welcome!
  1. What happens when you connect a test SMTP session to your mail server from outside your network -- from the Internet -- using telnet(1). You must be able to establish an SMTP session from the Internet in order to receive mail.
  2. If the test was successful... what happens when you send a test email to your mail server from an outside system? Does it sit in a pending mail queue or does it bounce back? If it bounces, what does the sending MTA provide for the reason?
Reply With Quote
  #3   (View Single Post)  
Old 28th May 2023
mp mp is offline
New User
 
Join Date: Mar 2023
Posts: 2
Default

thank you.
1. no possible to connect.. i missed filtered smtp port:
# nmap -Pn -sT -d myip
Quote:
PORT STATE SERVICE REASON
22/tcp open ssh syn-ack
25/tcp filtered smtp no-response
80/tcp open http syn-ack
143/tcp open imap syn-ack
587/tcp open submission syn-ack
993/tcp open imaps syn-ack
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenSMTPD rewrite sender of relayed mail to virtual entry discostew OpenBSD General 8 3rd June 2021 01:42 AM
Best way to check mail messages frequently, but not constantly e1-531g General software and network 10 25th March 2016 06:19 PM
OpenSMTPd will be the default Mail Transfer Agent in OpenBSD 5.6 jggimi OpenBSD General 5 17th March 2014 04:09 PM
OpenSMTPD incoming mail server gpatrick OpenBSD General 2 9th August 2011 10:19 AM
System stopped sending e-mail messages. bigb89 FreeBSD General 4 30th June 2008 05:20 PM


All times are GMT. The time now is 05:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick