Chcę sobie postawić własną pocztę na VPS-ie używając Postfixa, Dovecota, protokołu LMTP i bazy danych PostgreSQL. Nie działa mi wysyłanie wiadomości z VPS-a za pomocą komendy mail tzn. w ogóle nie otrzymuję tych maili na swoim zastępczym koncie a wysyłanie maili z konta zastępczego kończy się błędem:
[code]Undelivered Mail Returned to Sender

This is the mail system at host mail.hubot.pl.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

[email protected] (expanded from [email protected]): host
mail.hubot.pl[private/dovecot-lmtp] said: 550 5.1.1 [email protected] User
doesn't exist: [email protected] (in reply to RCPT TO command)[/code]
Próbowałem już edytować pliki konfiguracyjne dovecota i postgresql pg_hba.conf oraz pg_ident.conf na różne sposoby a także kombinować z DNS-ami bez skutku.

Oto mój rekord MX domeny hubot.pl: http://paste.asie.pl/GlEI
Plik /etc/dovecot/dovecot.conf: http://paste.asie.pl/AYzK
Plik /etc/dovecot/dovecot-sql.conf: http://paste.asie.pl/15lm
Plik /etc/postfix/main.cf: http://paste.asie.pl/IDRW

Plik /etc/postfix/pgsql-aliases.cf:
hubot@hubot-vps:$ sudo cat /etc/postfix/pgsql-aliases.cf
user=mailreader
dbname=mail
table=aliases
select_field=alias
where_field=email
hosts=unix:/var/run/postgresql

Plik /etc/postfix/pgsql-boxes.cf:
hubot@hubot-vps:</del>$ sudo cat /etc/postfix/pgsql-boxes.cf
user=mailreader
dbname=mail
table=users
select_field=email
where_field=email
hosts=unix:/var/run/postgresql/

Plik /etc/postgresql/9.4/main/pg_hba.conf: http://paste.asie.pl/JNxw
Plik /etc/postgresql/9.4/main/pg_ident.conf: http://paste.asie.pl/rhbB
Logi: http://paste.asie.pl/g2wW

Mam nadzieję, że pomoże mi ktoś rozwiązać ten problem.