Your message dated Sun, 1 Dec 2024 14:09:51 +0300
with message-id <[email protected]>
and subject line Re: Bug#287943: connect to subsystem private/mysql: No such 
file or directory
has caused the Debian Bug report #287943,
regarding connect to subsystem private/mysql: No such file or directory
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
287943: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=287943
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postfix-mysql
Version: 2.1.4-5

After installing postfix, postfix-mysql and configuring it with these
relevant values:

local_recipient_maps = hash:/etc/postfix/localusers,
                       proxy:mysql:/etc/postfix/sql_recipientmap,
                       proxy:mysql:/etc/postfix/sql_recipientmap2
mailbox_transport = mysql:/etc/postfix/sql_transportmap
proxy_read_maps = proxy:mysql:/etc/postfix/sql_virtual_aliases
                  proxy:mysql:/etc/postfix/sql_recipientmap
                  proxy:mysql:/etc/postfix/sql_recipientmap2
virtual_alias_maps = proxy:mysql:/etc/postfix/sql_virtual_aliases

I get this in the logs:

Dec 31 02:01:37 amx1 postfix/postfix-script: starting the Postfix mail
system
Dec 31 02:01:37 amx1 postfix/master[2340]: daemon started -- version 2.1.4
Dec 31 02:24:23 amx1 postfix/pickup[2342]: C7A0760002: uid=0 from=<root>
Dec 31 02:24:23 amx1 postfix/cleanup[2366]: C7A0760002:
message-id=<[email protected]>Dec 31 02:24:23 amx1
postfix/qmgr[2343]: C7A0760002: from=<[email protected]>, size=283, nrcpt=1
(queue active)Dec 31 02:24:23 amx1 postfix/local[2369]: warning: connect #1
to subsystem private/mysql: No such file or directory
Dec 31 02:24:33 amx1 postfix/local[2369]: warning: connect #2 to subsystem
private/mysql: No such file or directory
Dec 31 02:24:43 amx1 postfix/local[2369]: warning: connect #3 to subsystem
private/mysql: No such file or directory
Dec 31 02:24:53 amx1 postfix/local[2369]: warning: connect #4 to subsystem
private/mysql: No such file or directory
Dec 31 02:25:03 amx1 postfix/local[2369]: warning: connect #5 to subsystem
private/mysql: No such file or directory
Dec 31 02:25:13 amx1 postfix/local[2369]: warning: connect #6 to subsystem
private/mysql: No such file or directory
Dec 31 02:25:23 amx1 postfix/local[2369]: warning: connect #7 to subsystem
private/mysql: No such file or directory
Dec 31 02:25:33 amx1 postfix/local[2369]: warning: connect #8 to subsystem
private/mysql: No such file or directory
Dec 31 02:25:43 amx1 postfix/local[2369]: warning: connect #9 to subsystem
private/mysql: No such file or directory
Dec 31 02:25:53 amx1 postfix/local[2369]: warning: connect #10 to subsystem
private/mysql: No such file or directory
Dec 31 02:26:03 amx1 postfix/local[2369]: fatal: connect #11 to subsystem
private/mysql: No such file or directory
Dec 31 02:26:04 amx1 postfix/qmgr[2343]: warning: premature end-of-input on
private/local socket while reading input attribute name
Dec 31 02:26:04 amx1 postfix/qmgr[2343]: warning: private/local socket:
malformed response
Dec 31 02:26:04 amx1 postfix/qmgr[2343]: warning: transport local failure --
see a previous warning/fatal/panic logfile record for the problem
description
Dec 31 02:26:04 amx1 postfix/master[2340]: warning: process
/usr/lib/postfix/local pid 2369 exit status 1
Dec 31 02:26:04 amx1 postfix/master[2340]: warning: /usr/lib/postfix/local:
bad command startup -- throttling


The problem is actually the mailbox_transport, wich is NOT read through the
proxy (i specificaly want it to be retrieved from database upon every
lookup). However, the socket that postfix expect for this, is not there.
Who's to blame?


-- 

Jure Pečar
http://jure.pecar.org/


--- End Message ---
--- Begin Message ---
On Fri, 31 Dec 2004 03:09:13 +0100 Jure =?ISO-8859-2?Q?Pe=5Far?= 
<[email protected]> wrote:

Package: postfix-mysql
Version: 2.1.4-5

After installing postfix, postfix-mysql and configuring it with these
relevant values:

local_recipient_maps = hash:/etc/postfix/localusers,
                       proxy:mysql:/etc/postfix/sql_recipientmap,
                       proxy:mysql:/etc/postfix/sql_recipientmap2
mailbox_transport = mysql:/etc/postfix/sql_transportmap'

You're configuring postfix to use "mysql" *transport*.  As any other
transport, it is expected to be defined in master.cf, with "mysql ..."
line.  mailbox_transport parameter is not a map, it is a transport
name, exactly as documented.  This is a clear operator error.

Closing this bug finally.

Thanks,

/mjt

--- End Message ---

Reply via email to