SMTP/Exim debug mode
Description

To test verbose mail-delivery and debugging via the Exim SMTP server in @Mail, you can use the following command:

/usr/local/atmail/mailserver/bin/exim -d -v ‘user@localdomain.com’
^D ( control D )

This will step through each router in Exim, until the message is delivered or bounced.

This command can be useful for debugging, ( to test why a message cannot be delivered, database connection details, exim router reports, aliases and catch-all delivery )

For a more simple version use the command:

# /usr/local/atmail/mailserver/bin/exim -bt ‘username@localdomain.com’

username@localdomain.com
router = spamcheck_router, transport = spamcheck

This will emulate message-delivery and report which router can handle the message. The above message reports the message is accepted within @Mail.

For accounts that do not exist the following is returned:

username@localdomain.com is undeliverable:
Unrouteable address

Asagidaki howto bu adresden alintidir.
tarafimdan bir takim ekler yapilmistir.

1) Create a mysql db via direct admin. I called mine admin_webmail (you should all know how to do this!)

2) Download and unpack the package:

code:

cd /var/www/html

wget http://easynews.dl.sourceforge.net/...20051007.tar.gz

tar xvfz roundcube_webmail_0.1-20051007.tar.gz

EK: bu versyon turkce kullanmaya kalkinca pek cok sorun cikartiyor.
O yuzden SVN versyonunu tercih etmeli
SVN versyonuna su sekilde sahip oluyoruz:

Linux konsolumuzda:

svn checkout https://svn.roundcube.net/trunk

————–


3) Ensure proper permissions of the folders:

code:
chown -R root.root roundcubemail

cd roundcubemail

chown -R apache logs temp

4) Import their SQL file:

code:
cd SQL

//replace the following with the database
username and password you created in step 1

mysql -u admin_webmail -p
Enter Password: *******

Once in, import their SQL file:

code:
use admin_webmail

SOURCE mysql.initial.sql

EK: mysql5 icin farkli bir dosyamiz var

SOURCE mysql5.initial.sql
—-
now the import should be complete.

5) Setup db config variables

code:
cd ../config/

nano db.inc.php


all you have to do here is change the “$rcmail_config[‘db_dsnw’] = ” config information, mine looks like this:

code:
$rcmail_config['db_dsnw'] =
'mysql://admin_webmail:myPasswordHere@localhost/admin_webmail';

the format is: mysql://:

@host/database_namesave that file and close it.

6) Setup the application config:

code:
nano main.inc.php

find this line:

code:
$rcmail_config['enable_caching'] = TRUE;

Replace with:

code:
$rcmail_config['enable_caching'] = FALSE;

next find:

code:
$rcmail_config['default_host'] = '';

replace with:

code:
$rcmail_config['default_host'] = 'localhost';

EK: Turkce destegi icin main.inc.php nin en altina

php tagindan once

$rcmail_config[‘charset’] = ‘ISO-8859-9’;

eklememiz lazim

———

7) *optional* you may want to setup an apache alias, you can overwrite your current webmail one with the following:

Edit httpd.conf:

code:
nano /etc/httpd/conf/httpd.conf

Find this line:

code:
Alias /webmail /var/www/html/webmail/

Replace with:

code:
Alias /webmail /var/www/html/roundcubemail/

then restart apache

code:
/usr/sbin/service httpd restart

You are done!

Login @ http://www.domain.com/webmail/

My Install Guide V4 – Debian 3.1 (VHCS2.4.7.1)

Install Steps Debian 3.1 base install – manual and clean
Follow these instructions exactly with a clean install and you can’t go wrong.

On install of Debian, select no packages to be installed, allow it to connect to the internet and let it download anything
it needs, usually its libs etc. Exim is most likely installed at this point so dont worry it will be removed shortly.

I would at this stage edit your host file to so that it picks up everything during install

vi /etc/hosts and add your server hostname with the IP, example

Code:

192.168.1.1       myhostname.domain.com myhostname

Lets being the install
———————————————————-

1.vi /etc/apt/sources.list (add the following sources, ive had no problems with this mirror)

Code:

deb ftp://ftp.uk.debian.org/debian/ stable main
deb-src ftp://ftp.uk.debian.org/debian/ stable main
deb http://security.debian.org/ stable/updates main

2. apt-get install postfix postfix-tls proftpd-mysql courier-authdaemon courier-base courier-imap courier-maildrop courier-pop libberkeleydb-perl libc-dev libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-passwdmd5-perl libdate-calc-perl libdate-manip-perl libdbd-mysql-perl libdbi-perl libio-stringy-perl libmail-sendmail-perl libmailtools-perl libmd5-perl libmime-perl libnet-dns-perl libnet-netmask-perl libnet-perl libnet-smtp-server-perl libperl5.8 libsnmp-session-perl libterm-readkey-perl libtimedate-perl perl perl-base perl-modules bind9 diff gzip iptables libmcrypt4 mysql-client-4.1 mysql-common-4.1 mysql-server-4.1 patch php4 php4-mcrypt php4-mysql php4-pear procmail libterm-readpassword-perl libsasl2-modules libsasl2 sasl2-bin apache2 apache2-common apache2-mpm-prefork libapache2-mod-php4 gawk libgd1g bzip2 wget make gcc

(when you get to the courier screen screen select no to web directories)
(when you get to the postfix screen select internet site and then type root for mail. If you set debian up correctly on install your domain should be already on screen. Select no to force sync updates.)
(when you get to the proftpd screen, select standalone)

3. mysql -u root (no password at this stage, change it later!)

Code:


create database vhcs2;
use vhcs2; grant all privileges on *.* to 'vhcs2'@'localhost' identified by 'vhcs2' with grant option;
\q (quit program)

4. apt-get remove apache-common (if installed – not needed)

5. wget http://kent.dl.sourceforge.net/sourceforge/vhcs/vhcs2-2.4.7.1.tar.bz2

6. tar -xjvf vhcs2-2.4.7.1.tar.bz2

7. cd vhcs2-2.4.7.1

8. cd configs

9. vi vhcs2.conf (make the changes to match your requirements, dont forget to change database name, username and password, these are what you need to change)

Code:


DEFAULT_ADMIN_ADDRES = your email
SERVER_HOSTNAME = your hostname
BASE_SERVER_IP = your ip
DATABASE_TYPE = mysql
DATABASE_HOST = localhost
DATABASE_NAME = vhcs2
DATABASE_PASSWORD = vhcs2
DATABASE_USER = vhcs

10. cd .. (back to the root of the vhcs2 directory)

11. make install (if command not found run ‘apt-get install make’)

12. cd /tmp/vhcs*

13. cp -R * /

14. cd /var/www/vhcs2/engine/setup

15. ./vhcs2-setup (install script)

Code:


Wlecome to VHCS2 '2.4 Spartacus' Setup Dialog.
This program will set up VHCS2 system on your server.
Please press 'Enter' to continue.
Please enter system hostname (Enter for defaults) [debian]: yourhostname
Please enter system network address (Enter for defaults) [192.168.0.128]: your ipaddress
Please enter SQL server host (Enter for defaults) [localhost]:
Please enter system SQL database (Enter for defaults) [vhcs2]: vhcs2
Please enter system SQL user (Enter for defaults) [root]: vhcs2
Please enter system SQL password (Enter for defaults) [none]: vhcs2
Please repeat system SQL password: vhcs2
Please enter VHCS ftp SQL user (Enter for defaults) [vftp]: vftp
Please enter VHCS ftp SQL user password (Enter for defaults) [none]: vftp
Please repeat VHCS ftp SQL user password: vftp
Please enter administrator login name (Enter for defaults) [admin]:
Please enter administrator password: your password
Please repeat administrator password: your password
Please enter admininistrator email address: your email address

16.

Code:

echo "Include /etc/apache2/sites-available/vhcs2.conf" >> /etc/apache2/httpd.conf


(forgotten in install script)

17. sh /etc/init.d/apache2 restart

18. vi /etc/init.d/courier-authdaemon

(change this line) ${libexecdir}/authlib/authdaemon stop

Code:

killall authdaemond.plain


19. sh /etc/init.d/courier-authdaemon restart

21. vi /etc/resolv.conf (and add to the top)

add this

Code:

nameserver your ip


(this removes errors about virtual hosts when starting apache)

22 Vhcs2 does not start automatically on reboot so we need to add it as a startup script.

First, you must get the startup runlevel by the command “runlevel” in the bash. You’ll get something like N 2, N means there was no previous runlevel, 2 is the actual runlevel.

For those who don’t have an N, you know what you’re doing, simply look in your inittab, then go in the folder /etc/rc2.d (if 2 is your startup runlevel)

Make an ls -al to see how it works, it isn’t hard to understand. At startup everthing from S01xx to S99xx is started in that order.

This should do most people for runlevel 2, replace rc.2 with rc.3 if on runlevel 3

Code:

ln -s /etc/init.d/vhcs2_daemon /etc/rc2.d/S98vhcs

23. (You may need to change permissions on the tools folder)

Code:


chmod -R 766 /var/www/vhcs2/gui/tools


24. Thats about it, your should be ready to go

Original URL of this Document: http://vhcs.net/new/modules/newbb/viewtopic.php?topic_id=6840&forum=2

<font size="-1"><font face="Tahoma">Buda uzaktan yazma denemesi 2 olsun<br /> gmailden attigim mesajin nedense icerigi gozukmedi.<br /> sakin, ogrenicez.</font></font></p> <p><font size="-1"><font face="Tahoma">mail gonderirken plain text gondermeli..<br /> ..<br /> </font></font></p> </div> </article> <article itemscope itemtype="http://schema.org/Article" id="post-3" class="post-3 post type-post status-publish format-standard hentry category-kategerisiz"> <header class="entry-header"> <h2 class="entry-title" itemprop="name"> <a itemprop="url" href="https://www.shukko.com/x3/2007/01/11/merhaba-x3-x3-evo-d/" title="Merhaba X3! – x3 evo – :D için kalıcı bağlantı" rel="bookmark">Merhaba X3! – x3 evo – :D</a> </h2> <div class="entry-meta"><span class=“entry-date”><a href=“https://www.shukko.com/x3/2007/01/11/merhaba-x3-x3-evo-d/” rel=“bookmark”><time class=“entry-date published” datetime=“2007-01-11T23:56:19+02:00” itemprop=“datepublished”>11 Oca 2007</time></a></span, <span class=“author vcard” itemscope itemprop=“author” itemtype=“http://schema.org/Person”><a class=“url fn n” href=“https://www.shukko.com/x3/author/admin/” rel=“author” itemprop=“url”><span itemprop=“name”>shukko</span></a></span><span class="sep">·</span><span class="comments-link"><a href="https://www.shukko.com/x3/2007/01/11/merhaba-x3-x3-evo-d/#respond" itemprop="discussionUrl">0 yorum</a></span></div> </header> <div class="entry-content" itemprop="articleBody"> <p>Merhaba, bugün simplephpblogdan wordpresse geçiş yapmaya karar verdim.</p> <p>Zaten ne zamandır kullanmakta olduğum simplephpblogun /x ne kadarda kullanışsız olduğunu düşünmekteydim. Birden gaza geldim ve ta ta! wordpress oldu canım 😀 . Şimdi eski simplephpblogdan wordpresee eski içeriğimi aktarmaya çalışacağım. Başarılı olurum diye umuyorum. Yoksa orda bi link burda eski link şurda eski ziyaretçi defteri orda eski bilmemne ruhum daralıyor. Derli toplu olsun herşey. Buda herhalde Türkçe karakter kullanarak yazdığım son yazı olacak. Alışkanlıklarım benim efendimdir…</p> <p>Not: bu arada neden /x dide blog değildi veya /x3 düde root dizininde değildi site için diyeceğim x evolusyonlarının ( x-evolotion * kendi kendimi eğlendirdim 😀 ) 3 cüsü bu olucak…</p> <p>ek – güzel bir fullscreen tema bulmam lazım …</p> </div> </article> <article itemscope itemtype="http://schema.org/Article" id="post-7" class="post-7 post type-post status-publish format-standard hentry category-kategerisiz"> <header class="entry-header"> <h2 class="entry-title" itemprop="name"> <a itemprop="url" href="https://www.shukko.com/x3/2007/01/02/server-to-handle-700-users-online/" title="Server to handle 700 users online :) için kalıcı bağlantı" rel="bookmark">Server to handle 700 users online :)</a> </h2> <div class="entry-meta"><span class=“entry-date”><a href=“https://www.shukko.com/x3/2007/01/02/server-to-handle-700-users-online/” rel=“bookmark”><time class=“entry-date published” datetime=“2007-01-02T03:46:59+02:00” itemprop=“datepublished”>02 Oca 2007</time></a></span, <span class=“author vcard” itemscope itemprop=“author” itemtype=“http://schema.org/Person”><a class=“url fn n” href=“https://www.shukko.com/x3/author/admin/” rel=“author” itemprop=“url”><span itemprop=“name”>shukko</span></a></span><span class="sep">·</span><span class="comments-link"><a href="https://www.shukko.com/x3/2007/01/02/server-to-handle-700-users-online/#respond" itemprop="discussionUrl">0 yorum</a></span></div> </header> <div class="entry-content" itemprop="articleBody"> <p>Server to Handle 700 Users Online on a single phpBB forum. Thats the only thing on the server will be hosted with a default phpBB install.</p> <p>—–<br /> ANSWER<br /> —–<br /> Get a dual processor or dual core server with fast disks and 2GB RAM would be a plus. Don’t bother with a control panel and look into going 64 bit if possible. Install lighttpd – <a href="http://lighttpd.net">http://lighttpd.net</a> with FastCGI & PHP.</p> <p>Compile xcache into PHP</p> <p><a href="http://trac.lighttpd.net/xcache/">http://trac.lighttpd.net/xcache/</a></p> <p>It works well with lighttpd & fastcgi and is comparable to eAccelerator, APC, etc.</p> <p>Run MySQL 5 with a tuned configuration.</p> <p>Use tuning-primer to assist with tuning your my.cnf;</p> <p><a href="http://forge.mysql.com/projects/view.php?id=44">http://forge.mysql.com/projects/view.php?id=44</a></p> <p>🙂</p> </div> </article> <article itemscope itemtype="http://schema.org/Article" id="post-8" class="post-8 post type-post status-publish format-standard hentry category-linux"> <header class="entry-header"> <h2 class="entry-title" itemprop="name"> <a itemprop="url" href="https://www.shukko.com/x3/2007/01/01/source-rpmden-rpm-paketi-build-edelimmi/" title="source rpmden rpm paketi build edelimmi? için kalıcı bağlantı" rel="bookmark">source rpmden rpm paketi build edelimmi?</a> </h2> <div class="entry-meta"><span class=“entry-date”><a href=“https://www.shukko.com/x3/2007/01/01/source-rpmden-rpm-paketi-build-edelimmi/” rel=“bookmark”><time class=“entry-date published” datetime=“2007-01-01T04:01:24+02:00” itemprop=“datepublished”>01 Oca 2007</time></a></span, <span class=“author vcard” itemscope itemprop=“author” itemtype=“http://schema.org/Person”><a class=“url fn n” href=“https://www.shukko.com/x3/author/admin/” rel=“author” itemprop=“url”><span itemprop=“name”>shukko</span></a></span><span class="sep">·</span><span class="comments-link"><a href="https://www.shukko.com/x3/2007/01/01/source-rpmden-rpm-paketi-build-edelimmi/#respond" itemprop="discussionUrl">0 yorum</a></span></div> </header> <div class="entry-content" itemprop="articleBody"> <p>wget <a href="http://senin.source/source.rpm">http://senin.source/source.rpm</a></p> <p>rpm -ivh source.rpm</p> <p>cd /usr/src/redhat/SPECS</p> <p>rpmbuild -bb sourcedosyan.spec</p> <p>cd /usr/src/redhat/RPMS/i386</p> <p>rpm –force -i sourcedosyan.i386.rpm</p> </div> </article> <article itemscope itemtype="http://schema.org/Article" id="post-9" class="post-9 post type-post status-publish format-standard hentry category-kategerisiz"> <header class="entry-header"> <h2 class="entry-title" itemprop="name"> <a itemprop="url" href="https://www.shukko.com/x3/2006/11/20/tek-goz/" title="Tek Göz için kalıcı bağlantı" rel="bookmark">Tek Göz</a> </h2> <div class="entry-meta"><span class=“entry-date”><a href=“https://www.shukko.com/x3/2006/11/20/tek-goz/” rel=“bookmark”><time class=“entry-date published” datetime=“2006-11-20T10:41:14+02:00” itemprop=“datepublished”>20 Kas 2006</time></a></span, <span class=“author vcard” itemscope itemprop=“author” itemtype=“http://schema.org/Person”><a class=“url fn n” href=“https://www.shukko.com/x3/author/admin/” rel=“author” itemprop=“url”><span itemprop=“name”>shukko</span></a></span><span class="sep">·</span><span class="comments-link"><a href="https://www.shukko.com/x3/2006/11/20/tek-goz/#respond" itemprop="discussionUrl">0 yorum</a></span></div> </header> <div class="entry-content" itemprop="articleBody"> <p><img decoding="async" title="tek goz" id="image49" alt="tek goz" src="https://www.shukko.com/x3/wp-content/uploads/2007/01/pp20_optimize.jpg" /><br /> [09:31:06] ~shukko )) ne de guzel gozun var<br /> [09:31:11] ~shukko )) dedi tekgoz e<br /> [09:31:17] ~shukko )) yasli gezgin<br /> [09:31:22] ~shukko )) arkasinda sakladi<br /> [09:31:28] ~shukko )) ucu kivrik hancerini<br /> [09:31:31] ~shukko )) o hancerki<br /> [09:31:41] ~shukko )) bagdatta hilmi ustanin elinden ciktiktan beri<br /> [09:31:45] ~shukko )) yasli gezginle beraber<br /> [09:31:48] ~shukko )) diyar diyar gezmis<br /> [09:31:52] ~shukko )) nice canavarlarin<br /> [09:31:57] ~shukko )) nice kendini bilmezlerin<br /> [09:31:59] ~shukko )) nice capulcu<br /> [09:32:05] ~shukko )) haydut ve benzerinin<br /> [09:32:11] ~shukko )) kaninin tadina baki baki vermisti<br /> [09:32:49] ~shukko )) tekgoz titredi<br /> [09:32:56] ~shukko )) cani cikarken gozunden<br /> [09:33:01] ~shukko )) sizan kanlar<br /> [09:33:05] ~shukko )) kirmizi kanlar boyadi<br /> [09:33:12] ~shukko )) samandan yatagini<br /> [09:33:17] ~shukko )) ahlamak ah<br /> [09:33:19] ~shukko )) ne yersiz<br /> [09:33:23] ~shukko )) giden gozun</p> </div> </article> <article itemscope itemtype="http://schema.org/Article" id="post-10" class="post-10 post type-post status-publish format-standard hentry category-linux"> <header class="entry-header"> <h2 class="entry-title" itemprop="name"> <a itemprop="url" href="https://www.shukko.com/x3/2006/10/14/bu-bir-rekor/" title="BU BIR REKOR! için kalıcı bağlantı" rel="bookmark">BU BIR REKOR!</a> </h2> <div class="entry-meta"><span class=“entry-date”><a href=“https://www.shukko.com/x3/2006/10/14/bu-bir-rekor/” rel=“bookmark”><time class=“entry-date published” datetime=“2006-10-14T17:03:38+02:00” itemprop=“datepublished”>14 Eki 2006</time></a></span, <span class=“author vcard” itemscope itemprop=“author” itemtype=“http://schema.org/Person”><a class=“url fn n” href=“https://www.shukko.com/x3/author/admin/” rel=“author” itemprop=“url”><span itemprop=“name”>shukko</span></a></span><span class="sep">·</span><span class="comments-link"><a href="https://www.shukko.com/x3/2006/10/14/bu-bir-rekor/#respond" itemprop="discussionUrl">0 yorum</a></span></div> </header> <div class="entry-content" itemprop="articleBody"> <p>BU HEPSINI ASTI GITTI UCTU BITTI GITTI 🙂</p> <p><code /></p> <p>[root@xxxxxx ~]# w<br /> 17:59:48 up 39 days, 22:34, 2 users, load average: 776.45, 774.29, 778.61<br /> USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT<br /> root pts/0 85.xx.181.xx 17:59 15.00s 0.17s 0.15s w</p> </div> </article> <nav class="navigation pagination" aria-label="Posts pagination"> <h2 class="screen-reader-text">Posts pagination</h2> <div class="nav-links"><a class="prev page-numbers" href="https://www.shukko.com/x3/author/admin/page/45/"><i class="fa fa-chevron-left"></i></a> <a class="page-numbers" href="https://www.shukko.com/x3/author/admin/">1</a> <span class="page-numbers dots">…</span> <a class="page-numbers" href="https://www.shukko.com/x3/author/admin/page/45/">45</a> <span aria-current="page" class="page-numbers current">46</span> <a class="page-numbers" href="https://www.shukko.com/x3/author/admin/page/47/">47</a> <span class="page-numbers dots">…</span> <a class="page-numbers" href="https://www.shukko.com/x3/author/admin/page/50/">50</a> <a class="next page-numbers" href="https://www.shukko.com/x3/author/admin/page/47/"><i class=“fa fa-chevron-right”></i></a></div> </nav> </div> <footer class="site-info" itemscope itemtype="http://schema.org/WPFooter"> <a href="http://wordpress.org/" title="Anlamlı kişisel yayınlama platformu">WordPress gururla sunar</a>. Tema: Flat 1.7.11, <a rel="nofollow" href="https://themeisle.com/themes/flat/" title="Flat WordPress Theme">Themeisle</a>. </footer> </div> </div> </div> </div> </body> </html>