FAILED: updating boredom.gotdns.com: badauth: Bad authorization (username or password)

  • Category: 電腦相關
  • Last Updated: Friday, 11 March 2016 16:31
  • Published: Monday, 04 January 2016 09:42
  • Written by sam

If you use dyndns dns service and receive the mail like this

FAILED:   updating boredom.gotdns.com: badauth: Bad authorization (username or password)

And you check your config is right, no mater what os, like debian or windows.

Use the command to test ddclient config,

root@myla:~# ddclient -daemon=0 -debug -verbose -noquiet

At the last output you will see

Read more: FAILED: updating boredom.gotdns.com: badauth: Bad authorization (username or password)

Install Nginx, MySQL, PHP-FPM, Joomla in Debian 8

  • Category: 電腦相關
  • Last Updated: Tuesday, 08 December 2015 11:45
  • Published: Tuesday, 13 October 2015 01:10
  • Written by sam

Move Windows LAMP to Debian 8 (Jessie) and use Nginx to replace Apache, also setup rewriting http to https.

for apt installing latest packages

root@boredom:~# echo 'APT::Install-Recommends "0"; APT::Install-Suggests "0";' > 99recommended

backup source

root@boredom:~# cp /etc/apt/sources.list{,.orig} && vi /etc/apt/sources.list

add testing sources
for Debian Jessie

Read more: Install Nginx, MySQL, PHP-FPM, Joomla in Debian 8

postfix dovecot in Debian 8

  • Category: 電腦相關
  • Last Updated: Friday, 16 October 2015 16:56
  • Published: Friday, 09 October 2015 14:46
  • Written by sam

My mail system is postfix on centos 5.5, it's too old, and I can't update now.

Build new mail system on day of unemployment.

The new one is is Debian8.

When you have done by Debian installed.

root at debian:~# netstat -ntulp |grep :25
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      654/exim4  
tcp6       0      0 ::1:25                  :::*                    LISTEN      654/exim4
root at debian:~# lsof -Pni :25
COMMAND PID        USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
exim4   654 Debian-exim    4u  IPv4  11812      0t0  TCP localhost:smtp (LISTEN)
exim4   654 Debian-exim    5u  IPv6  11813      0t0  TCP localhost:smtp (LISTEN)

remove exim4*

Read more: postfix dovecot in Debian 8