<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3763404714631836115</id><updated>2026-03-23T14:05:33.538-07:00</updated><category term="Linux"/><category term="MailServer"/><category term="aws"/><category term="centos php upgrade"/><category term="cloud-init"/><category term="lets encrypt"/><category term="puppet"/><category term="qmail"/><category term="upgrade fedora"/><category term="upgrade ubuntu"/><title type='text'>TechieReaders</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>TechieReaders</name><uri>http://www.blogger.com/profile/02635473719734755006</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-1011905117616521590</id><published>2020-07-14T04:01:00.000-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aws"/><category scheme="http://www.blogger.com/atom/ns#" term="cloud-init"/><title type='text'>cloud-init change default user -AWS</title><content type='html'>If you are using custom AMI, you may want to use non-standard user instead of using default cloud-user.
Replace cloud-user with any other user which you have probably already created for your AMI.
&lt;/br &gt;&lt;/br &gt;
modify /etc/cloud/cloud.cfg
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;
system_info:
  default_user:
    name: cloud-user
    lock_passwd: true
    gecos: Cloud User
    groups: [wheel, adm, systemd-journal]
    sudo: [&quot;ALL=(ALL) NOPASSWD:ALL&quot;]
    shell: /bin/bash
  distro: rhel
  paths:
    cloud_dir: /var/lib/cloud
    templates_dir: /etc/cloud/templates
  ssh_svcname: sshd
&lt;/pre&gt;&lt;/code&gt;

End it with folloowing command to rerun user related changes with new instance launch / reboot. &lt;pre&gt;&lt;code class=&quot;html&quot;&gt;cloud-init clean&lt;/code&gt;&lt;/pre&gt; </content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/1011905117616521590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/07/cloud-init-change-default-user-aws.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/1011905117616521590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/1011905117616521590'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/07/cloud-init-change-default-user-aws.html' title='cloud-init change default user -AWS'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-4244311346819999206</id><published>2020-07-06T04:54:00.000-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MailServer"/><title type='text'>Postfix- Relay mails via office365.com</title><content type='html'>Following configuration will help you setup office365.com mail delivery using postfix.&lt;br /&gt;

Install required packages.&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;yum install cyrus-sasl-sql cyrus-sasl-plain cyrus-sasl-lib -y &lt;/code&gt;&lt;/pre&gt;

append following in /etc/postfix/main.cf
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;relayhost = [smtp.office365.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_generic_maps = hash:/etc/postfix/generic
smtp_tls_security_level = may
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
&lt;/code&gt;&lt;/pre&gt;

update generic file with sender email address, else office365.com server will reject your mails.
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;/etc/postfix/generic
@localdomain.local      your_office365_email_id
&lt;/code&gt;&lt;/pre&gt;

&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;/etc/postfix/sasl_passwd
smtp.office365.com your_office365_email_id:your_password
&lt;/code&gt;&lt;/pre&gt;

restart service
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;postmap /etc/postfix/generic
postmap /etc/postfix/sasl_passwd
service postfix restart
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/4244311346819999206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/07/postfix-relay-mails-via-office365com.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/4244311346819999206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/4244311346819999206'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/07/postfix-relay-mails-via-office365com.html' title='Postfix- Relay mails via office365.com'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-5647408453940050080</id><published>2020-06-29T04:51:00.000-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MailServer"/><title type='text'>Postfix- Relay mails via outlook.com</title><content type='html'>Following configuration will help you setup outlook.com mail delivery using postfix.&lt;br /&gt;

Install required packages.&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;yum install cyrus-sasl-sql cyrus-sasl-plain cyrus-sasl-lib -y &lt;/code&gt;&lt;/pre&gt;

append following in /etc/postfix/main.cf
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;relayhost = [smtp-mail.outlook.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_generic_maps = hash:/etc/postfix/generic
smtp_tls_security_level = may
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
&lt;/code&gt;&lt;/pre&gt;

update generic file with sender email address, else outlook.com server will reject your mails.
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;/etc/postfix/generic
@localdomain.local      your_id@outlook.com
&lt;/code&gt;&lt;/pre&gt;

&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;/etc/postfix/sasl_passwd
smtp-mail.outlook.com your_id@outlook.com:your_password
&lt;/code&gt;&lt;/pre&gt;

restart service
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;postmap /etc/postfix/generic
postmap /etc/postfix/sasl_passwd
service postfix restart
&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/5647408453940050080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/06/postfix-relay-mails-via-outlookcom.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/5647408453940050080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/5647408453940050080'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/06/postfix-relay-mails-via-outlookcom.html' title='Postfix- Relay mails via outlook.com'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-2751594838407881239</id><published>2020-06-22T04:35:00.000-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="MailServer"/><title type='text'>Postfix- Relayhost with plain auth</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you wish to relay mails through your isp smtp server or any other, which requires plain/any auth, following config will help you.&lt;br /&gt;
Assuming that you have fresh postfix installed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install Dependency&lt;/b&gt;&lt;br /&gt;
&lt;code&gt;yum install cyrus-sasl-plain -y&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Postfix Configuration&lt;/b&gt;&lt;br /&gt;
add below lines in /etc/postfix/main.cf&lt;br /&gt;
&lt;code&gt;relayhost = RELAY_SMTP_SERVER:PORT&lt;br /&gt;smtp_sasl_auth_enable   = yes&lt;br /&gt;smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd&lt;br /&gt;smtp_sasl_security_options =&lt;br /&gt;myorigin = MY-MAIL-SERVER &lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Enable Smtp Auth for relayhost&lt;br /&gt;
&lt;code&gt;cat /etc/postfix/sasl_passwd&lt;br /&gt;
RELAY_SMTP_SERVER EMAIL_ADDRESS:PASSWORD&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;postmap /etc/postfix/sasl_passwd&lt;br /&gt;service postfix reload&lt;/code&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/2751594838407881239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/06/postfix-relayhost-with-plain-auth.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/2751594838407881239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/2751594838407881239'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/06/postfix-relayhost-with-plain-auth.html' title='Postfix- Relayhost with plain auth'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-9037073247720407382</id><published>2020-06-15T05:43:00.000-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>udev renamed network interface eth0 to ...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre style=&quot;text-align: left;&quot;&gt;&lt;b&gt;udev renamed network interface eth0 to eth1 / eth2&lt;/b&gt; (dmesg | grep eth)&lt;/pre&gt;
Above message you&#39;ll hardly find while working on physical machine. &lt;br /&gt;
I have not faced this message on Citrix Xenserver, probably xenserver tools takes care of this.&lt;br /&gt;
&lt;br /&gt;
This is what I faced while cloning one of VM on KVM. After cloning one of CentOS VM network wasn&#39;t working.&lt;br /&gt;
&lt;br /&gt;
To resolve this, all you need is to remove / comment following lines from &lt;b&gt;one of /etc/udev/rules.d/ files&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;text-align: left;&quot;&gt;Here I found eth0 entry in &lt;b&gt;70-persistent-net.rules&lt;/b&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;
SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR{address}==&quot;52:54:00:fe:18:e6&quot;, ATTR{type}==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth0&quot;
SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR{address}==&quot;52:54:00:c2:b2:d3&quot;, ATTR{type}==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth1&quot;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Once above lines removed / commented, you&#39;ll be able to configure interface as eth0.&lt;br /&gt;
You can also change eth1 / eth2 to eth0 for the relevant mac address.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/9037073247720407382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/06/udev-renamed-network-interface-eth0-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/9037073247720407382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/9037073247720407382'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/06/udev-renamed-network-interface-eth0-to.html' title='udev renamed network interface eth0 to ...'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-3859075142319840719</id><published>2020-06-09T05:38:00.000-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>SSH / SCP key authentication</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Many time bash scrip demands scp. OR you may not wish to enter password every time you access remote server.&lt;br /&gt;
&lt;div class=&quot;snap_preview&quot;&gt;
Generate key for local system.&lt;br /&gt;
&lt;blockquote&gt;
ssh-keygen -t rsa&lt;/blockquote&gt;
Copy key to remote server.&lt;br /&gt;
&lt;blockquote&gt;
ssh-copy-id -i /root/.ssh/id_rsa.pub root@192.168.1.1&lt;/blockquote&gt;
Now you can ssh / scp without entering password.&lt;br /&gt;
For old system not equipped with ssh-copy-id&lt;br /&gt;
&lt;blockquote&gt;
ssh-keygen -t rsa&lt;br /&gt;scp ~/.ssh/id_rsa.pub root@192.168.1.1:&lt;br /&gt;ssh root@192.168.1.1 ‘cat id_rsa.pub &amp;gt;&amp;gt; .ssh/authorized_keys’&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/3859075142319840719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/06/ssh-scp-key-authentication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/3859075142319840719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/3859075142319840719'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/06/ssh-scp-key-authentication.html' title='SSH / SCP key authentication'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-2955101731151439107</id><published>2020-06-02T05:36:00.000-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>NTP Client on CentOS / Fedora</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
NTP Client configuration.&lt;br /&gt;
It is very easy to configure NTP client on Linux machine.&lt;br /&gt;
Just two steps required to sync clock.&lt;br /&gt;
&lt;blockquote&gt;
yum install ntp&lt;br /&gt;
ntpdate -u 1.pool.ntp.org&lt;/blockquote&gt;
You can configure cron job to run 2nd step on schedule OR you can put in /etc/rc.local&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/2955101731151439107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/06/ntp-client-on-centos-fedora.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/2955101731151439107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/2955101731151439107'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/06/ntp-client-on-centos-fedora.html' title='NTP Client on CentOS / Fedora'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-477692807421800908</id><published>2020-05-20T23:53:00.003-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="puppet"/><title type='text'>Puppet restart service on file change</title><content type='html'>Following is sample puppet manifest to reload service after file change. 
This may come handy if you want to reload service once config file is updated. 

&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;
class cmk_cache {
case $::kernel {
&#39;Linux&#39;: {

	service { &#39;xinetd&#39;:
	ensure  =&gt; &#39;running&#39;,
	enable  =&gt; true,
		}

	# add a notify to the file resource
	file { &#39;/etc/xinetd.d/check_mk&#39;:
	notify  =&gt; Service[&#39;xinetd&#39;],  # this sets up the relationship
	source =&gt; &quot;puppet:///modules/cmk_cache/check_mk&quot;,
		}
}
}
}
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;

Here we are refreshing / restarting xinetd service once check_mk xinetd file is updated.</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/477692807421800908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/05/puppet-restart-service-on-file-change.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/477692807421800908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/477692807421800908'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/05/puppet-restart-service-on-file-change.html' title='Puppet restart service on file change'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-6265332957411017945</id><published>2020-05-18T21:47:00.003-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="qmail"/><title type='text'>FIX - Qmail -- cannot start qmail-send is already running</title><content type='html'>&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;cannot start qmail-send is already running&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
Above error is usually caused when you restart qmailctl, &amp;amp; force start qmail-send. This happens because of qmail-send is not completely shutdown as qmail-remote is busy with remote mail delivery Or qmail-local is taking time to write local mail which is unlikely.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To quickly fix you can kill qmail-remote process &amp;amp; wait for it to restart.&lt;br /&gt;
&lt;br /&gt;
Best option is to wait for qmail-remote to complete mail delivery, once delivery is completed qmail-send should start gracefully.</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/6265332957411017945/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/05/fix-qmail-cannot-start-qmail-send-is.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/6265332957411017945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/6265332957411017945'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/05/fix-qmail-cannot-start-qmail-send-is.html' title='FIX - Qmail -- cannot start qmail-send is already running'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-5584890942877831575</id><published>2020-05-18T21:47:00.001-07:00</published><updated>2026-03-16T10:03:40.493-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="upgrade fedora"/><title type='text'> Upgrade Fedora 31 to 32 using shell / dnf </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Use following commands to upgrade fedora.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
sudo dnf install dnf-plugin-system-upgrade&lt;br /&gt;
sudo dnf system-upgrade download --releasever=32&lt;br /&gt;
sudo dnf system-upgrade reboot&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/5584890942877831575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/05/upgrade-fedora-31-to-32-using-shell-dnf.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/5584890942877831575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/5584890942877831575'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/05/upgrade-fedora-31-to-32-using-shell-dnf.html' title=' Upgrade Fedora 31 to 32 using shell / dnf '/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-5874261691014645011</id><published>2020-05-18T21:46:00.002-07:00</published><updated>2026-03-16T10:03:40.492-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="upgrade ubuntu"/><title type='text'>Upgrade Ubuntu ver using shell</title><content type='html'>&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;sudo apt update &amp;amp;&amp;amp; sudo apt upgrade --yes
sudo apt install update-manager-core
sudo do-release-upgrade&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
if above command does not start upgrade, use below one to force it.&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;sudo do-release-upgrade -d &lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/5874261691014645011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/05/upgrade-ubuntu-ver-using-shell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/5874261691014645011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/5874261691014645011'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/05/upgrade-ubuntu-ver-using-shell.html' title='Upgrade Ubuntu ver using shell'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-1388846659260309186</id><published>2020-05-18T21:46:00.000-07:00</published><updated>2026-03-16T10:03:40.492-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos php upgrade"/><title type='text'>CentOS 8 upgrade php version </title><content type='html'>List all supported php ver for installation using dnf command.&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;[root@cent8 ~]# dnf module list php
Last metadata expiration check: 0:03:17 ago on Mon 11 May 2020 10:23:49 AM IST.
CentOS-8 - AppStream
Name    Stream        Profiles                      Summary                 
php     7.2 [d][e]    common [d], devel, minimal    PHP scripting language
php     7.3           common, devel, minimal        PHP scripting language                       
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
enable php 7.3 for upgrade / installaiton&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;dnf module enable php:7.3
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
verify that php 7.3 is enabled for upgrade&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;[root@cent8 ~]# dnf module list php
Last metadata expiration check: 0:08:58 ago on Mon 11 May 2020 10:23:49 AM IST.
CentOS-8 - AppStream
Name     Stream      Profiles                      Summary                  
php      7.2 [d]     common [d], devel, minimal    PHP scripting language                          
php      7.3 [e]     common, devel, minimal        PHP scripting language                          
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
upgrade packages&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;dnf update&lt;/code&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/1388846659260309186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/05/centos-8-upgrade-php-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/1388846659260309186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/1388846659260309186'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/05/centos-8-upgrade-php-version.html' title='CentOS 8 upgrade php version '/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-6627662587694501194</id><published>2020-05-18T21:44:00.002-07:00</published><updated>2026-03-16T10:03:40.492-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="lets encrypt"/><title type='text'>Lets Encrypt certificate installation</title><content type='html'>Let&#39;s encrypt provides free ssl / tls certificate for 90 days, after 90 days you need to renew certificate.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install git.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;yum -y install git&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;apt-get install git&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Install letsencrypt cert.&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;code class=&quot;html&quot;&gt;git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
cd /opt/letsencrypt
./letsencrypt-auto&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
Last command will install any remaining dependencies, and you will get prompt to enter / select website for which you want to generate certificate. This script will auto install certificate, once done restart apache for config to take effect.</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/6627662587694501194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2020/05/lets-encrypt-certificate-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/6627662587694501194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/6627662587694501194'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2020/05/lets-encrypt-certificate-installation.html' title='Lets Encrypt certificate installation'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3763404714631836115.post-5448041486889011828</id><published>2009-04-18T16:27:00.000-07:00</published><updated>2020-05-31T21:29:36.979-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Squid Proxy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;snap_preview&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.squid-cache.org/&quot;&gt;Squid&lt;/a&gt; is a caching proxy server.&lt;br /&gt;
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. It runs on most available operating systems, including Windows and is licensed under the GNU GPL.&lt;br /&gt;
&lt;a href=&quot;http://www.squid-cache.org/&quot;&gt;Read More&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Squid is available with major linux distributions like CentOS, Fedora.&lt;br /&gt;
&lt;br /&gt;
To install Squid&lt;br /&gt;
&lt;blockquote&gt;
yum install squid&lt;/blockquote&gt;
&lt;br /&gt;
To configure Squid.&lt;br /&gt;
&lt;blockquote&gt;
vi /etc/squid/squid.conf&lt;br /&gt;
visible_hostname test.squid&lt;/blockquote&gt;
&lt;br /&gt;
Restart Squid Service&lt;br /&gt;
&lt;blockquote&gt;
service squid restart&lt;/blockquote&gt;
&lt;br /&gt;
Use your local squid proxy server ip address &amp;amp; port 3128 (squid default port) to configure in internet clients. While accessing internet you’ll get error &lt;b&gt;Access Denied&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
To allow internet access to your local lan.&lt;br /&gt;
&lt;blockquote&gt;
vi /etc/squid/squid.conf&lt;br /&gt;
acl myuser src 192.168.1.0/255.255.255.0&lt;br /&gt;
http_access allow myuser&lt;/blockquote&gt;
&lt;br /&gt;
To allow all internet sites, blocking few e.g jobs, community.&lt;br /&gt;
&lt;blockquote&gt;
acl myuser src 192.168.1.0/255.255.255.0&lt;br /&gt;
acl deniedsites url_regex “/etc/squid/denied” #list of the sites blocked&lt;br /&gt;
http_access deny myuser deniedsites              #to block ban sites&lt;br /&gt;
http_access allow myuser&lt;/blockquote&gt;
&lt;br /&gt;
To disabled caching for specific sites, you might require to disable caching for few sites e.g intranet site.&lt;br /&gt;
&lt;blockquote&gt;
acl MYSITES url_regex “/etc/squid/nocache”&lt;br /&gt;
no_cache deny MYSITES&lt;/blockquote&gt;
&lt;br /&gt;
Squid with ARP instead ip address.&lt;br /&gt;
You may be using DHCP with minimum lease time, in this case you require to filter sites using MAC ADD instead of ip address.&lt;br /&gt;
&lt;br /&gt;
You need to compile Squid from source with --enable-arp-acl (use squid -v &amp;amp; add all existing configuration option.)&lt;br /&gt;
&lt;blockquote&gt;
acl yahoomailuser arp “/etc/squid/yahoomailuser” #list of the user’s mac add&lt;br /&gt;
acl yahoomail url_regex “/etc/squid/yahoomail”    #url allowed&lt;br /&gt;
http_access allow yahoomailuser yahoomail&lt;/blockquote&gt;
&lt;br /&gt;
Transparent proxy.&lt;br /&gt;
&lt;blockquote&gt;
vi /etc/squid/squid.con&lt;br /&gt;
http_port 192.168.1.1:3128 transparent # squid local ip address&lt;br /&gt;
&lt;br /&gt;
OR&lt;br /&gt;
&lt;br /&gt;
http_port 3128 transparent&lt;/blockquote&gt;
&lt;br /&gt;
Transparent proxy is used when you do not wish to define proxy settings in clients terminal, for that you need to do port redirection using iptables over gateway.&lt;br /&gt;
&lt;pre class=&quot;cpp&quot; name=&quot;code&quot;&gt;iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://techiereaders.blogspot.com/feeds/5448041486889011828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://techiereaders.blogspot.com/2009/04/squid-proxy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/5448041486889011828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3763404714631836115/posts/default/5448041486889011828'/><link rel='alternate' type='text/html' href='http://techiereaders.blogspot.com/2009/04/squid-proxy.html' title='Squid Proxy'/><author><name>dhaval thakar</name><uri>http://www.blogger.com/profile/14545656695018204214</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>