- Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), dawnshade, 09:59 , 13-Авг-03 (1)
- Почтовый сервер на базе Postfix с аккаунтами пользователей в..., vvvua, 14:39 , 28-Окт-05 (13)
Пробовал на Debian linux. Стоит postgresql 8.0.4. Нужно править конфиг (возможно, и для 7-й версии). в authpgsqlrc нет отношения c - добавить 'disableimap' as options \ from mailusers c \ where login = '$(local_part)'||'@'||'$(domain)'; В /etc/postfix/mailbox.pgsql Поправить отношение c. Т.е. должно быть: query = SELECT substring(c.login from 1 for 1)||'/'||c.login||'/Maildir/' from mailusers c where login = '%u'||'@'||'%d';
postfix=> SELECT login as username,'' as cryptpw,pass as clearpw,506 as uid,506 as gid,'/mailboxes/'||substring(c.login from 1 for 1)||'/'||c.login as home,'' as maildir,30 as quota,fullname,'disableimap' as options from mailusers c where login = 'vvvua'||'@'||'mydomain.ltd'; username | cryptpw | clearpw | uid | gid | home | maildir | quota | fullname | options ------------------------+---------+-----------+-----+-----+-------------------------------------+---------+-------+----------+------------- vvvua@mydomain.ltd | | testpass | 506 | 506 | /mailboxes/v/vvvua@mydomain.ltd | | 30 | VS | disableimap (1 запись)
postfix=>
- Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), Alexey, 16:26 , 13-Янв-04 (2)
- Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), Alexey, 17:09 , 21-Янв-04 (3)
- Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), proforg, 20:38 , 13-Апр-04 (4)
- Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), Maklaut, 20:49 , 23-Апр-04 (5)
- Тематический каталог: Почтовый сервер на базе Postfix с акка..., duglov, 11:48 , 09-Июн-04 (6)
- Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), Салягин, 11:16 , 28-Июн-04 (7)
- Почтовый сервер на базе Postfix с аккаунтами пользователей в..., yerden, 08:36 , 03-Фев-05 (9)
- Почтовый сервер на базе Postfix с аккаунтами пользователей в..., vvvua, 14:36 , 28-Окт-05 (12)
Пробовал на Debian linux. Стоит postgresql 8.0.4. Нужно править конфиг (возможно, и для 7-й версии). в authpgsqlrc нет отношения c - добавить 'disableimap' as options \ from mailusers c \ where login = '$(local_part)'||'@'||'$(domain)'; В /etc/postfix/mailbox.pgsql Поправить отношение c. Т.е. должно быть: query = SELECT substring(c.login from 1 for 1)||'/'||c.login||'/Maildir/' from mailusers c where login = '%u'||'@'||'%d';
postfix=> SELECT login as username,'' as cryptpw,pass as clearpw,506 as uid,506 as gid,'/mailboxes/'||substring(c.login from 1 for 1)||'/'||c.login as home,'' as maildir,30 as quota,fullname,'disableimap' as options from mailusers c where login = 'vvvua'||'@'||'mydomain.ltd'; username | cryptpw | clearpw | uid | gid | home | maildir | quota | fullname | options ------------------------+---------+-----------+-----+-----+-------------------------------------+---------+-------+----------+------------- vvvua@mydomain.ltd | | testpass | 506 | 506 | /mailboxes/v/vvvua@mydomain.ltd | | 30 | VS | disableimap (1 запись) postfix=>
- Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), vvvua, 14:42 , 28-Окт-05 (14)
Кстати, если неправильные sql запросы, то можно отловить по дебагу courier 'a и postfix'a - Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), noob, 13:51 , 01-Мрт-06 (15)
- Почтовый сервер на базе Postfix с аккаунтами пользователей в PostgreSQL. (mail postfix postgresql imap virus), nina, 15:10 , 04-Апр-12 (16)
|