{"id":45,"date":"2009-09-19T01:56:34","date_gmt":"2009-09-18T22:56:34","guid":{"rendered":"http:\/\/www.umutbesler.com\/?page_id=45"},"modified":"2009-09-19T02:13:42","modified_gmt":"2009-09-18T23:13:42","slug":"postfix-mail-server-kurulum-dokumani-postfixmysql-courier-imap-smtp-auth","status":"publish","type":"page","link":"http:\/\/www.umutbesler.com\/dokumanlar\/postfix-mail-server-kurulum-dokumani-postfixmysql-courier-imap-smtp-auth\/","title":{"rendered":"Postfix Mail Server Kurulum Dokumani (Postfix+Mysql +Courier Imap+ SMTP Auth)"},"content":{"rendered":"
Postfix Mail Server Kurulum Dokumani (Postfix+Mysql +Courier Imap+ SMTP Auth)<\/strong> Bu dokuman Postfix mail server uzerinde virtual domain olusturarak mail hizmeti vermeyi aciklayacaktir. Oncelikle belirtmeliyimki bu program paketini kurmaya karar verdiyseniz biraz sabirli olmalisiniz. Cunku kurulum sirasinda veya kurulum sonrasi nerden kaynaklandigini bilmediginiz hatalar cikabiliyor ve bunlar ile biraz ugrasmaniz gerekebiliyor. Ben kendi yasadigim sorunlar kapsaminda bu dokumani yazarak minimum duzeyde sorun yasmanizi saglamaya calisacagim.<\/p>\n Oncelikle kurulmasi gereken paketler:<\/p>\n Mysql Mysql :<\/strong> Domain bilgilerimizi mysql database\u2019inde tutacagiz. Bunun avantaji kullanicilarin database\u2019den direk eklenip silinebilmesidir. Boylece sistem icin web arayuzude yazilmasi kolaylasacaktir.<\/p>\n Postfix :<\/strong> Mail server olarak postfix kullanacagiz. MySql : mysql> describe transport; mysql> describe virtual; mysql> describe users;
\nHazirlayan :<\/strong> Umut Besler
\n28.01.2003<\/p>\n
\nAyn\u0131 sistemi Debian \u00fczerinde \u00e7al\u0131\u015ft\u0131rmak i\u00e7in\u00a0Postfix Debian<\/a> d\u00f6k\u00fcman\u0131mdan faydalanabilirsiniz.<\/p>\n
\nPostfix 1.1.12 (daha ust versiyonlardada ayni sekilde calisacaktir)
\nCourier Imap
\nCyrus-sasl
\nPam<\/p>\n
\nCourier Imap :<\/strong> Imap ve pop3 server olarak kullanacagiz.
\nCyrus Sasl :<\/strong> SMTP Auth yapilabilmesi icin gerekli program.
\nPam :<\/strong> SMTP Auth yapilirken cyrus-sasl programinin mysql\u2019den verileri okumasi icin gerekli program.<\/p>\n
\n<\/strong>Mysql database yapimiz asagidaki gibi olacak:
\n
\nmysql> show tables;
\n+------------------+
\n| Tables_in_maildb |
\n+------------------+
\n| transport\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0|
\n| users\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0\u00a0|
\n| virtual\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \u00a0|
\n+------------------+
\n3 rows in set (0.00 sec)<\/p>\n
\n+-----------+--------------+------+-----+---------+-------+
\n| Field\u00a0\u00a0\u00a0\u00a0 | Type\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 | Null | Key | Default | Extra |
\n+-----------+--------------+------+-----+---------+-------+
\n| domain\u00a0\u00a0\u00a0 | varchar(128) |\u00a0\u00a0\u00a0\u00a0\u00a0 | PRI |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 |
\n| transport | varchar(128) |\u00a0\u00a0\u00a0\u00a0\u00a0 | MUL |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 |
\n+-----------+--------------+------+-----+---------+-------+
\n2 rows in set (0.00 sec)<\/p>\n
\n+---------+--------------+------+-----+---------+-------+
\n| Field\u00a0\u00a0\u00a0| Type\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0| Null | Key | Default | Extra |
\n+---------+--------------+------+-----+---------+-------+
\n| address | varchar(255) |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0| PRI |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| goto\u00a0\u00a0\u00a0\u00a0| varchar(255) |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n+---------+--------------+------+-----+---------+-------+
\n2 rows in set (0.01 sec)<\/p>\n
\n+---------+----------------------+------+-----+---------+-------+
\n| Field\u00a0\u00a0\u00a0| Type\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0| Null | Key | Default | Extra |
\n+---------+----------------------+------+-----+---------+-------+
\n| id\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0| varchar(128)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0| PRI |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| address | varchar(128)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0| UNI |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| crypt\u00a0\u00a0\u00a0| varchar(128)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| clear\u00a0\u00a0\u00a0| varchar(128)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| name\u00a0\u00a0\u00a0\u00a0| varchar(128)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| uid\u00a0\u00a0\u00a0\u00a0\u00a0| smallint(5) unsigned |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0| 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| gid\u00a0\u00a0\u00a0\u00a0\u00a0| smallint(5) unsigned |\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0| 0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| home\u00a0\u00a0\u00a0\u00a0| varchar(128)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0| \/\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| domain\u00a0\u00a0| varchar(128)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| maildir | varchar(255)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| imapok\u00a0\u00a0| tinyint(3) unsigned\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0| 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| bool1\u00a0\u00a0\u00a0| tinyint(3) unsigned\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0| 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n| bool2\u00a0\u00a0\u00a0| tinyint(3) unsigned\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0| 1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0|
\n+---------+----------------------+------+-----+---------+-------+
\n13 rows in set (0.01 sec)
\n<\/code>
\nTransport taki alanlarin aciklamalari:<\/strong><\/p>\n