docker-compose-mailbox icon indicating copy to clipboard operation
docker-compose-mailbox copied to clipboard

Separate container services

Open fabiorauber opened this issue 8 years ago • 1 comments

Some containers contain more than one service running, such as the mail (running dovecot and postfix) and the webserver (hosting vimbadmin and roundcube, in addition to nginx). For the sake of reusability, it would be best if they were in separate containers, linked through compose.

fabiorauber avatar Apr 07 '16 15:04 fabiorauber

Hi. It looks like I have very peculiar case.

Postfix does not see virtual mailboxes, while dovecot does. Any incoming email for a valid user gets rejected with the following message: Jan 2 19:25:54 b521e850a7fd postfix/smtpd[255]: connect from unknown[54.186.27.61] Jan 2 19:25:55 b521e850a7fd postfix/smtpd[255]: 06A8CAEC: client=unknown[54.186.27.61] Jan 2 19:25:55 b521e850a7fd postfix/cleanup[260]: 06A8CAEC: message-id=<[email protected]> Jan 2 19:25:55 b521e850a7fd postfix/qmgr[115]: 06A8CAEC: from=<[email protected]>, size=1794, nrcpt=1 (queue active) Jan 2 19:25:55 b521e850a7fd postfix/local[267]: 06A8CAEC: to=<[email protected]>, relay=local, delay=0.66, delays=0.64/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user: "user") Jan 2 19:25:55 b521e850a7fd postfix/cleanup[260]: 6B8F4AF0: message-id=<[email protected]> Jan 2 19:25:55 b521e850a7fd postfix/qmgr[115]: 6B8F4AF0: from=<>, size=3558, nrcpt=1 (queue active) Jan 2 19:25:55 b521e850a7fd postfix/bounce[268]: 06A8CAEC: sender non-delivery notification: 6B8F4AF0 Jan 2 19:25:55 b521e850a7fd postfix/qmgr[115]: 06A8CAEC: removed Jan 2 19:25:55 b521e850a7fd postfix/smtpd[255]: disconnect from unknown[54.186.27.61] All mysql tables and records seem to be in place. Information about the user is in place. I have no problems accessing the mailbox through the web (roundcube and vimbadmin) and imap client. The mailbox is enabled (active=1). However, Postfix somehow fails to see that virtual user. How come?

vrogojin avatar Jan 02 '17 19:01 vrogojin