Thanks for your reply
Here is my postfix conf file
######################
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
#smtp_enforce_tls = yes
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2
# TLS parameters
smtpd_tls_security_level = may
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated
defer_unauth_destination
myhostname = dily.infra.cz
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, dily.infra.cz, debian.one.cz,
localhost.one.cz, localhost
relayhost =
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
88.103.236.0/24 88.103.239.0/24 88.103.238.0/24 90.182.63.0/24
213.210.177.0/24 213.210.177.0/24
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
maillog_file = /var/log/postfix.log
virtual_alias_domains = /etc/virtual_domains
#virtual_mailbox_base = /var/spool/mail
virtual_alias_maps = hash:/etc/virtual_mailbox
milter_protocol = 2
milter_default_action = accept
smtpd_milters = inet:localhost:12301
non_smtpd_milters = inet:localhost:12301
message_size_limit = 52428800
##############################
Can you see any problem there?
Thanks
On 03/12/2024 15:21, Bluejay Adametz wrote:
> Only these references to opendkim I found out in syslog:
>
> Dec 3 14:35:09 debian systemd[1]: Stopping OpenDKIM DomainKeys
>Identified Mail (DKIM) Milter...
...
You probably need to look in your mail llog.
If there's nothing there, then consider that postfix might not be
calling opendkim for some reason. Check your postfix configuration,
and consider that postfix is probably running chroot'd, so opendkim
will need to put it's socket file within that chroot (BTDT) or use an
IP connection point.
> My opendkim.conf is here
I don't see an obvious problem, other than possibly the location of
the socket file.
An Ubuntu relay I have is configured with
Socket local:/var/spool/postfix/run/opendkim/opendkim.sock
on the opendkim side, and
smtpd_milters = unix:/run/opendkim/opendkim.sock
non_smtpd_milters = unix:/run/opendkim/opendkim.sock
on the postfix side. postfix runs chroot'd into /var/spool/postfix.
I've also found it necessary to add the postfix user to the opendkim
group so it will have access to the socket file opendkim creates.
- Bluejay Adametz
We cannot solve our problems with the same thinking
we used when we created them. - Albert Einstein
NOTICE: This message, including any attachments, is only for the use
of the intended recipient(s) and may contain confidential, sensitive
and/or privileged information, or information otherwise prohibited
from dissemination or disclosure by law or regulation, including
applicable export regulations. If the reader of this message is not
the intended recipient, you are hereby notified that any use,
disclosure, copying, dissemination or distribution of this message or
any of its attachments is strictly prohibited. If you received this
message in error, please contact the sender immediately by reply email
and destroy this message, including all attachments, and any copies
thereof.
--
This email has been checked for viruses by Avast antivirus software.
www.avast.com
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org