You are not logged in.

#1 2012-01-08 09:58:46

Cr0k
Member
Registered: 2009-10-16
Posts: 174

[postfix/dovecot] setup a mailserver

Hi.

I followed this little tutorial (quite old, but seems to be still ok) : http://www.howtoforge.com/arch-linux-ma … nd-dovecot

I did all of it, all my daemons start well, but I don't know what to do; I've to say I didn't understand well when and how I created the accounts, I don't even know if I did it…

Thanks for any help or precision, I'm a bit lost here… :-)

Offline

#2 2012-01-08 10:16:22

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: [postfix/dovecot] setup a mailserver

That setup seems to use system users as email accounts. For example, if you create a 'foo' system user and you've setup your test.tld on your server the foo@test.tld should be working.

Also, I think you can add aliases inside the /etc/postfix/virtual file.


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#3 2012-01-08 10:19:11

Cr0k
Member
Registered: 2009-10-16
Posts: 174

Re: [postfix/dovecot] setup a mailserver

So the passwords will be the users ones?

Offline

#4 2012-01-08 10:22:18

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: [postfix/dovecot] setup a mailserver

Yes, they should be.


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#5 2012-01-08 10:32:01

Cr0k
Member
Registered: 2009-10-16
Posts: 174

Re: [postfix/dovecot] setup a mailserver

I just created an user, gave him a passwd, but when I try to authenticate, got the errors (using sylpheed): IMAP4 authentication failed, and Could not establish IMAP connection…

I don't even see in the tuto if it's an IMAP or a POP server I installed…

Offline

#6 2012-01-08 10:44:36

ViruSzZ
Member
From: The Streets
Registered: 2010-10-14
Posts: 202
Website

Re: [postfix/dovecot] setup a mailserver

Is your dovecot listening for POP/IMAP connections? Something seems is miss-configured on your end. You can use 'netstat -tunlp' to see if dovecot is listening on POP3(s)/IMAP(s)

I had been using postfix and dovecot under arch server for quite some time in the past, but I've migrated to google apps so I'm blindly speaking now.

Last edited by ViruSzZ (2012-01-08 10:45:42)


Their Momma Made Em, Their Momma Gave em & now she can`t even SAVE`em | My WebLog

Offline

#7 2012-01-08 11:49:58

Cr0k
Member
Registered: 2009-10-16
Posts: 174

Re: [postfix/dovecot] setup a mailserver

Well I think so, I added those lines in my dovecot.conf:

service imap-login {
  inet_listener imap {
    address = *
    port = 143
  }
}

Don't know if it's really a solution, but maybe I should read the entire wiki on postfix on wiki.archlinux.org instead of an old tutorial…

Offline

#8 2012-01-13 22:36:25

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 442

Re: [postfix/dovecot] setup a mailserver

Building a mail server could be a delicate task. So, go step by step.

Decide first, if you want to use VIRTUAL or UNIX users.

Make your SMTP installation work. Test it. Then test it again.

If it works, decide, if you need an IMAP/POP server too. Install it, make it work. Test it. Test it again.

I've had some adventures with postfix/courier-imap/cyrus-sasl lately. If you do not work slowly, nothing will work. Really.
And do not be afraid to read other distro's wiki pages too. It could be helpful.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

Board footer

Powered by FluxBB