2 identical VPS (Ubuntu 18.04): Postfix – Monit alerts to Google mail do not work

Let's start at the beginning. I have two identical VPS servers with Ubuntu 18.04 OS and Monit installed on both. I have configured the mail server on the configuration monit (for sending alerts) as a local host on both. The problem is that on one server everything is working correctly and on another I get an error: NOQUEUE: rejects: RCPT of localhost (127.0.0.1): 550 5.1.1: Recipient Address Rejected: Unknown User in the Virtual Alias ​​Table

I have not specially configured Dovecot and Postfix, so it should work just as well on the default configurations. I compared working with a postfix server and not working with a postfix server and it seems that they are more or less the same. Here they are:

Work server:

    # See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = sub.domain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, sub.domain.com, localhost.domain.com, , localhost
relayhost = 
mynetworks = 127.0.0.0/8 (::ffff:127.0.0.0)/104 (::1)/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtp_tls_security_level = may
allow_percent_hack = no

and on this server, everything works perfectly without setting anything more, just put localhost as mail server in the configuration of monit.

Server does not work:

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
# fresh installs.
compatibility_level = 2

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/postfix.cert.pem
smtpd_tls_key_file = /etc/postfix/postfix.key.pem
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = sub2.domain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = $myhostname, sub2.domain.com, localhost.domain.com, ,localhost
relayhost =
mynetworks = 127.0.0.0/8 (::ffff:127.0.0.0)/104 (::1)/128
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
smtp_tls_security_level = dane
allow_percent_hack = no
smtpd_tls_CAfile = /etc/postfix/postfix.ca.pem
smtpd_tls_security_level = may
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1

This server generates the error mentioned above.

The destination mail has a different domain than these servers and the mailbox is in google. After checking nslookup NX, it seems that it is solved correctly:

Non-authoritative answer:
maildomain.com  mail exchanger = 5 alt2.aspmx.l.google.com.
maildomain.com  mail exchanger = 10 alt4.aspmx.l.google.com.
maildomain.com  mail exchanger = 10 alt3.aspmx.l.google.com.
maildomain.com  mail exchanger = 5 alt1.aspmx.l.google.com.
maildomain.com  mail exchanger = 1 aspmx.l.google.com.

Another thing is that on the server that does not work, there is apache with the website configured maildomain.com and I think maybe that confuses a server with the email sent. Maybe his search only the email address locally and then gets this error: RCPT of localhost (127.0.0.1): 550 5.1.1: Recipient Address Rejected: Unknown User in the Virtual Alias ​​Table

Any ideas to make it work and what could be bad here would be perfect. Thanks in advance!

ubuntu – Control Ubunu 18.04 Remote From Mac Mojave

I want to set up a VNC so I can access my Ubuntu desktop remotely from my Mac. I've tried to configure X2Go, but it does not work as expected, it opens with a blank screen instead of displaying open applications on my screen.

Is there a recommended way to configure it?

Ubuntu 18.04 – Babel 6.26.3 continues to install instead of 7.7

I am setting up a new server (Ubuntu 18.10) and I am not able to install the latest version of Babel. I do:

apt-get -y install npm
sudo npm install -g babel-cli
npm install --save-dev @babel/core
npm install @babel/cli
npm install @babel/preset-env
npm install --save @babel/polyfill

Still, when I look at the version, it tells me that I am only on version 6.26.3 (not what I want, because some of the plugins I need depend on the version> 7.0 – thus rebuilding the server)

Any suggestions on what to try?

UPDATE: I do not know if this is related, but for some reason, the server has 2 instances of npm, with very different versions:

root@east:/home/steampunkdev/web/xxx.net/node_modules# /usr/bin/npm -v
5.8.0
root@east:/home/steampunkdev/web/xxxx.net/node_modules# /usr/local/bin/npm -v
6.13.0

UPDATE 2: I wonder if maybe I miss a source for the latest version? That's what I have in sources.list:

deb http://mirrors.linode.com/ubuntu/ cosmic main restricted
deb http://mirrors.linode.com/ubuntu/ cosmic-updates main restricted
deb http://mirrors.linode.com/ubuntu/ cosmic universe
deb http://mirrors.linode.com/ubuntu/ cosmic-updates universe
deb http://mirrors.linode.com/ubuntu/ cosmic multiverse
deb http://mirrors.linode.com/ubuntu/ cosmic-updates multiverse
deb http://mirrors.linode.com/ubuntu/ cosmic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu cosmic-security main restricted
deb http://security.ubuntu.com/ubuntu cosmic-security universe
deb http://security.ubuntu.com/ubuntu cosmic-security multiverse

I can see version 7.7.2 here: https://www.npmjs.com/package/@babel/core, but mine does not seem to want to install this version: /

ubuntu 18.04 – How to improve the Lubuntu Desktop offset on a high-performance server with xrdp

I have a dedicated server with an AMD Ryzen 5 3600 and when connecting to Lunbuntu Desktop via RDP it is very slow. I can not read the videos, navigate smoothly on the sites, etc. I've checked the task manager, the CPU load and the use of RAM memory by less than 2%.

My home Internet access is 200 MB / s and 100 MB / s, so I do not think that's the problem.

The result "lspci -vnnn | perl -lne" displays if /^d+:.+((S+:S+))/' | grep VGA "of is:

22:00.0 VGA compatible controller (0300): ASPEED Technology, Inc. ASPEED Graphics Family (1a03:2000) (rev 41) (prog-if 00 (VGA controller))

So, I think he's using the gpu.

What settings can I change so that it takes advantage of hardware, I would not mind taking 20% ​​CPU if it gave a better experience.

How to install SquirrelMail on Ubuntu 18.04

I'm trying to install SquirrelMail on Ubuntu 18.04LTS but when I run the following command:

sudo apt-get install squirrelmail

I had this:

Unable to locate package squirrelmail

I was trying to investigate but I had never asked before, so I want to know how and if it is possible. Thank you.

After starting Pulse Secure on Ubuntu Linux 18.04, the Internet stops working.

I use Pulse Secure software on my Ubuntu Linux 18.04, but every time I connect it, my Internet stops working.

display – ubuntu 18.04 Laptop Screen Resolution Too High

I have a Thinkpad t520 with a default screen resolution of 1920×1080 that I found too high and that I wish to reduce to 1600×900. I have tried searching for answers but have not found any for this version of Ubuntu. One of the suggestions is xrandr [size 1600×900] but leads to the unrecognized "size" option. Do I need to install an older version of Ubuntu?
I use Windows 7 and Ubuntu under two startups. I've helped make everything work, like my Windows network shares, my clones Wine and Clonezilla for backups. I do not want to use Windows 10

Slow down / download ftp sftp http on Ubutu Server 18.04 LTS on a local network

I am facing an embarrassing problem, I have an Ubuntu server at home and when I want to download from another PC of the same local network, no matter if I download or download from / to http (my http server is apache2 on ubuntu server), ftp or sftp and no matter if i use WinSCP or FileZilla, nothing is different:

My upload / download speed is about 1.5 MB / s. But sometimes, I see a speed of up to 100 MB / s.

What I can say is:

It's not because of CPU performances (either the server CPU and client PC's CPU).

It's not because of the LAN performances.

I have searched on Google and found many people who have the same problem, but I have not found any relevant solution for my situation.

Thank you for your attention !

Is it possible to reset Ubuntu 18.04 to the factory settings on an SMV?

Is it possible to reset Ubuntu 18.04 to the factory settings on an SMV? | Talk Web Hosting

& # 39;);
var sidebar_align = & # 39; right & # 39 ;;
var content_container_margin = parseInt (& # 39; 350px & # 39;);
var sidebar_width = parseInt (& # 39; 330px & # 39;)
// ->

  1. Question Is it possible to reset Ubuntu 18.04 to the factory settings on an SMV?

    I have recently purchased a VPS and, unfortunately, their control panel does not allow the installation of operating systems like that of my old data center. Is it possible to safely reset an Ubuntu 18.04 VPS to factory settings via SSH or VNC?


  2. Completely cleaning up an operating system is almost impossible until you have installed and configured things. There is no stable "go back" for Ubuntu. I would ask the provider to reinstall the VPS. A new OS would be preferred.


Similar wires

  1. answers: 18

    Last post: 10-11-2014, 7:32

  2. answers: 2

    Last post: 31-03-2014, 2:35 p.m.

  3. answers: 2

    Last post: 10-20-2008, 1:32 p.m.

  4. answers: 2

    Last post: 01-04-2006, 10:20

Authorizations to publish

  • You Maybe not post new discussions
  • You Maybe not post answers
  • You Maybe not post attachments
  • You Maybe not edit your posts




18.04 – The top bar of the app does not show up when using an external monitor Ubuntu Budgie Desktop

When I connect to the external monitor of my laptop and all the applications that I open in full window size (on the laptop screen), the top bar will not stand up. do not find (reduce, enlarge, close).

I used Gnome and after installing Ubuntu-Budgie Desktop, this happens and some keyboard shortcuts do not work.

How can I fix this?

enter the description of the image here

Thank you.

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123
Proxy Sites Proxy Tunnels Proxy List Working Proxy Sites Hotproxysite Proxy Sites Proxy Sites Anonymous Proxy Anonymous Proxies Top-Proxies.co.uk http://www.proxysitesnow.com Proxy Servers Free Proxies Free Proxy List Proxy List Zoxy Proxy List PR liste all proxy sites More Proxies netgofree netgofree Hide-MyIp - The Best Proxy List American Proxy List www.proxylisty.com/proxylist Web Proxy Submit Proxies Updated Proxy List Updated Proxy List aproxy.org Bypass Proxy Sites Free Proxies List Evolving Critic Business Web Directory Free Proxy List iShortIt MyProxyList Online Proxies Go Proxies Need Proxies PrivateProxies Proxies4MySchool Proxies4Work Free Proxy List Free Proxy Sites ProxyInside Wiksa Proxy ProxyLister.org Free Proxy List ProxyNoid Proxy List Free Proxy List Proxy Sites Proxy TopList ProxyVille UK Proxy WebProxy List RatedProxy.com - Listing the best Web Proxies Free Proxy List SchoolProxiesList Stay Anonymous Proxy List The Power Of Ninja Proxy List UNubstruct Free proxy sites Free proxy sites