Posts Tagged ‘ispconfig3’

Howto: Configure plugin password roundcube with ispconfig3 postfix

Saturday, June 5th, 2010

Please refers to http://www.nixnux.or.id/2010/06/05/howto-configure-plugin-password-roundcube-with-vpopmailmysql-qmailtoaster/

If you want to install roundcube as your webmail interface, please goto http://www.nixnux.or.id/2010/06/05/howto-install-roundcubemail-from-svn-on-ubuntu-lucid-10-04/

This same step with my last article. go…

1. enable it (plugin password)

~]# cd /var/www/roundcube/config
~]# vim main.inc.php

[...]
$rcmail_config['plugins'] = array('password');
[...]

2. Configure it

~]# cd /var/www/roundcube/plugins/password
~]# cp config.inc.php.dist config.inc.php
~]# vim config.inc.php

[...]
$rcmail_config['password_driver'] = 'sql';
$rcmail_config['password_db_dsn'] = 'mysql://ispconfig:$PASSWORD@localhost/dbispconfig';
[...]
$rcmail_config['password_query'] = 'UPDATE mail_user SET password=%c WHERE email=%u LIMIT 1';
[...]

Good Luck.

Thanks to my lovely wife. I luv you. masterpop3

Integration Postfix + Mailman + Ispconfig3 on ubuntu Lucid 10.04

Tuesday, May 18th, 2010

This guide explains how to setup Mailman mailing list software with the Apache web server and Postfix mail servers on Ubuntu with running ispconfig3. The intended audience is experienced linux users and system administrators.

Assumptions

  • It is assumed that you know how to run linux commands, edit files, and start and stop services in the linux system. It is also assumed that you have administrative access to an Ubuntu system, that you have internet connection and that you have configured /etc/apt/sources.list.
  • myhostname : masterpop3.domain.com
  • sign ‘~#’ is mean your console

1. Installation Mailman

~# aptitude install mailman
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
mailman pwgen{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,665kB of archives. After unpacking 45.0MB will be used.
Do you want to continue? [Y/n/?] y
configuring-mailman

configuring-mailman1

configuring-mailman2

configuring-mailman2

(more…)

Mailman Postfix Recipient address rejected: User unknown in virtual mailbox table;

Friday, May 14th, 2010

May 14 15:29:15 apel postfix/smtpd[13425]: NOQUEUE: reject: RCPT from unknown[202.xxx.xxx.xxx]: 550 5.1.1 <milist@nixnux.or.id>: Recipient address rejected: User unknown in virtual mailbox table; from=<usera@nixnux.or.id> to=<milist@nixnux.or.id> proto=SMTP helo=<usera>

I see the error log /var/log/mail.log in my ubuntu lucid 10.04 with ispconfig 3.0.2.1, postfix and mailman.

error above cause of :

  • mailman hasn’t hash alias_maps or virtual_alias_maps
  • mallfunction section of integration postfix with mailman

please try my solution :

check config file /etc/postfix/main.cf , make sure you have :

.
.
alias_maps = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases
alias_database = hash:/etc/aliases,hash:/var/lib/mailman/data/aliases
.
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/lib/mailman/data/virtual-mailman
.
.

postfix build map and try reload postfix :

~# postmap /var/lib/mailman/data/aliases
~# postmap /var/lib/mailman/data/virtual-mailman

~# /etc/init.d/postfix restart

~~Good Luck~~
masterpop3

Mailman list admin password reset

Friday, May 14th, 2010

If you forget your admin list password for a mailman list in your linux ubuntu, type this at the console :

/usr/lib/mailman/bin/change_pw --listname=milist --domain=masterpop3.com --password=newpassword

where :

–listname=milist
Change the password only for the named list.  It is okay to give multiple -l options.

–domain=masterpop3.com
Change the password for all lists in the virtual domain `domain.com’.  It is okay to give multiple -d options.

–password=newpassword
Use the supplied plain text password `newpassword’ as the new password for any lists that are being changed (as specified by the -a, -d, and -l options).  If not given, lists will be assigned a randomly generated new password.

~Good luck ~

fail2ban.server : ERROR Unexpected communication error

Monday, July 27th, 2009

Solution for Ubuntu 9.04

#aptitude install python2.5

Change the python version there execute the fail2ban-server script.
#vim /usr/bin/fail2ban-server

Change the first line from:
#!/usr/bin/python
–> to
#!/usr/bin/python2.5

After that restart fail2ban
# /etc/init.d/fail2ban restart

~# tail -f /var/log/fail2ban.log
2009-07-27 15:07:03,144 fail2ban.jail   : INFO   Jail ‘ssh’ stopped
2009-07-27 15:07:03,627 fail2ban.server : INFO   Changed logging target to /var/log/fail2ban.log for Fail2ban v0.8.3
2009-07-27 15:07:03,628 fail2ban.jail   : INFO   Creating new jail ‘ssh’
2009-07-27 15:07:03,628 fail2ban.jail   : INFO   Jail ‘ssh’ uses poller
2009-07-27 15:07:03,651 fail2ban.filter : INFO   Added logfile = /var/log/auth.log
2009-07-27 15:07:03,652 fail2ban.filter : INFO   Set maxRetry = 6
2009-07-27 15:07:03,655 fail2ban.filter : INFO   Set findtime = 600
2009-07-27 15:07:03,656 fail2ban.actions: INFO   Set banTime = 3600
2009-07-27 15:07:03,812 fail2ban.jail   : INFO   Jail ‘ssh’ started

Thanx to dudez at howtoforge.com