Le 22/08/2020 à 22:23, Mik J a écrit :
> In old format I had
> accept tagged CLAM_IN for domain <domaines> virtual <utilisateurs>
> deliver to maildir
> "/home/mail/%{dest.domain:lowercase}/%{dest.user:lowercase}/Maildir"
>
> In new format I wrote
> action DELIVRE_VIRTUELS maildir
> "/home/mail/%{dest.domain:lowercase}/%{dest.user:lowercase}/Maildir"
> match tag CLAM_IN for domain <domaines> rcpt-to <utilisateurs> action
> DELIVRE_VIRTUELS
>
> The table <domaines> points to a file that looks like this
> domain1.org
> *.domain2.org
>
> The table <utilisateurs> points to a file that looks like this
> [email protected] [email protected]
> [email protected] _vmail
> The error message displayed is
> /etc/mail/smtpd.conf:64: table "utilisateurs" may not be used for
> rcpt-to lookups
Your config should read:
action DELIVRE_VIRTUELS maildir
"/home/mail/%{dest.domain:lowercase}/%{dest.user:lowercase}/Maildir"rcpt-to
virtual <utilisateurs>
match tag CLAM_IN for domain <domaines> action DELIVRE_VIRTUELS