moataz
April 22, 2018, 4:01pm
41
yes , its all set for email,
but i think its something related to mydestination settings in postfix main.cf
thats my configs:
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_sender_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_client_restrictions
postconf: warning: /etc/postfix/master.cf: undefined parameter: mua_helo_restrictions
postconf: warning: /etc/postfix/main.cf: undefined parameter: virtual_mailbox_limit_maps
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
dovecot_destination_recipient_limit = 1
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
message_size_limit = 30720000
milter_default_action = accept
mydestination = localhost, localhost.localdomain
myhostname = control.freeappbuilder.info
mynetworks = 127.0.0.0/8
newaliases_path = /usr/bin/newaliases.postfix
non_smtpd_milters = $smtpd_milters
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
sample_directory = /usr/share/doc/postfix-2.10.1/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_tls_security_level = may
smtpd_milters = inet:127.0.0.1:8891
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = /var/spool/postfix/private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/pki/dovecot/certs/dovecot.pem
smtpd_tls_key_file = /etc/pki/dovecot/private/dovecot.pem
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000
postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_create_maildirsize=yes
postconf: warning: /etc/postfix/main.cf: unused parameter: virtual_maildir_extended=yes
i tried adding $domain to mydestination but that affected hostname email that was working
and received postmaster saying : User unknown in virtual alias table
moataz
April 22, 2018, 5:19pm
42
@qtwrk said:
oh yes , you will need something like this “rewriteFile /path/to/.htaccess” in conf to tell OLS to read that .htaccess
u mean this one in OLS to be mentioned ?
qtwrk
April 22, 2018, 7:14pm
43
hmmmm , I am not exactly a email guy , but based on my experience, the default postfix configuration should be able to handle all the mail on different domains.
so default didn’t work out ?
what’s output log in /var/log/maillog?
i cant working with domains on my wordpress network.
i have a wordpress multisite. i can add with subdomain sites. but i cant add with domain.
how i can
qtwrk
June 20, 2018, 2:23am
45
i cant working with domains on my wordpress network.
i have a wordpress multisite. i can add with subdomain sites. but i cant add with domain.
how i can
well , according wordpress’ wiki, it ONLY work for sub-domain and sub-folder
https://codex.wordpress.org/Create_A_Network
well , according wordpress’ wiki, it ONLY work for sub-domain and sub-folder
Create A Network « WordPress Codex
wordpress is supported domain and
In WordPress 4.5+, domain mapping is a native feature.
WordPress multisite subsites may be mapped to a non-network top-level domain. This means a site created as subsite1.networkdomain.com, can be mapped to show as domain.com. This also works for subdirectory sites, so networkdomain.com/subsite1 can also...
qtwrk
June 20, 2018, 2:55pm
47
@sertsidk said:
well , according wordpress’ wiki, it ONLY work for sub-domain and sub-folder
Create A Network « WordPress Codex
wordpress is supported domain and
In WordPress 4.5+, domain mapping is a native feature.
WordPress Multisite Domain Mapping – Documentation
I think it’s same, just need to add domain into listener
I think it's same, just need to add domain into listener
how i can add my domains into listener?
qtwrk
June 20, 2018, 8:04pm
49
I think it's same, just need to add domain into listener
how i can add my domains into listener?
same as i expained in first post , just change *.domain.com to your domain
same as i expained in first post , just change *.domain.com to your domain
i created a sub.home-domain.com site and edit my site
so second-domain.com .
but not working.
second-domain.com dns is; ns1.home-domain.com and ns2.home-domain.com .
And ns1.home-domain.com and ns2.home-domain.com is recorted on cyberpanel
qtwrk
June 20, 2018, 11:03pm
51
same as i expained in first post , just change *.domain.com to your domain
i created a sub.home-domain.com site and edit my site
so second-domain.com .
but not working.
second-domain.com dns is; ns1.home-domain.com and ns2.home-domain.com .
And ns1.home-domain.com and ns2.home-domain.com is recorted on cyberpanel
No, I meant the listener in OLS webadmin console ,you can find the guide of how to access webadmin console in tutorial section.
i added home-domain.com and *,home-domain.com on OLS Webadmin
and workimh my sites as sub.homa-domain.com
should i do something for the second-domain.com ?
i added my second domain into main domain.
but cant see secont domain on dashboard
And
wordpress codexs say:
“The additional domains should be parked upon the master domain.”
how i do it?
qtwrk
June 22, 2018, 12:15am
54
![](upload://sdT8m2ReuQEi6fxffqDZDEB6GpK.jpeg)
![](upload://rAKtfjMnR5FSMLaK5oygsRx3opM.jpeg)
i added my second domain into main domain.
but cant see secont domain on dashboard
And
wordpress codexs say:
“The additional domains should be parked upon the master domain.”
how i do it?
hmmmmmmmm , I am not exactly sure , try add alias here?
qtwrk
June 22, 2018, 1:26am
55
just made a quick test , try use domain aliases in panel
Not have domain aliases on my panel
Hi
I tried but subdomain not work.
I use cloudflare
Records:
A: mydomain.com | xxx.xxx.xxx.xxx
A: * | xxx.xxx.xxx.xxx
CNAME: www | mydomain.com
Virtual Host Mappings:
mydomain.com | mydomain.com , *.mydomain.com
Please help
Directory of my Multisite network openlscheck.cf - /home/openlscheck.cf/public_html
vHost Conf openlscheck.cf shows -
docRoot $VH_ROOT/public_html
The first network site - site1.openlscheck.cf was created and mapped to openlscheck.ml and its works with domain alias.
Networksite was created on "domain1.openlschek.cf and was mapped to openlscheck.tk but gives SSL conflict, to resolve the same I have added the domain as a child domain instead of domain alias
openlscheck.tk has default path /home/openlscheck.cf/public_html/openlscheck.tk
vHost Conf (default) openlscheck.tk -
docRoot /home/openlscheck.cf/public_html/openlscheck.tk
when I changed vHost Conf to -
docRoot /home/openlscheck.cf/public_html
so that it will direct it to Multisite Network directory
Still in the list in Domains>List Domains the default path still shows
/home/openlscheck.cf/public_html/openlscheck.tk
and not the /home/openlscheck.cf/public_html
Also openlscheck.tk is giving 404 error. Kindly guide me what exactly i should do to resolve this.
@qtwrk your help will be apriciated
fajr
February 27, 2020, 4:33am
59
work with domain mapping?
& can I add wildcard?
@fajr - domain mapping does not need any extra plugin now it’s a feature of WP now. just change the name of the site to the new name of domain you want and point your A record to the server ip it works well.
My issue is with the ssl issue. the ssl issued in the cyber panel has some conflict