Компьютерный форум
Правила
Вернуться   Компьютерный форум > Форум программистов > Программирование под *nix > Общие вопросы программирования
Перезагрузить страницу Simplemail (Analogue Postfixadmin) как исправить ошибки
Ответ
 
Опции темы Опции просмотра
  (#1 (permalink)) Старый
ProFTP ProFTP вне форума
Новичок
 
Сообщений: 1
Сказал(а) спасибо: 0
Поблагодарили 0 раз(а) в 0 сообщениях
Регистрация: 29.12.2010
По умолчанию Simplemail (Analogue Postfixadmin) как исправить ошибки - 29.12.2010, 09:39

========
========

5.12.2009

patch with SQLite did someone... simplemailadmin - Project Hosting on Google Code
corrections: document, etc

========
========
* [size=15pt] Simple Mail Admin[/size]

About:
Simplemail Admin facilitates management of virtual domains in Exim, Postfix, and other mail servers. It allows the user to analyze and search in logs.

(analogue postfixadmin)

(Управление виртуальными доменами postfix/exim/etc)

Download:

ftp://ftp.lissyara.su/users/ProFTP/s...min-1.0.tar.gz
ftp://ftp.lissyara.su/users/ProFTP/s...ladmin-1.0.zip
ftp://ftp.lissyara.su/users/ProFTP/s...iladmin-1.0.7z



demo:
Simplemail


Код:
* * useradmin: Admin
* * pass: Jeinahm7
Код:
* * user: postfix
* * pass Ub6oyig7f

advantages:
1) for the page conclusion of information
2) possibility addition a few domains to the users
3) Ravines in real time (search to on by him /var/log/maillog)
4) extended mode of management users
5) HTML a code goes separately from scripts
6) objective the oriented programming, more flexible possibility of integration and use

failings:
1) it is not vacation (it will be)
2) It is not Fetchmail
...........


* *Postfix / exim / etc,
* *Apache 1.3.27 / etc,
* *Perl (tested 5.8.8),
* *MySQL, SQLite, etc (tested MySQL 5.0.67)
* * *
* * Modules from perl:

Код:
* *use HTML::Template;
* *use Data::Validate::Domain;
* *use Data::Validate::Email;
* *use DBI;
* *use DBD::MySQL;
* *IO::Socket;
* *use File::Pid;
* *etc
* *

* *FreeBSD:
Код:
* *cd /usr/ports/databases/p5-DBD-mysql50/ && make && make install clean
* * * (or /usr/ports/databases/p5-DBD-mysql51/)
* * * * *(or *)
* * * * *
* *cd /usr/ports/www/p5-HTML-Template && make && make install clean
* *
* *cd /usr/ports/dns/p5-Data-Validate-Domain && make && make install clean
* *
* *cd /usr/ports/mail/p5-Data-Validate-Email && make && make install clean

* *cd /usr/ports/devel/p5-File-Pid && make && make install clean
* *
* * etc* * * * *
* * * * * * * * *


* *It is needed to influence postfix/exim for work with virtual domains,
* *tuning practically identical as in postfixadmin

* *http://high5.net/howto/
* *www.sys-adm.org.ua - Настройка почтовой системы Postfix+Courier-IMAP+Cyrus-sasl2 на FreeBSD
* *Установка и настройка почтовых систем под FreeBSD
* *http://google.com* *

* Patch md5crypt cyrus-sasl:
* cyrus-sasl-2.1.22_md5patch_dist.rar: UNIX FORUM - Index


* Simple tuning apache:
*
Код:
* AddHandler cgi-script .cgi .pl
* DirectoryIndex index.pl
* <Directory /usr/local/www/simplemail>
* * Options Indexes FollowSymLinks ExecCGI
* </Directory>
* *(configuration can will differ)
* 1. Extract files

Код:
* *tar -zxvf simplemailadmin-0.1.tgz
*
* 2. We look and place rights for access if not correctly proposed

Код:
* $ cd /usr/local/www/simplemail
Код:
* $ chmod 640 *.pl *.ht*
Код:
* $ cd /usr/local/www/simplemail/scripts/
Код:
* $ chmod 640 *.pl .ht*
Код:
* $ cd /usr/local/www/simplemail/lib/
Код:
* $ chmod 640 *.pl .ht* *.pm
Код:
* $ cd /usr/local/www/simplemail/templates/
Код:
* $ chmod 640 *.css *.html
Код:
* $ cd /usr/local/www/simplemail/templates/images
Код:
* $ chmod 640 *.gif *.png
Код:
* $ cd /usr/local/www/simplemail
*
Код:
* $ chmod 750 index.pl
Код:
* $ chown www:www index.pl
*
* (or Suexes user which works)

Код:
* $ cd /usr/local/www/simplemail/scripts
Код:
* $ chmod 700 maillog.pl
Код:
* $ chown root:wheel maillog.pl
* 3. Creation of base and user

* *through phpmysql or in :

Код:
* $ mysql -u root -p
Код:
* > use mysql
* > CREATE DATABASE IF NOT EXISTS mail_db;
* > GRANT ALL PRIVILEGES on mail_db.* to mail@localhost IDENTIFIED BY 'pass_mail_mysql';
*

* 4. Configuration and placing of ways
* *
*
* (if way not /usr/local/www/simplemail/lib/config.pl
* *it is needed to specify
Код:
* $ ee maillog.pl
Код:
* require "/home/...../simplemail/lib/config.pl";
* *)
*
* *look /lib/config.pl for configuring
* *enter information of MySQL, etc
* * *
* 5. Install table, users
*
Код:
* # chmod 750 install.pl
Код:
* $./install.pl passwd_admin
* argument of passwd_admin the real password which will be used Admin,

* farther we pass on http://mydomain.tld/,
* *
* if will not begin to work look that not so
*
* *NOTE: in the table of users necessarily there must be two lines with Guest and Admin,
* they must be created after the script of install.pl
*
* 6. Crontab

Код:
* * */2 ** *** *** *** root* /usr/local/www/simplemail/scripts/maillog.pl
* *
* *(If you start first time and if a log file (/var/log/maillog) is very large,
* *it is recommended to start with began with the cantilever of maillog.pl then to add in crontab)
*
* 7. If will not begin to work ask, all other questions,
* *development of existent and additional possibilities, etc:
*

* Simplemail admin (analogue postfixadmin)
Просмотр блога пользователя ProFTP, тема: Simplemail Admin (analogue postfixadmin)

=============================================
=============================================



config.pl


Код:
use CGI::Carp qw(fatalsToBrowser);

%{$se} = (

* * # DB
* * 'db_name' => 'db',

* * # user from db
* * 'db_user' => '',
* * 'db_pass' => '',
* * 'db_type' => 'mysql',
* * 'db_host' => 'localhost',

* * # Way to the templates, by default primary way,
* * # if you will change a way to to by templates, write a complete way
* * # or* * *'dirt' => 'template/',

* * 'dirt' => '../template/',

* * # url
* * # 'url' => 'http://domain.ltd',

* * # Maildir
* * 'maildir' => '/var/spool/mail/',

* * #maillog file
* * 'maillog' => '/var/log/maillog',

* * # User from which works transport of mta
* * 'transport_user' => 'virtual',

* * # How many to destroy lines on a page
* * 'line_from_page' => '30',* * # 1, or 1000++

# Time of life of cookies for an administrator and user.
# For an administrator with the purpose of safety of cookies not active, you can change
#* * * * +30s* * * * * * * * * * * * * * * 30 seconds from now
#* * * * +10m* * * * * * * * * * * * * * * ten minutes from now
#* * * * +1h* * * * * * * * * * * * * * * *one hour from now
#* * * * -1d* * * * * * * * * * * * * * * *yesterday (i.e. "ASAP!")
#* * * * now* * * * * * * * * * * * * * * *immediately
#* * * * +3M* * * * * * * * * * * * * * * *in three months
#* * * * +10y* * * * * * * * * * * * * * * in ten years time
#* * * * Thursday, 25-Apr-1999 00:40:33 GMT* at the indicated time & date

* * 'time_cookie_admin' => '',* * * * # +14d - 14 day, '' - Disable
* * 'time_cookie_users' => '+14d',* * # +14d - 14 day, '' - Disable

* * # To include viewing of statistics of dens
* * 'active_logsm' => '1',* * * * * * # 1 - Enable, 0 - Disable

# A number of dens is in a table, old records on expiration of time will be remote
* * 'time_which_active_logsm' => '604800',* * # sec (7 day)

* * # to look over the ravines of postal server
* * 'active_logmta' => '1',* * * * * * * * * *# 1 - Enable, 0 - Disable

* * #Number of lines in a table, which are written down with file ravine.
* * #For the loaded servers can plenty of lines.
* * 'time_which_active_logmta' => '23000',* * # max line online

* * #type of storage of passwords.
* * # '0' - clean text
* * # 'md5crypt'* - md5crypt
* * 'type_passwd' => 'md5crypt',* * * * * * * # 'md5crypt' or '0'

* * # The maximal is long password (6-9 is recommended)
* * 'max_long_passwd' => '3',* * * * * * * * *# '2', '10' ...

* * #maximal number of the entered not correct passwords
* * 'max_error_login' => '5',

* * # time in the flow of which is blocked input of password
* * 'max_error_login_time' => '1800',* * * * *# max time bad passwd 30min

* * #cashing of templates, for a fast-acting
* * 'blind_cache' => '1',* * * * * * * * * * *# 1 - Enable, 0 - Disable

* * # smtp_server
* * 'smtp_server' => 'localhost',* * * * * * *# (recommended 'localhost')

* * # mailbox which official reports leave from (Can absent '')
* * 'mail_from' => '',* *# '' - no email from, exemple: 'no_repley@mydomain.com'

* * 'text_new_mailbox' => 'Welcome to your new account'
);

#unless (defined($se->{'url'})) { $se->{'url'} ='http://'.$ENV{'SERVER_NAME'}.'/index.pl';}

1;
================================================== ========
================================================== ========

screenshots:

ftp://ftp.lissyara.su/upload/admindomail.jpeg

ftp://ftp.lissyara.su/upload/createadmin.jpeg

ftp://ftp.lissyara.su/upload/entrance.jpeg

ftp://ftp.lissyara.su/upload/listlogmta.jpeg

ftp://ftp.lissyara.su/users/ProFTP
Ответить с цитированием
Ads
Ответ

Опции темы
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Trackbacks are Вкл.
Pingbacks are Вкл.
Refbacks are Выкл.


Похожие темы
Тема Автор Раздел Ответов Последнее сообщение
как исправить ошибки? SADIST C++ Builder 11 04.10.2011 16:47
Как исправить ошибки в коде Lisska C++ Builder 1 08.06.2011 17:07
Как исправить баг ошибки schanker2 Вопросы начинающих программистов 9 18.11.2009 11:52
Как исправить ошибки с памятью? виктор67 Любые вопросы от новичков 5 23.02.2009 01:51
Сабклассинг как исправить ошибки NicroMan WinAPI 5 14.04.2008 00:57
C# Lan как исправить ошибки System.Mega Сетевое программирование 0 03.04.2006 02:30
Как исправить USB ошибки kelz Железо. Написание драйверов 3 16.03.2006 09:57
Как исправить ошибки Gandalf MSSQL Server 1 14.03.2005 17:36
как исправить ошибки gethostbyname newbie C++ на Unix 12 21.07.2004 14:55
WinAPI vs MFC как исправить ошибки Vladimir v2.0 WinAPI 16 20.05.2004 02:56
Как исправить ошибки sky13cyb Anonymous WinAPI 5 23.09.2003 13:54
Как исправить ошибки в BDE An_Life MSSQL Server 1 07.03.2003 10:40



Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Нardforum.ru - компьютерный форум и программирование, форум программистов