Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - johnny09

Pages: 1 ... 12 13 [14] 15 16
196
E-Mail / Re: Mail in queue, cant send, 25 port blocked
« on: March 17, 2017, 01:11:37 PM »
They will not unblock 25port, I need to register as a company then the port is opened, so how to bypass that.... I am using smtp, but all my incoming mails cant be delivered to my hosted mails..... :(

What did you mean by external MTA??? Whats that???

197
E-Mail / Re: Mail in queue, cant send, 25 port blocked
« on: March 15, 2017, 01:24:15 PM »
Anyone?

198
E-Mail / Re: Mail in queue, cant send, 25 port blocked
« on: March 14, 2017, 01:53:41 PM »
I have heard that gmail could work as mail provider.

For an example, in cwp I create mails for my domains, my mail for an exapmle - mail@mydomain.lv
All mails are delivered to gmail, I only host the name of the email box but the workplace is gmail.

I dont know how to look for it, how to search, maybe someone knows?
That would be fantastic and it could work in my case maybe?

199
E-Mail / Re: Mail in queue, cant send, 25 port blocked
« on: March 14, 2017, 01:37:49 PM »
I can send out mails from cwp roundcube to gmail and local mail.
But I cant receive the answer from anyone. Incoming mails dont come in. Thats why my ISP is blocking incoming mail from port 25.

How to bypass that? Is there an option?

200
E-Mail / Mail in queue, cant send, 25 port blocked
« on: March 14, 2017, 07:18:18 AM »
Hello,

I am stuck, need help...
My mails are in queue, I guess my ISP is blocking 25 port, so how to bypass that?
Previously it worked with smtp when my mails were send trough gmail 587, but stopped working....

Been reading 3 days all sort of info, but no solution, so please someone help me out on this one!
For additional details please ask what do you need and were to look for it....

201
CentOS 6 Problems / Re: Centos server restarts, would like to know why?
« on: February 24, 2017, 10:01:31 AM »
Thats what I am trying to find out.
Reconfigured my router, added mod security, now it looks better....

But how to know if someone else restarted my server??? Were and what to look at???

202
CentOS 6 Problems / Centos server restarts, would like to know why?
« on: February 09, 2017, 07:03:19 AM »
Hello,

so to understand what cause the shutdown here are the logs:

Feb  5 05:11:39 host rsyslogd-2177: imuxsock begins to drop messages from pid 11580 due to rate-limiting
Feb  5 05:11:41 host rsyslogd-2177: imuxsock begins to drop messages from pid 11583 due to rate-limiting
Feb  5 05:11:42 host rsyslogd-2177: imuxsock begins to drop messages from pid 11587 due to rate-limiting
Feb  5 05:11:46 host rsyslogd-2177: imuxsock lost 40 messages from pid 11587 due to rate-limiting
Feb  5 05:12:39 host rsyslogd-2177: imuxsock begins to drop messages from pid 11590 due to rate-limiting
Feb  5 05:31:13 host kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:19:b9:fa:24:b8:d4:ca:6d:07:36:55:08:00 SRC=115.28.39.26 DST=192.168.11.250 LEN=48 TOS=0x00 PREC=0x20 TTL=106 ID=4508 DF PROTO=TCP SPT=2357 DPT=3389 WINDOW=65535 RES=0x00 SYN URGP=0
Feb  5 05:31:16 host kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:19:b9:fa:24:b8:d4:ca:6d:07:36:55:08:00 SRC=115.28.39.26 DST=192.168.11.250 LEN=48 TOS=0x00 PREC=0x20 TTL=106 ID=32012 DF PROTO=TCP SPT=2357 DPT=3389 WINDOW=65535 RES=0x00 SYN URGP=0
Feb  5 05:31:22 host kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:19:b9:fa:24:b8:d4:ca:6d:07:36:55:08:00 SRC=115.28.39.26 DST=192.168.11.250 LEN=48 TOS=0x00 PREC=0x20 TTL=106 ID=22392 DF PROTO=TCP SPT=2357 DPT=3389 WINDOW=65535 RES=0x00 SYN URGP=0
Feb  5 05:33:39 host rsyslogd-2177: imuxsock begins to drop messages from pid 13329 due to rate-limiting
Feb  5 05:34:38 host rsyslogd-2177: imuxsock lost 214 messages from pid 13329 due to rate-limiting
Feb  5 05:34:39 host rsyslogd-2177: imuxsock begins to drop messages from pid 13329 due to rate-limiting
Feb  5 05:36:39 host rsyslogd-2177: imuxsock begins to drop messages from pid 13576 due to rate-limiting
Feb  5 05:37:39 host rsyslogd-2177: imuxsock lost 215 messages from pid 13576 due to rate-limiting
Feb  5 05:37:39 host rsyslogd-2177: imuxsock begins to drop messages from pid 13576 due to rate-limiting
Feb  5 05:39:02 host named[1902]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:71::30#53
Feb  5 05:39:02 host named[1902]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:4f8:0:2::19#53
Feb  5 05:39:02 host named[1902]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:60::29#53
Feb  5 05:39:39 host rsyslogd-2177: imuxsock begins to drop messages from pid 13621 due to rate-limiting
Feb  5 05:40:38 host rsyslogd-2177: imuxsock lost 215 messages from pid 13621 due to rate-limiting
Feb  5 05:40:39 host rsyslogd-2177: imuxsock begins to drop messages from pid 13621 due to rate-limiting
Feb  5 10:32:46 host kernel: imklog 5.8.10, log source = /proc/kmsg started.
Feb  5 10:32:46 host rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1504" x-info="http://www.rsyslog.com"] start
Feb  5 10:32:46 host kernel: Initializing cgroup subsys cpuset
Feb  5 10:32:46 host kernel: Initializing cgroup subsys cpu

Feb  6 10:08:59 host kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:19:b9:fa:24:b8:d4:ca:6d:07:36:55:08:00 SRC=74.82.47.56 DST=192.168.11.250 LEN=40 TOS=0x00 PREC=0x20 TTL=247 ID=54321 PROTO=TCP SPT=39035 DPT=3389 WINDOW=65535 RES=0x00 SYN URGP=0
Feb  6 10:12:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 2594 due to rate-limiting
Feb  6 10:13:14 host rsyslogd-2177: imuxsock lost 214 messages from pid 2594 due to rate-limiting
Feb  6 10:13:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 2594 due to rate-limiting
Feb  6 10:15:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3412 due to rate-limiting
Feb  6 10:16:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 3412 due to rate-limiting
Feb  6 10:16:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3412 due to rate-limiting
Feb  6 10:18:16 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:19:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 3649 due to rate-limiting
Feb  6 10:19:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:20:32 host rsyslogd-2177: imuxsock lost 218 messages from pid 3649 due to rate-limiting
Feb  6 10:21:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:22:14 host rsyslogd-2177: imuxsock lost 218 messages from pid 3649 due to rate-limiting
Feb  6 10:22:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:24:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4058 due to rate-limiting
Feb  6 10:25:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 4058 due to rate-limiting
Feb  6 10:25:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4058 due to rate-limiting
Feb  6 10:27:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4195 due to rate-limiting
Feb  6 10:27:44 host rsyslogd-2177: imuxsock lost 215 messages from pid 4195 due to rate-limiting
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:c::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:41::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:41::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:19::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:19::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:49::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:49::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:4f8:0:2::20#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:60::29#53
Feb  6 10:40:14 host kernel: imklog 5.8.10, log source = /proc/kmsg started.
Feb  6 10:40:14 host rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1505" x-info="http://www.rsyslog.com"] start
Feb  6 10:40:14 host kernel: Initializing cgroup subsys cpuset

Feb  6 10:08:59 host kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:19:b9:fa:24:b8:d4:ca:6d:07:36:55:08:00 SRC=74.82.47.56 DST=192.168.11.250 LEN=40 TOS=0x00 PREC=0x20 TTL=247 ID=54321 PROTO=TCP SPT=39035 DPT=3389 WINDOW=65535 RES=0x00 SYN URGP=0
Feb  6 10:12:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 2594 due to rate-limiting
Feb  6 10:13:14 host rsyslogd-2177: imuxsock lost 214 messages from pid 2594 due to rate-limiting
Feb  6 10:13:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 2594 due to rate-limiting
Feb  6 10:15:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3412 due to rate-limiting
Feb  6 10:16:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 3412 due to rate-limiting
Feb  6 10:16:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3412 due to rate-limiting
Feb  6 10:18:16 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:19:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 3649 due to rate-limiting
Feb  6 10:19:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:20:32 host rsyslogd-2177: imuxsock lost 218 messages from pid 3649 due to rate-limiting
Feb  6 10:21:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:22:14 host rsyslogd-2177: imuxsock lost 218 messages from pid 3649 due to rate-limiting
Feb  6 10:22:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:24:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4058 due to rate-limiting
Feb  6 10:25:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 4058 due to rate-limiting
Feb  6 10:25:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4058 due to rate-limiting
Feb  6 10:27:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4195 due to rate-limiting
Feb  6 10:27:44 host rsyslogd-2177: imuxsock lost 215 messages from pid 4195 due to rate-limiting
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:c::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:41::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:41::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:19::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:19::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:49::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:49::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:4f8:0:2::20#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:60::29#53
Feb  6 10:40:14 host kernel: imklog 5.8.10, log source = /proc/kmsg started.
Feb  6 10:40:14 host rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1505" x-info="http://www.rsyslog.com"] start
Feb  6 10:40:14 host kernel: Initializing cgroup subsys cpuset

TOS=0x00 PREC=0x20 TTL=106 ID=30772 DF PROTO=TCP SPT=1299 DPT=3389 WINDOW=65535 RES=0x00 SYN URGP=0
Feb  6 10:02:14 host rsyslogd-2177: imuxsock begins to drop messages from pid 1723 due to rate-limiting
Feb  6 10:03:14 host rsyslogd-2177: imuxsock lost 12 messages from pid 1723 due to rate-limiting
Feb  6 10:04:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 1723 due to rate-limiting
Feb  6 10:08:59 host kernel: Firewall: *TCP_IN Blocked* IN=eth0 OUT= MAC=00:19:b9:fa:24:b8:d4:ca:6d:07:36:55:08:00 SRC=74.82.47.56 DST=192.168.11.250 LEN=40 TOS=0x00 PREC=0x20 TTL=247 ID=54321 PROTO=TCP SPT=39035 DPT=3389 WINDOW=65535 RES=0x00 SYN URGP=0
Feb  6 10:12:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 2594 due to rate-limiting
Feb  6 10:13:14 host rsyslogd-2177: imuxsock lost 214 messages from pid 2594 due to rate-limiting
Feb  6 10:13:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 2594 due to rate-limiting
Feb  6 10:15:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3412 due to rate-limiting
Feb  6 10:16:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 3412 due to rate-limiting
Feb  6 10:16:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3412 due to rate-limiting
Feb  6 10:18:16 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:19:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 3649 due to rate-limiting
Feb  6 10:19:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:20:32 host rsyslogd-2177: imuxsock lost 218 messages from pid 3649 due to rate-limiting
Feb  6 10:21:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:22:14 host rsyslogd-2177: imuxsock lost 218 messages from pid 3649 due to rate-limiting
Feb  6 10:22:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 3649 due to rate-limiting
Feb  6 10:24:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4058 due to rate-limiting
Feb  6 10:25:14 host rsyslogd-2177: imuxsock lost 215 messages from pid 4058 due to rate-limiting
Feb  6 10:25:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4058 due to rate-limiting
Feb  6 10:27:15 host rsyslogd-2177: imuxsock begins to drop messages from pid 4195 due to rate-limiting
Feb  6 10:27:44 host rsyslogd-2177: imuxsock lost 215 messages from pid 4195 due to rate-limiting
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:c::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:41::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:41::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:19::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:19::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/A/IN': 2001:500:49::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'ns.isc.afilias-nst.info/AAAA/IN': 2001:500:49::1#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:4f8:0:2::20#53
Feb  6 10:33:00 host named[1905]: error (network unreachable) resolving 'dlv.isc.org/DNSKEY/IN': 2001:500:60::29#53
Feb  6 10:40:14 host kernel: imklog 5.8.10, log source = /proc/kmsg started.
Feb  6 10:40:14 host rsyslogd: [origin software="rsyslogd" swVersion="5.8.10" x-pid="1505" x-info="http://www.rsyslog.com"] start
Feb  6 10:40:14 host kernel: Initializing cgroup subsys cpuset

if you need more, I can send it to you!

Please give me a hint - to worry or it is not anything bad...

203
CentOS 6 Problems / Cant ping server
« on: December 16, 2016, 08:19:30 AM »
Hello,

have installed centos on a WMware, CWP firewall is disabled, I can ping from many local addresses but cant ping from a management app in WM... ping dose not work, not pinging from 192.168.0.9.

Have added 192.168.0.9 to white-list but it dose not help...

Any ideas?

204
DNS / Re: DNS has no address
« on: November 23, 2016, 06:25:23 AM »
So strange but domain had expired.
The strangest part is that I have not received any information about expiring domain...

Mūžu dzīvo, mūžu mācies (Live your life, learn all your life) :)

205
DNS / Re: DNS has no address
« on: November 22, 2016, 06:17:35 PM »
I use cwp and cloudflare dns....

What details you need more...

Please help anyone.... help....

206
DNS / DNS has no address
« on: November 22, 2016, 05:22:40 PM »
Hello,

today suddenly one of my sites stopped working, at the dns section there is no address added, all other domains work!

Browser - Server not found

Solution, need help???  :o

207
Hi,

made a new domain, copied pydio core.zip data to the destination, started to install and get this:

Impossible write into the AJXP_DATA_PATH folder: Make sure to grant write access to this folder for your webserver!

Wanted to create an other workplace were I could play and try few things out, some months ago all worked without problem. This error is something new...

Here are the permissions of the folder /home/user/public_html/webpage.com/data:
drwxr-xr-x 9 user user 4096 Apr 11 14:47 .
drwxr-xr-x 6 user user 4096 Jul 22 09:33 ..
drwxr-xr-x 2 user user 4096 Jul 22 09:06 cache
drwxr-xr-x 2 user user 4096 Apr 11 14:47 files
-rw-r--r-- 1 user user   30 Apr 11 14:37 .htaccess
drwxr-xr-x 2 user user 4096 Apr 11 14:47 logs
drwxr-xr-x 2 user user 4096 Apr 11 14:47 personal
drwxr-xr-x 4 user user 4096 Apr 11 14:47 plugins
drwxr-xr-x 2 user user 4096 Apr 11 14:47 public
drwxr-xr-x 3 user user 4096 Jul 22 09:41 tmp

Any ideas?
Waiting for you help…

208
CentOS 6 Problems / Re: How to open port 26
« on: July 14, 2016, 08:41:58 AM »
It works  :)
Solution:
main.cf
For more tls logging: smtp_tls_note_starttls_offer = yes
comment out or remove:
smtp_tls_CAfile = /etc/ssl/certs/savannidgerinel_com_CA.pem
smtp_tls_cert_file = /etc/ssl/certs/apps.savannidgerinel.com.pem
smtp_tls_key_file = /etc/ssl/private/apps.savannidgerinel.com.key.pem

BUT NOV i can send mail from my roundcube mail to gmail and other mails, but cant send back to roundcube mail...

If iI send form roundcube to gmail, reply from gmail to roundcube my mail gets sent to the relay hosts gmail.
How to fix that?
What do I need to change to get mails sent back to roundcube mail? A bit confused!!! But it works t least :o

209
CentOS 6 Problems / Re: How to open port 26
« on: July 14, 2016, 07:15:35 AM »
So from this, created the tls_policy:
http://askubuntu.com/questions/228938/how-can-i-configure-postfix-to-send-all-email-through-my-gmail-account

Now I get: (TLS is required, but our TLS engine is unavailable)

Trying but no luck  :-[, how to fix this: (delivery temporarily suspended: TLS is required, but our TLS engine is unavailable)  :o


210
CentOS 6 Problems / Re: How to open port 26
« on: July 14, 2016, 06:38:33 AM »
(host smtp.gmail.com[209.85.233.108] said: 530 5.7.0 Must issue a STARTTLS command first. t10sm164144lfd.18 - gsmtp (in reply to MAIL FROM command))
 
How to fix it? Some say that you’re missing smtp_use_tls=yes but I dont...

Main.cf conf:

# 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

# network settings
inet_interfaces = all
mydomain = id.lv
myhostname = host.blabla.lv
mynetworks = $config_directory/mynetworks
mydestination = $myhostname, localhost.$mydomain, localhost
relay_domains = proxy:mysql:/etc/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/postfix/mysql-virtual_alias_maps.cf, regexp:/etc/postfix/virtual_regexp
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_minimum_uid = 101
virtual_uid_maps = static:101
virtual_gid_maps = static:12
virtual_transport = dovecot
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

# sets gmail as relay
relayhost = [smtp.gmail.com]:587

# use sasl when authenticating to foreign SMTP servers
smtp_sasl_auth_enable = yes

# path to password map file
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

# tls config
smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_security_level = may
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/host.blabla.lv.key
smtpd_tls_cert_file = /etc/pki/tls/certs/host.blabla.lv.crt
smtpd_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
#smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt

# eliminates default security options which are imcompatible with gmail
smtp_sasl_security_options =

# 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, 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

# Other options
# email size limit ~20Meg
message_size_limit = 204800000
mailbox_size_limit = 2048000000

# Limit 500 emails per hour per email address
anvil_rate_time_unit = 3600s
smtpd_client_message_rate_limit = 500
 

Pages: 1 ... 12 13 [14] 15 16