<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Problema invio posta tramite server postfix + dovecot su host ovh VPS]]></title><description><![CDATA[<p dir="auto">Buona sera a tutti amici del forum.</p>
<p dir="auto">Ho preso una vps cloud su ovh.</p>
<p dir="auto">Tramite loro ho preso anche un dominio (<a href="http://jcservice.it" rel="nofollow ugc">jcservice.it</a> ) ma non ho attivato servizi mail o hosting.</p>
<p dir="auto">Dalla gestione dns ho impostato il dominio che punta sulla mia vps e i record MX sempre sulla mia vps.</p>
<p dir="auto">La parte web con apache 2 + php + mysql funziona perfettamente tranne l'invio delle mail (in ricezione ok)</p>
<p dir="auto">Ho configurato postfix e dovecot ma nonostante tutto non riesco a mandare email.</p>
<p dir="auto">Ho preso i certificati tramite let's encrypt per autenticarmi tramite tls.</p>
<p dir="auto">Dai log ottengo questi errori durante l'invio:</p>
<p dir="auto">vps612313  postfix/smtpd[9918]: connect from  <a href="http://net-2-32-61-234.cust.vodafonedsl.it" rel="nofollow ugc">net-2-32-61-234.cust.vodafonedsl.it</a>[2.32.61.234                                                                      ]<br />
Nov 26 23:24:53 vps612313 postfix/trivial-rewrite[9919]: warning:  do not list domain <a href="http://jcservice.it" rel="nofollow ugc">jcservice.it</a> in BOTH  m                                                                      ydestination and virtual_alias_domains<br />
Nov 26 23:24:53 vps612313  postfix/smtpd[9918]: NOQUEUE: reject: RCPT from  net-2-32-61-234.cust.vodafonedsl.                                                                      it[2.32.61.234]: 454 4.7.1 &lt;xxxxxxx&gt;: Relay  access denied; from=&lt;xxxx&gt;  to=&lt; xxxxxxx&gt; proto=ESMTP helo=&lt;[192.168.1.10]&gt;<br />
Nov  26 23:24:55 vps612313 postfix/smtpd[9918]: disconnect from  <a href="http://net-2-32-61-234.cust.vodafonedsl.it" rel="nofollow ugc">net-2-32-61-234.cust.vodafonedsl.it</a>[2.32.61.                                                                      234] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6</p>
<p dir="auto">Questa è la mia configurazione del <a href="http://main.cf" rel="nofollow ugc">main.cf</a> :</p>
<h1>Debian specific:  Specifying a file name will cause the first</h1>
<h1>line of that file to be used as the name.  The Debian default</h1>
<h1>is /etc/mailname.</h1>
<p dir="auto"><a href="/hashtags/myorigin">#myorigin</a> = /etc/mailname</p>
<p dir="auto">smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)<br />
biff = no</p>
<h1>appending .domain is the MUA's job.</h1>
<p dir="auto">append_dot_mydomain = no</p>
<h1>Uncomment the next line to generate "delayed mail" warnings</h1>
<p dir="auto"><a href="/hashtags/delaywarningtime">#delay_warning_time</a> = 4h</p>
<p dir="auto">readme_directory = no</p>
<p dir="auto">compatibility_level = 2</p>
<h1>TLS parameters</h1>
<p dir="auto">smtpd_tls_cert_file=/etc/letsencrypt/live/mail.jcservice.it/cert.pem<br />
smtpd_tls_key_file=/etc/letsencrypt/live/mail.jcservice.it/privkey.pem<br />
smtpd_tls_CAfile = /etc/letsencrypt/live/mail.jcservice.it/chain.pem<br />
smtpd_use_tls=yes<br />
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache<br />
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache</p>
<h1>See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for</h1>
<h1>information on enabling SSL in the smtp client.</h1>
<p dir="auto">smtpd_client_restrictions = permit_mynetworks, reject_unknown_client_hostname<br />
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination,check_relay_domains<br />
myhostname = <a href="http://mail.jcservice.it" rel="nofollow ugc">mail.jcservice.it</a><br />
mydomain = <a href="http://jcservice.it" rel="nofollow ugc">jcservice.it</a><br />
alias_maps = hash:/etc/aliases<br />
alias_database = hash:/etc/aliases<br />
myorigin = /etc/mailname<br />
mydestination = $myhostname, localhost.$mydomain, localhost,$mydomain, vps612313, <a href="http://jcservice.it" rel="nofollow ugc">jcservice.it</a>, 51.75.248.120<br />
relayhost = [<a href="http://mail.jcservice.it" rel="nofollow ugc">mail.jcservice.it</a>]:587<br />
relay_domains = $mydestination<br />
mynetworks = 127.0.0.0/8 51.0.0.0/8 192.168.0.0/24 192.168.1.0/24 10.10.0.0/24<br />
mailbox_command =<br />
mailbox_size_limit = 0<br />
recipient_delimiter = +<br />
inet_interfaces = all<br />
inet_protocols = all<br />
virtual_alias_maps = hash:/etc/postfix/virtual<br />
home_mailbox = Maildir/<br />
smtp_sasl_auth_enable = yes<br />
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd<br />
smtp_sasl_security_options =<br />
virtual_alias_domains = <a href="http://jcservice.it" rel="nofollow ugc">jcservice.it</a><br />
smtpd_sender_restrictions = permit_mynetworks</p>
<p dir="auto">Questa è la configurazione del <a href="http://master.cf" rel="nofollow ugc">master.cf</a>:</p>
<h1></h1>
<h1>Postfix master process configuration file.  For details on the format</h1>
<h1>of the file, see the master(5) manual page (command: "man 5 master" or</h1>
<h1></h1>
<h1>Do not forget to execute "postfix reload" after editing this file.</h1>
<h1></h1>
<h1>==========================================================================</h1>
<h1>service type  private unpriv  chroot  wakeup  maxproc command + args</h1>
<h1>(yes)   (yes)   (no)    (never) (100)</h1>
<h1>==========================================================================</h1>
<p dir="auto">smtp      inet  n       -       y       -       -       smtpd<br />
<a href="/hashtags/smtp">#smtp</a>      inet  n       -       y       -       1       postscreen<br />
<a href="/hashtags/smtpd">#smtpd</a>     pass  -       -       y       -       -       smtpd<br />
<a href="/hashtags/dnsblog">#dnsblog</a>   unix  -       -       y       -       0       dnsblog<br />
<a href="/hashtags/tlsproxy">#tlsproxy</a>  unix  -       -       y       -       0       tlsproxy<br />
submission inet n       -       y       -       -       smtpd</p>
<h1>-o syslog_name=postfix/submission</h1>
<h1>-o smtpd_tls_security_level=encrypt</h1>
<p dir="auto">#-o smtpd_sasl_auth_enable=yes</p>
<h1>-o smtpd_reject_unlisted_recipient=no</h1>
<h1>-o smtpd_client_restrictions=$mua_client_restrictions</h1>
<h1>-o smtpd_helo_restrictions=$mua_helo_restrictions</h1>
<h1>-o smtpd_sender_restrictions=$mua_sender_restrictions</h1>
<h1>-o smtpd_recipient_restrictions=</h1>
<h1>-o smtpd_relay_restrictions=permit_sasl_authenticated,reject</h1>
<h1>-o milter_macro_daemon_name=ORIGINATING</h1>
<p dir="auto"><a href="/hashtags/smtps">#smtps</a>     inet  n       -       y       -       -       smtpd</p>
<h1>-o syslog_name=postfix/smtps</h1>
<h1>-o smtpd_tls_wrappermode=yes</h1>
<p dir="auto">#-o smtpd_sasl_auth_enable=yes</p>
<h1>-o smtpd_reject_unlisted_recipient=no</h1>
<h1>-o smtpd_client_restrictions=$mua_client_restrictions</h1>
<h1>-o smtpd_helo_restrictions=$mua_helo_restrictions</h1>
<h1>-o smtpd_sender_restrictions=$mua_sender_restrictions</h1>
<h1>-o smtpd_recipient_restrictions=</h1>
<h1>-o smtpd_relay_restrictions=permit_sasl_authenticated,reject</h1>
<h1>-o milter_macro_daemon_name=ORIGINATING</h1>
<p dir="auto">#628       inet  n       -       y       -       -       qmqpd<br />
pickup    unix  n       -       y       60      1       pickup<br />
cleanup   unix  n       -       y       -       0       cleanup<br />
qmgr      unix  n       -       n       300     1       qmgr<br />
<a href="/hashtags/qmgr">#qmgr</a>     unix  n       -       n       300     1       oqmgr<br />
tlsmgr    unix  -       -       y       1000?   1       tlsmgr<br />
rewrite   unix  -       -       y       -       -       trivial-rewrite<br />
bounce    unix  -       -       y       -       0       bounce<br />
defer     unix  -       -       y       -       0       bounce<br />
trace     unix  -       -       y       -       0       bounce<br />
verify    unix  -       -       y       -       1       verify<br />
flush     unix  n       -       y       1000?   0       flush<br />
proxymap  unix  -       -       n       -       -       proxymap<br />
proxywrite unix -       -       n       -       1       proxymap<br />
smtp      unix  -       -       y       -       -       smtp<br />
relay     unix  -       -       y       -       -       smtp</p>
<h1>-o smtp_helo_timeout=5 -o smtp_connect_timeout=5</h1>
<p dir="auto">showq     unix  n       -       y       -       -       showq<br />
error     unix  -       -       y       -       -       error<br />
retry     unix  -       -       y       -       -       error<br />
discard   unix  -       -       y       -       -       discard<br />
local     unix  -       n       n       -       -       local<br />
virtual   unix  -       n       n       -       -       virtual<br />
lmtp      unix  -       -       y       -       -       lmtp<br />
anvil     unix  -       -       y       -       1       anvil<br />
scache    unix  -       -       y       -       1       scache</p>
<h1></h1>
<h1>====================================================================</h1>
<h1>Interfaces to non-Postfix software. Be sure to examine the manual</h1>
<h1>pages of the non-Postfix software to find out what options it wants.</h1>
<h1></h1>
<h1>Many of the following services use the Postfix pipe(8) delivery</h1>
<h1>agent.  See the pipe(8) man page for information about ${recipient}</h1>
<h1>and other message envelope options.</h1>
<h1>====================================================================</h1>
<h1></h1>
<h1>maildrop. See the Postfix MAILDROP_README file for details.</h1>
<h1>Also specify in <a href="http://main.cf" rel="nofollow ugc">main.cf</a>: maildrop_destination_recipient_limit=1</h1>
<h1></h1>
<p dir="auto">maildrop  unix  -       n       n       -       -       pipe<br />
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}</p>
<h1></h1>
<h1>====================================================================</h1>
<h1></h1>
<h1>Recent Cyrus versions can use the existing "lmtp" <a href="http://master.cf" rel="nofollow ugc">master.cf</a> entry.</h1>
<h1></h1>
<h1>Specify in cyrus.conf:</h1>
<h1>lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4</h1>
<h1></h1>
<h1>Specify in <a href="http://main.cf" rel="nofollow ugc">main.cf</a> one or more of the following:</h1>
<h1>mailbox_transport = lmtp:inet:localhost</h1>
<h1>virtual_transport = lmtp:inet:localhost</h1>
<h1></h1>
<h1>====================================================================</h1>
<h1></h1>
<h1>Cyrus 2.1.5 (Amos Gouaux)</h1>
<h1>Also specify in <a href="http://main.cf" rel="nofollow ugc">main.cf</a>: cyrus_destination_recipient_limit=1</h1>
<h1></h1>
<p dir="auto"><a href="/hashtags/cyrus">#cyrus</a>     unix  -       n       n       -       -       pipe</p>
<h1>user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}</h1>
<h1></h1>
<h1>====================================================================</h1>
<h1>Old example of delivery via Cyrus.</h1>
<h1></h1>
<p dir="auto"><a href="/hashtags/old-cyrus">#old-cyrus</a> unix  -       n       n       -       -       pipe</p>
<h1>flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}</h1>
<h1></h1>
<h1>====================================================================</h1>
<h1></h1>
<h1>See the Postfix UUCP_README file for configuration details.</h1>
<h1></h1>
<p dir="auto">uucp      unix  -       n       n       -       -       pipe<br />
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)</p>
<h1></h1>
<h1>Other external delivery methods.</h1>
<h1></h1>
<p dir="auto">ifmail    unix  -       n       n       -       -       pipe<br />
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)<br />
bsmtp     unix  -       n       n       -       -       pipe<br />
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient<br />
scalemail-backend unix  -       n       n       -       2       pipe<br />
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}<br />
mailman   unix  -       n       n       -       -       pipe<br />
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py<br />
${nexthop} ${user}</p>
]]></description><link>https://dev.connect.gt/topic/236523/problema-invio-posta-tramite-server-postfix-dovecot-su-host-ovh-vps</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 02:47:47 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/236523.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 26 Nov 2018 22:41:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problema invio posta tramite server postfix + dovecot su host ovh VPS on Fri, 28 Dec 2018 09:20:07 GMT]]></title><description><![CDATA[<p dir="auto">Normalmente la configurazione di Postfix non è una cosa banale, nel senso che richiede accortezza e file di configurazione precisi. Credo che faresti meglio o seguire qualche tutorial su howtoforge o simili o eventualmente chiedere consulenza professionale sistemistica.</p>
]]></description><link>https://dev.connect.gt/post/1253699</link><guid isPermaLink="true">https://dev.connect.gt/post/1253699</guid><dc:creator><![CDATA[managedserver.it]]></dc:creator><pubDate>Fri, 28 Dec 2018 09:20:07 GMT</pubDate></item></channel></rss>