Il 2023-03-11 14:23 postfix--- via Postfix-users ha scritto:
some times, for not all of address, my mail remaining in queue

what can i check?
is the problem the server configuration or the SPF record?

Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock'


The problem isn't SPF. The problem is postfix can't open the database
to continue processing, so it has to give up and put the mail in queue
to try again later. You need to figure out why postfix can't connect
to the database. Is the database stopped? Is it on the same server as
postfix? Does the socket have the correct permissions? Is postfix
running in chroot denying access? Selinux issue?

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org


thanks for your reply.
i think the problem is "sasl-password" authentication file.

Actually i try two ways to config this file:

1.
user = myuser
password = xxxxxxx
hosts = localhost
dbname = maildb
table = mailbox
select_field = password
where_field = username

2.

user = myuser
password = xxxxxxx
hosts = localhost
dbname = maildb

query = SELECT password FROM mailbox WHERE username = '%s' AND active = '1'



and then "postmap" command.

it's correct ?



The problem isn't SPF. The problem is postfix can't open the database
to continue processing, so it has to give up and put the mail in queue
to try again later. You need to figure out why postfix can't connect
to the database. Is the database stopped? Is it on the same server as
postfix? Does the socket have the correct permissions? Is postfix
running in chroot denying access? Selinux issue?

it's Debian 11, db is active, if i send a mail to my gmail, it works !
i do not understand, if a db connect problem, i never rescue to send mail also my gmail, are you agree ?

_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to