Posts: 81
Threads: 25
Joined: Oct 2014
Reputation:
1
Thanks: 13
Given 10 thank(s) in 8 post(s)
Sentora don´t works with Google Apps or G Suite
09-18-2017, 11:12 AM
I have old server with zpanel and google apps and works very fine, but in 4 VPS servers with Sentora finally don´t works Google Apps
The problem it´s PostFix ignore DNS changes in DNS control panel, and always send emails as local and don´t respect DNS changes in MX Records, i test this problem and change configurations a lot and finally always happend the same
For example if i have this domain called test.com, and create alias for example info@text.com , in the mail logs you can see the system send email as local but if you want also send other email for example to gmail, send perfectly, the problem it´s when domain it´s local with postfix
If for example i put as i tell until, MX Records for Google Apps and delete email alias, in the logs when try send as local put user unknow, in all cases never respect MX records and always try send as local
For me this it´s a bug in sentora, because always in Zpanel works and in this sentora never can get works finally
I try during many days all kind of configurations, change in postfix configuration all , my destination, etc, all kind of changes, i see many boards , but finally i think this it´s problem with sentora, because the problem it´s you change MX Records and never respect these changes
If it´s possible i need some help in this because i don´t know if problem it´s with sentora´s core or what
Thank´s , Regards
Posts: 3 ,662
Threads: 241
Joined: May 2014
Reputation:
85
Sex: Male
Thanks: 408
Given 599 thank(s) in 464 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-19-2017, 03:16 AM
Hi franmm! Good to hear form you. That is strange since the core is the same as ZPanel except we have just updated some bug fixes. Maybe there was a change in the installer/configuration. Me.B may know better.
-TGates - Project Council
SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE
Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Posts: 4 ,002
Threads: 193
Joined: Jul 2014
Reputation:
83
Sex: Undisclosed
Thanks: 72
Given 435 thank(s) in 395 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-19-2017, 05:12 PM
Did you create any emails for those domains?
Just remove them...
Are you using sentora for DNS or external DNS?
I need more infos.
Posts: 81
Threads: 25
Joined: Oct 2014
Reputation:
1
Thanks: 13
Given 10 thank(s) in 8 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-20-2017, 05:15 AM
Hi, thank´s for the help
I test with email create inside cp and also without email, also i access as root and delete folder for email or email account, and test all many times, and receive same result
Yes i use DNS Sentora only , no more and always receive this message in logs, if delet email tell me user unknow if no delete send as localhost and no sense because i have DNS insert in MX records
All DNS it´s ok inside Sentora as i have in other VPS with Zpanel
aspmx.l.google.com
alt1.aspmx.l.google.com
alt2.aspmx.l.google.com
alt3.aspmx.l.google.com
alt4.aspmx.l.google.com
But nothing, don´t works also i change configuration post fix and always happend the same
My postfix configuraction :
Quote:# postfix config file
# uncomment for debugging if needed
soft_bounce=yes
# postfix main
mail_owner = postfix
setgid_group = postdrop
delay_warning_time = 4
# postfix paths
html_directory = no
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
queue_directory = /var/spool/postfix
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.2.2/samples
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
# network settings
inet_interfaces = all
inet_protocols = ipv4
### I TRY THIS WITH DOMAIN AND WIHTOUT DOMAIN AND GENERIC
mydomain = control.yourdomain.com
myhostname = control.yourdomain.com
### TRY WITH LOCAL NETWORKS ACTUALLY I PUT ALL AND NOTHING
= 127.0.0.1,31.14.138.205
mynetworks = all
### ALSO I TEST THIS AND NOTHING CHANGE
= localhost.$mydomain, localhost
mydestination = localhost
relay_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-relay_domains_maps.cf
# mail delivery
recipient_delimiter = +
# mappings
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
= hash:/etc/postfix/transport
=
# virtual setup
virtual_alias_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_alias_maps.cf,
regexp:/etc/sentora/configs/postfix/virtual_regexp
virtual_mailbox_base = /var/sentora/vmail
virtual_mailbox_domains = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/sentora/configs/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 498
virtual_uid_maps = static:498
virtual_gid_maps = static:12
virtual_transport = dovecot
= local
dovecot_destination_recipient_limit = 1
# debugging
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
xxgdb $daemon_directory/$process_name $process_id & sleep 5
# authentication
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $myhostname
broken_sasl_auth_clients = yes
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
# tls config
smtp_use_tls = no
smtpd_use_tls = no
= yes
= 1
= yes
= 3600s
= dev:/dev/urandom
= btree:$data_directory/smtp_tls_session_cache
# Change mail.example.com.* to your host name
= /etc/pki/tls/private/mail.example.com.key
= /etc/pki/tls/certs/mail.example.com.crt
# smtpd_tls_CAfile = /etc/pki/tls/root.crt
# rules restrictions
smtpd_client_restrictions =
smtpd_helo_restrictions =
smtpd_sender_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain
# uncomment for realtime black list checks. (Warn: will also reject false positive)
# ,reject_rbl_client zen.spamhaus.org
# ,reject_rbl_client bl.spamcop.net
# ,reject_rbl_client dnsbl.sorbs.net
smtpd_helo_required = yes
unknown_local_recipient_reject_code = 550
disable_vrfy_command = yes
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_banner = $myhostname ESMTP
message_size_limit = 20480000
Thank´s for the help, best regards
Posts: 4 ,002
Threads: 193
Joined: Jul 2014
Reputation:
83
Sex: Undisclosed
Thanks: 72
Given 435 thank(s) in 395 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-20-2017, 10:38 PM
Can you PM me the domain so I check the MX dns first.
M B
Posts: 81
Threads: 25
Joined: Oct 2014
Reputation:
1
Thanks: 13
Given 10 thank(s) in 8 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-20-2017, 11:02 PM
Yes i send now domain by PM, thank´s
Posts: 4 ,002
Threads: 193
Joined: Jul 2014
Reputation:
83
Sex: Undisclosed
Thanks: 72
Given 435 thank(s) in 395 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-20-2017, 11:31 PM
ok I see that DNS setup is ok.
likely domain exists in postfix DB, you may need to remove it manually.
can you check using php my admin table:
"domain" under DB sentora_postfix
and if you find you domain remove it from there.
M B
Posts: 81
Threads: 25
Joined: Oct 2014
Reputation:
1
Thanks: 13
Given 10 thank(s) in 8 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-21-2017, 01:04 AM
(This post was last modified: 09-21-2017, 01:17 AM by franmm25.)
Ok i go to try do this and tell you more about this, thank´s !!!
Thank´s Me.B !!!, the problem it´s fixed, you´re right the problem it´s with db , because don´t delete when delete emails and postfix send as local, if delete from database domain postfix, as you can tell me, send nice to google apps emaiil
It´s possible fix this inside Sentora or something ?, thank´s other time for your help
Regards !!!!
Posts: 4 ,002
Threads: 193
Joined: Jul 2014
Reputation:
83
Sex: Undisclosed
Thanks: 72
Given 435 thank(s) in 395 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-21-2017, 10:56 PM
We don't have a garbage collector when you remove all emails. But this entry is created only if you setup one email, then internal postfix will be set as the email manager. As long you don't do that this won't happen.
M B
Posts: 81
Threads: 25
Joined: Oct 2014
Reputation:
1
Thanks: 13
Given 10 thank(s) in 8 post(s)
RE: Sentora don´t works with Google Apps or G Suite
09-22-2017, 01:14 AM
(09-21-2017, 10:56 PM)Me.B Wrote: We don't have a garbage collector when you remove all emails. But this entry is created only if you setup one email, then internal postfix will be set as the email manager. As long you don't do that this won't happen.
M B
Ah yes i understand, i think in the next release howewer this can fix , thank´s for the help regards !!!
|