Я использую postfix, dovecot и roundcube на моем Ubuntu 16.04.
При создании нового пользователя (unix) войдите в roundcube, когда я отправляю электронные письма, получатель будет получать почту от пользователя @ localhost вместоuser@mysomain.com
Если я использую sendmail -t из командной строки, электронные письма доставляются с правильным
user@mydomain.comесть публичный и частный каталог H5AI. Это 0.29.0 H5AI.
Вот мой файл nginx .conf для H5AI:
server {
listen 80;
server_name share.chaton-poulpe-pieuvre.tk;
return 301 https://share.chaton-poulpe-pieuvre.tk$request_uri;
}
server {
server_name share.chaton-poulpe-pieuvre.tk;
listen 443 ssl http2;
root /usr/share/nginx/share;
index index.html index.php /public/index.php;
ssl_certificate /etc/letsencrypt/live/chaton-poulpe-pieuvre.tk/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/chaton-poulpe-pieuvre.tk/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/chaton-poulpe-pieuvre.tk/chain.pem;
ssl_protocols TLSv1.2;
ssl_ecdh_curve secp384r1;
ssl_ciphers EECDH+AESGCM:EECDH+AES;
ssl_prefer_server_ciphers on;
ssl_stapling on;
ssl_stapling_verify on;
resolver 80.67.169.12 80.67.169.40 valid=300s;
resolver_timeout 5s;
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_intercept_errors on;
fastcgi_ignore_client_abort off;
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffers 4 256k;
fastcgi_buffer_size 128k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
}
autoindex on;
}
Спасибо за любую помощь, ребята ..