This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

About Email setup and sending email
#1
About Email setup and sending email
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!
Reply
Thanks given by:
#2
RE: About Email setup and sending email
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
#
# ====================================================================
Reply
Thanks given by:
#3
RE: About Email setup and sending email
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)
=====================================================
Reply
Thanks given by:
#4
RE: About Email setup and sending email
http://docs.sentora.org/

Sentora installer is still in beta so there would be some bugs.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#5
RE: About Email setup and sending email
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
Reply
Thanks given by:
#6
RE: About Email setup and sending email
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.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Email has suddenly stopped coming through rsthomas 4 4 ,768 10-12-2022, 09:29 PM
Last Post: rsthomas
can not send email - SMTP error on roundcube wolvepy 9 29 ,169 01-03-2020, 08:37 AM
Last Post: Telepuzik
Cannot reuse previously deleted email address rsthomas 16 37 ,513 09-04-2019, 07:58 PM
Last Post: prasanna8519

Forum Jump:


Users browsing this thread: 1 Guest(s)