Sentora Support Forums

Full Version: About Email setup and sending email
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Forgive me a new comer for Sentora/ZPanel. I am setting up the sentora and get some difficulties in sending email through Thunderbird:

1. I ran the install script to install sentora, didn't change anything, it works fine;
2. Use my DNS registrar to point my mail.domainxxx.com to the host ip, also associated A records are in place;
3. Target domain (domainxxx.com) is added in Sentora (but I think the mail server will be routed by my DNS registrar not from Sentora)
4. Run the build in Roundcube email client, can receive and send email without any problem
5. setup Thunderbird to use SMTP to send out and using the full email address as username in authentication without TLS/SSL, no luck can't not send out. Same thing when I tried through my iphone.

How could I fix this? Thanks!
can't access the "official docs at http://docs.sentora.io". enclosed the master.cf:


#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ***** Unused items removed *****
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd
# -o content_filter=smtp-amavis:127.0.0.1:10024
# -o receive_override_options=no_address_mappings
pickup fifo n - n 60 1 pickup
-o content_filter=
-o receive_override_options=no_header_body_checks
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
#
# ====================================================================
mail.err:
=====================================================
...........
Oct 8 11:13:22 usov dovecot: auth-worker: Error: mysql(localhost): Connect failed to database (zpanel_postfix): Access denied for user 'postfix'@'localhost' (using password: YES) - waiting for 125 seconds before retry
=====================================================

mail.log
=====================================================
Oct 9 23:24:25 usov postfix/smtp[2242]: 43021444BC: to=<a13519@icloud.com>, relay=mx1.mail.icloud.com[17.172.34.9]:25, delay=3.2, delays=0.05/0.02/1.5/1.7, dsn=2.5.0, status=sent (250 2.5.0 Ok, envelope id 0ND6003IKO4N4F60@st11p00mm-smtpin003.mac.com)
Oct 9 23:24:25 usov postfix/qmgr[1039]: 43021444BC: removed
Oct 9 23:24:33 usov postfix/smtpd[2236]: connect from unknown[125.37.155.168]
Oct 9 23:24:33 usov postfix/smtpd[2236]: NOQUEUE: reject: RCPT from unknown[125.37.155.168]: 454 4.7.1 <a13519@icloud.com>: Relay access denied; from=<a13519@3maohost.com> to=<a13519@icloud.com> proto=ESMTP helo=<[10.10.50.103]>
Oct 9 23:24:33 usov postfix/smtpd[2236]: disconnect from unknown[125.37.155.168]
Oct 9 23:27:53 usov postfix/anvil[2238]: statistics: max connection rate 1/60s for (smtp:127.0.0.1) at Oct 9 23:24:22
Oct 9 23:27:53 usov postfix/anvil[2238]: statistics: max connection count 1 for (smtp:127.0.0.1) at Oct 9 23:24:22
Oct 9 23:27:53 usov postfix/anvil[2238]: statistics: max cache size 2 at Oct 9 23:24:33
Oct 9 23:32:15 usov postfix/qmgr[1039]: 6048644467: from=<root@usov.3maohost.com>, size=703, nrcpt=1 (queue active)
Oct 9 23:32:51 usov postfix/smtp[2327]: 6048644467: to=<root@usov.3maohost.com>, orig_to=<root>, relay=none, delay=60577, delays=60540/0.03/37/0, dsn=4.4.6, status=SOFTBOUNCE (mail for usov.3maohost.com loops back to myself)
=====================================================
http://docs.sentora.org/

Sentora installer is still in beta so there would be some bugs.
You might try add
Code:
submission inet n - n - -  smtpd
to your postfix/master.cf file and of course open port 587 (if needed). After that restart postfix service
In main.cf set mynetworks and mydestination to (it's mainly mydestination error):
Code:
mynetworks = 127.0.0.0/8 mydestination = localhost.$mydomain, localhost
or
Code:
mynetworks = 127.0.0.0/8 mydestination = localhost.$mydomain, localhost, mail.yourdomain.com

and restart postfix, it's work for me.