Nos encontramos jugando con Debian para instalar un servidor de correo, para que me acuerde después como lo hicimos aki los pasos básicos aplicados, todo esto gracias a el apoyo de Max (garaged), pues como estoy en mi etapa de primerizo con linux nomas no logro dar una jejjejej... pero bueno ya le vamos tomando el lado bueno a Debian.
Recordando ke tuvimos problemas con Exim, no se ke chingaos le movi pero no jaló, raro porke en la makina de Max todo bien, asi q se optó por probarle con Postfix y sale todo bien enviamos y recibimos correos sin broncas.
Esta primera fase instalamos Postfix + Courier-imap.
Instalamos postfix y Courier-IMAP con los clasicos apt-get install.
  Para que courier-imap funcione es necesario que el correo de nuestros usuarios se almacene en formato maildir. Así que para cada usuario crearemos un Maildir llamado “Maildir” en su $HOME.
 $ maildirmake Maildir
 beto:/home/abraham# maildirmake Maildir
 beto:/home/abraham# ls -l
 total 4
 drwx------ 5 root root 4096 2006-02-16 12:38 Maildir
 beto:/home/abraham# chown abraham:abraham Maildir/ -R
 beto:/home/abraham# ls -l
 total 4
 drwx------ 5 abraham abraham 4096 2006-02-16 12:38 Maildir
 beto:/home/abraham# cd ..
 beto:/home# ls
 abraham  alberto  atmail  duke12  francisco  hortencia  ivan  jazmin  max  razo  tempo
 beto:/home# cd francisco/
 beto:/home/francisco# chown francisco:francisco Maildir/ -R
 chown: cannot access `Maildir/': No such file or directory
 beto:/home/francisco# maildirmake Maildir
 beto:/home/francisco# chown francisco:francisco Maildir/ -R
 beto:/home/francisco# cd ..
 beto:/home# ls
 abraham  alberto  atmail  duke12  francisco  hortencia  ivan  jazmin  max  razo  tempo
 beto:/home# cd hortencia/
 beto:/home/hortencia# maildirmake Maildir
 beto:/home/hortencia# chown hortencia:hortencia Maildir/ -R
 beto:/home/hortencia# cd ..
 beto:/home# ls
 abraham  alberto  atmail  duke12  francisco  hortencia  ivan  jazmin  max  razo  tempo
 beto:/home# cd ivan/
 beto:/home/ivan# maildirmake Maildir
 beto:/home/ivan# chown ivan:ivan Maildir/ -R
 beto:/home/ivan# cd ..
 beto:/home# ls
 abraham  alberto  atmail  duke12  francisco  hortencia  ivan  jazmin  max  razo  tempo
 beto:/home# cd jazmin/
 beto:/home/jazmin# maildirmake Maildir
 beto:/home/jazmin# chown jazmin:jazmin Maildir/ -R
Configuramos el Maildir para la cuentas de prueba:
beto:/home# ls francisco/Maildir/
 cur  new  tmp
 beto:/home# ls ivan/Maildir/
 cur  new  tmp
 beto:/home# ls hortencia/Maildir/
 cur  new  tmp
 beto:/home# ls jazmin/Maildir/
 cur  new  tmp
 beto:/home# ls max/Maildir/
  cur  new  tmp
 Editamos
 beto:/etc/postfix# vi main.cf      
 
 Y agregamos la sig linea:  
 
 home_mailbox = Maildir/
 
 Reinciamos los servicios:
 
 beto:/etc/postfix# /etc/init.d/postfix stop /start
 beto:/etc/postfix# /etc/init.d/courier-imap stop /start
  Fuimos a ver al Maildir de duke12, probamos en telnet y tomala!!!
  duke12@beto:~$ cd Maildir/
 duke12@beto:~/Maildir$ ls
 cur  new  tmp
 duke12@beto:~/Maildir$ telnet localhost imap
 Trying 127.0.0.1...
 Connected to localhost.localdomain.
 Escape character is '^]'.
 * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.  See COPYING for distribution information.
 a login duke12 betongo
 a OK LOGIN Ok.
 b SELECT "Inbox"
 .* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
 * OK [PERMANENTFLAGS (\* \Draft \Answered \Flagged \Deleted \Seen)] Limited
 * 1 EXISTS
 * 1 RECENT
 * OK [UIDVALIDITY 1139940329] Ok
 * OK [MYRIGHTS "acdilrsw"] ACL
 b OK [READ-WRITE] Ok
Despues un mail duke12    
y lo chekamos en evolution y tomala!!! llego bien el mail.
  LOGS
 beto:/var/log# vi mail.log            
   Otros archivos visitados fueron:
   beto:/home/duke12# vi /etc/mailname
beto:/home/duke12# vi /etc/hostname
beto:/home/duke12# vi /etc/hosts
duke12@beto:/etc/postfix$ vi main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname 
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
  # appending .domain is the MUA's job.
append_dot_mydomain = no
 
               # Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = prueba.beto.com.mx, localhost.localdomain, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
home_mailbox = Maildir/
Enviamos correo a diestra y siniestra:
       beto:/home/duke12# mail duke12
Subject: dsd
dsddsdsd
 ^D
 Cc:
  Despues a probar en Kmail y en Outlook en win xp.
Listo tenemos nuestro servidor local de correo electrónico.........;)