Forum Linux.débutant opensmtpd

Posté par  . Licence CC By‑SA.
Étiquettes : aucune
0
29
jan.
2020

Bonjour à tous,

J'ai suivi la configuration opensmtpd de ce site.

https://rodolphe.breard.tf/post/tuto-email-opensmtpd-dovecot/

Il y a des erreurs de syntaxe en gras mais je ne vois pas pourquoi !

J'ai mis les lignes entre * phrase de code *

# signed by dkimproxy
listen on lo port 10028 tag DkimOut

# filtered by amavisd
listen on lo port 10025 tag Clean

#
# Tables
# If you edit a file, you have to run "smtpctl update table <table_name>"
#

table aliases "/etc/smtpd/aliases"
table shitlist "/etc/smtpd/shitlist"

#
# Actions
#

**action local_deliver lmtp "/run/dovecot/lmtp" alias <aliases>**
action to_amavisd    relay host smtp://127.0.0.1:10024
action to_dkimproxy  relay host smtp://127.0.0.1:10027
action relay_out     relay helo example.org


#
# Matches
#

# Reject emails from banned domains
#match from any mail-from <shitlist> for any reject

# Deliver local emails
**match action local_deliver**
match for domain "example.org" action local_deliver
match from any auth for domain "example.org" action local_deliver

# Deliver filtered emails
**match from any tag Clean for domain "example.org" action local_deliver**

# Send unfiltered emails to amavisd
**match from any for domain "example.org" action to_amavisd**

# Relay outgoing emails when signed
**match from any tag DkimOut for any action relay_out**

# Send outgoing unsigned emails to dkimproxy
**match for any action to_dkimproxy**
match from any auth for any action to_dkimproxy

Le message d'erreur d'opensmtpd est le suivant,

root@mail:~# smtpd -vvvd -f /etc/smtpd.conf
/etc/smtpd.conf:XX: syntax error
/etc/smtpd.conf:XX: syntax error
/etc/smtpd.conf:XX: syntax error
/etc/smtpd.conf:XX: syntax error
/etc/smtpd.conf:XX: syntax error
/etc/smtpd.conf:XX: syntax error
warn: no rules, nothing to do

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.