All posts by PF

fatal: no matching comp found: client zlib server none,[email protected]

 

May  4 00:04:35 sd-71796 sshd[20887]: fatal: no matching comp found: client zlib server none,[email protected] [preauth]

You need to install zlib and libgcrypt11-dev and set compression to yes on /etc/ssh/sshd_config.

sudo apt-get install libgcrypt11-dev zlib1g-dev

Then

sudo nano /etc/ssh/sshd_config

And add Compression yes to it.
Save and restart ssh.

sudo service ssh restart

In some cases you might need to restart the server.

 

cannot read directory for multi:

While I was setting up a CGI directory I was getting the following error

[Tue May 03 01:22:11.274857 2016] [negotiation:error] [pid 2625] (13)Permission denied: [client 84.91.XXX.XXX:49530] AH00686: cannot read directory for multi: /var/www/domain.com/, referer: http://domain.com/

This solved me the issue….

ScriptAlias /cgi-bin/ /var/www/domain.com/cgi-bin/
 <Directory /var/www/domain.com/>
   AllowOverride None
   Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
   Order allow,deny
   Allow from all
</Directory>

dovecot: lda(root): Error: user root: Initialization failed: Namespace ”: stat(/root/Maildir) failed: Permission denied

 

Apr 29 14:37:45 sd-71796 dovecot: lda(root): Error: user root: Initialization failed: Namespace ”: stat(/root/Maildir) failed: Permission denied (euid=65534(nobody) egid=65534(nogroup) missing +x perm: /root, dir owned by 0:0 mode=0700)

OK!

I’v created an aliase…

Edit /etc/postfix/virtual

nano /etc/postfix/virtual

Add the entry

[email protected]    existing_user

Rebuild postmap

sudo postmap /etc/postfix/virtual

 

 

Sources

Ubuntu postfix+dovecot – Create default Inbox, Sent, and Trash folder per account

 

Open /etc/dovecot/conf.d/20-imap.conf

sudo nano /etc/dovecot/conf.d/20-imap.conf

Search for mail_plugins and make the following changes on that line

from
mail_plugins = $mail_plugins
to 
mail_plugins = $mail_plugins autocreate

Then add the following at the end of the file

plugin {
     autocreate = Trash
     autocreate2 = Junk
     autocreate3 = Drafts
     autocreate4 = Sent
     autosubscribe = Trash
     autosubscribe2 = Junk
     autosubscribe3 = Drafts
     autosubscribe4 = Sent
}

Restart dovecot

sudo service dovecot restart

 

More readings

 

Apr 29 03:09:02 sd-71796 postfix/master[43779]: fatal: bind 0.0.0.0 port 25: Address already in use

Apr 29 03:09:02 sd-71796 postfix/master[43779]: fatal: bind 0.0.0.0 port 25: Address already in use

So, looks like we have the port 25 in use!

This solved my issue…
service sendmail stop
service postfix restart
service sendmail start

After doing this the /var/mail/ had the user’s files!

Send a test email

mail -s "Test Subject" [email protected] < /dev/null

To set up an user you need to Configure Additional Email Addresses.

 

Solution found at http://askubuntu.com/questions/405058/postfix-start-error-port-25-address-already-in-use

 

Your Data: If You Have Nothing to Hide, You Have Nothing to Fear

Your Data: If You Have Nothing to Hide, You Have Nothing to Fear

What a slogan!

https://nsa.gov1.info/surveillance/

This is a parody of nsa.gov and has not been approved, endorsed, or authorized by the National Security Agency or by any other U.S. Government agency.
Much of this content was derived from news media, privacy groups, and government websites. Links to these sites are posted on the left-sidebars of each page.

NSA data collection about ‘population control’ not law enforcement – whistleblower

FBI whistleblower Jesselyn Radack joins RT America’s Simone Del Rosario to discuss thye growing concern that the NSA is collecting so much data that it can no longer be effective in preventing terror. Radack says the terror attacks of 9/11 created a ‘blank check’ wherein the usual constraints on surveillance were removed, including probable cause and the necessity of getting a warrant before conducting domestic data collection.