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.

Sentora don´t works with Google Apps or G Suite
#1
Sentora don´t works with Google Apps or G Suite
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
Reply
Thanks given by:
#2
RE: Sentora don´t works with Google Apps or G Suite
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
Reply
Thanks given by:
#3
RE: Sentora don´t works with Google Apps or G Suite
Did you create any emails for those domains?

Just remove them...

Are you using sentora for DNS or external DNS?

I need more infos.
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:
#4
RE: Sentora don´t works with Google Apps or G Suite
Hi, thank´s for the help Smile

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
#mynetworks
= 127.0.0.1,31.14.138.205

mynetworks = all



### ALSO I TEST THIS AND NOTHING CHANGE
#mydestination
= 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
#transport_maps
= hash:/etc/postfix/transport
#local_recipient_maps
=

# 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
#virtual_transport
= 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
#smtp_tls_note_starttls_offer
= yes
#smtpd_tls_loglevel
= 1
#smtpd_tls_received_header
= yes
#smtpd_tls_session_cache_timeout
= 3600s
#tls_random_source
= dev:/dev/urandom
#smtp_tls_session_cache_database
= btree:$data_directory/smtp_tls_session_cache
# Change mail.example.com.* to your host name
#smtpd_tls_key_file
= /etc/pki/tls/private/mail.example.com.key
#smtpd_tls_cert_file
= /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
Reply
Thanks given by:
#5
RE: Sentora don´t works with Google Apps or G Suite
Can you PM me the domain so I check the MX dns first.

M B
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: franmm25
#6
RE: Sentora don´t works with Google Apps or G Suite
Yes i send now domain by PM, thank´s
Reply
Thanks given by:
#7
RE: Sentora don´t works with Google Apps or G Suite
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
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: franmm25
#8
RE: Sentora don´t works with Google Apps or G Suite
Ok i go to try do this and tell you more about this, thank´s Smile !!!


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 !!!!
Reply
Thanks given by:
#9
RE: Sentora don´t works with Google Apps or G Suite
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
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: franmm25
#10
RE: Sentora don´t works with Google Apps or G Suite
(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 Smile regards !!!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,005 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,161 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,577 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)