Saturday, September 13, 2014

Cyrus-imapd error no mailbox

exp:
===
error: could not complete request. query: select "inbox" reason given: mailbox does not exist  
or
error: could not complete request. query: create "inbox/sent" reason given: permission denied

imapd.conf configuration
=============
[root@Grads etc]# vi imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus root <------------------- add root as cyrus admin
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: saslauthd
sasl_mech_list: PLAIN
tls_cert_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_key_file: /etc/pki/cyrus-imapd/cyrus-imapd.pem
tls_ca_file: /etc/pki/tls/certs/ca-bundle.crt
unixhierarchysep: yes

restart services
==========
service cyrus-imapd stop
service cyrus-imapd start

[root@Grads etc]# cyradm -u root localhost
localhost.localdomain> cm user/wilailak.1
localhost.localdomain> cm user/warut.ing
localhost.localdomain> lm user/wilailak.1
user/wilailak.1 (\HasChildren)
localhost.localdomain> lm user/warut.ing
user/warut.ing (\HasNoChildren)

ref:
http://oreilly.com/catalog/mimap/chapter/ch09.html
http://doc.norang.ca/cyrus-imap-server.html


Monday, September 8, 2014

Solaris 10 Date, Time

Manual Setting
===========
#date “month day hour minute year”
# date 1201010106
Fri Dec  1 01:01:00 PST 2006

sync with time server
===============
#ntpdate xxx.xxx.xxx.xxx

Monday, August 25, 2014

ESXi 5.5 vib install (driver on ESXi)

esxcli system module list

esxcli software vib install -v  <path-drivername>

esxcli software vib install -v /tmp/Brocade_bootbank_scsi-bfa_3.2.4.0-1OEM.500.0.0.472560.vib


#remove

# esxcli software vib remove -n vendor vib name -f

Check Driver Version
================
 ethtool -i vmnic9

Disable NIC  fcoe
==============
Esxcli fcoe nic disable -n=vmnic8

ipv6

netsh interface ipv6 set privacy state=disabled store=active
netsh interface ipv6 set privacy state=disabled store=persistent
netsh interface ipv6 set global randomizeidentifiers=disabled store=active
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent

Friday, August 22, 2014

Relay client qmail

Relay client File:

/etc/tcp.smtp

restart qmail services:

/var/qmail/bin/qmailctl stop
/var/qmail/bin/qmailctl start

Tuesday, August 19, 2014

Clean up metadata ntdsutil

ntdsutil: metadata cleanup (enter)

metadata cleanup: select operations target (enter)

select operation target: connections (enter)

server connections: connect to domain <DNS-Domain-Name> (enter)

server connections: quit (enter)

select operation target: list domains (enter)

select operation target: select domain <Domain-Number> (enter)

select operation target: list sites (enter)

select operations target: select site <Site’s-Number> (enter)

select operation target: list servers in site (enter)

select operation target: select server <Failed-DC-Number> (enter)

select operation target: quit (enter)

metadata cleanup: remove selected server (enter)

metadata cleanup: quit (enter)

ntdsutil: quit (enter)

Restore system state backup to different Server windows 2012

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters]
SysvolReady to 1

http://blogs.technet.com/b/pki/archive/2013/03/22/windows-server-2012-active-directory-certificate-services-system-state-backup-and-restore.aspx

http://kpytko.pl/2013/12/06/non-authoritative-sysvol-restore-frs/

ALCATEL 6900

write memory copy running certified reload from working no rollback-timeout