PDA

View Full Version : Not sure how to proceed with mail server...


supr
21st October 2006, 14:03
I followed the directions posted here:
http://www.projektfarm.com/en/support/howto/perfect_setup_debian_sarge/

I can telnet to localhost port 25 without any problems, so everything should be working ok.

The problem is... I don't know how to create a mail server like mail.domain.com. Then I'd like to create an address like info@domain.com and.. you know the drill.

I'd like to do this manually (without ISPconfig or any other scripts). Any pointers, links to tutorials?

Everything I've come across so far is done with ISPconfig... :\

falko
22nd October 2006, 16:59
Have a look here: http://www.howtoforge.com/forums/showthread.php?t=2

supr
22nd October 2006, 18:49
Thanks!

I tried this, but when testing my settings in Outlook, the mail.domain.com refuses my username.

Any idea why?

supr
22nd October 2006, 19:25
I fixed the "User Name was rejected" and now I can send e-mails, but I can't receive them.

When I send the email to my.name@domain.com, a new file is created in /home/my.name/Maildir/new, but when I check the e-mail in Outlook... the e-mail doesn't download. As if I didn't send it at all.

Any advice?

till
23rd October 2006, 11:50
Which pop3 / imap daemon do you have installed? You will have to install a maildir capacle pop3 / imap like courier or dovecot.

supr
23rd October 2006, 12:02
I'm using pop3d, which is already installed on Debian.

till
23rd October 2006, 12:04
Please install courier as described in the perfect setup.

Courier-IMAP/Courier-POP3

If you want to use a POP3/IMAP daemon that has Maildir support (if you do not want to use the traditional Unix mailbox format) you can install Courier-IMAP/Courier-IMAP-SSL (for IMAPs on port 993) and Courier-POP3/Courier-POP3-SSL (for POP3s on port 995). Otherwise you can proceed with the Apache configuration.

apt-get install courier-imap courier-imap-ssl courier-pop courier-pop-ssl

<- No

ipopd and UW-IMAP will then be replaced.

Then configure Postfix to deliver emails to a user's Maildir*:

postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
/etc/init.d/postfix restart

*Please note: You do not have to do this if you intend to use ISPConfig on your system as ISPConfig does the necessary configuration using procmail recipes. But please go sure to enable Maildir under Management -> Settings -> EMail in the ISPConfig web interface.

supr
23rd October 2006, 12:11
You are absolutely right, I should read the document more carefully [:

It works like a charm now, thanks!