Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Dovecot Postfix and Horde howto??
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RobinVossen
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2007
Posts: 132

PostPosted: Fri Jan 18, 2008 12:24 pm    Post subject: Dovecot Postfix and Horde howto?? Reply with quote

After Struggling with Sendmail for Quite a while Dilbert told me to use Postfix (THANKS :))
Anyhow, I am having problems with it now..

Well I followed the wiki : http://gentoo-wiki.com/HOWTO_Mail_Hosting_with_Postfix_and_Dovecot#Setup_Postfix
So thats my Config I did change the Numbers right and well I cant email.
Here is my logfile.
Code:

   1.
      dovecot: Jan 17 21:12:32 Info: Dovecot v1.0.5 starting up
   2.
      dovecot: Jan 17 21:12:33 Info: auth-worker(default): mysql: Connected to localhost (postfix)
   3.
      dovecot: Jan 17 21:12:33 Info: auth-worker(default): mysql: Connected to localhost (postfix)
   4.
      dovecot: Jan 18 17:26:22 Warning: Killed with signal 15
   5.
      dovecot: Jan 18 17:28:14 Info: Dovecot v1.0.5 starting up
   6.
      dovecot: Jan 18 17:28:15 Info: auth-worker(default): mysql: Connected to localhost (postfix)
   7.
      dovecot: Jan 18 17:28:15 Info: auth-worker(default): mysql: Connected to localhost (postfix)
   8.
      dovecot: Jan 18 17:31:18 Warning: Killed with signal 15
   9.
      dovecot: Jan 18 17:35:33 Info: Dovecot v1.0.5 starting up
  10.
      dovecot: Jan 18 17:35:33 Info: auth-worker(default): mysql: Connected to localhost (postfix)
  11.
      dovecot: Jan 18 17:35:33 Info: auth-worker(default): mysql: Connected to localhost (postfix)
  12.
      dovecot: Jan 18 17:41:02 Warning: Killed with signal 15
  13.
      dovecot: Jan 18 17:44:34 Info: Dovecot v1.0.5 starting up
  14.
      dovecot: Jan 18 17:44:35 Info: auth-worker(default): mysql: Connected to localhost (postfix)
  15.
      dovecot: Jan 18 17:44:35 Info: auth-worker(default): mysql: Connected to localhost (postfix)


But I think I did something REALLY stupid somewere.
So well does somebody know this error?

(I know this Question is next from, HELP I AM STUCK without giving extra info but I dont know what to give so)


Cheers,
Robin

ps.
Is it posbile I cant login since the default setup there uses PLAIN and I have in my database a Encrypted one Password Hash?
_________________
Server Unplugged!
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3525

PostPosted: Fri Jan 18, 2008 1:53 pm    Post subject: Reply with quote

Just an observation...

That looks like 6 non-trivial packages that are all supposed to work together, with certificates thrown in. IMHO, the chances of throwing all of that in the air, starting the whole mess up, and having it work are just about nil.

I would suggest dropping back a bit and get things running one or two at a time. On my home server I run Postfix and Dovecot, without the rest of the stuff. Even those two are semi-independent. If you can just get Postfix sending and delivering mail, that's a start. Then bring up Dovecot and see if it will serve IMAP out of the local mail spool, etc. From that basic functionality, then I'd start adding other pieces, one at a time. My next choice would probably be the MySQL virtual stuff, or the certificate stuff - pick ONE. Then do the other.

Get things working, add functionality, get that working, repeat.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
RobinVossen
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2007
Posts: 132

PostPosted: Mon Jan 21, 2008 7:45 am    Post subject: Reply with quote

Well, you have a point.
but the problem is I am leaving this place after a week.
And well lets say I have 3 work days left so lets say about 25 Hours.
And the system still needs a MailServer. And it needs to be accessible by:
- a User Friendly GUI -> Horde.
- People need to be able to use IMAP/POP3 -> Dovecot
- Be a eMail Server -> Postfix
- This all has to work together -> MySQL to store the information since they all allow that.
- Secure Email (SMTP over SSH/TLS) Certificates generated by OpenSSL supported by Postfix and Dovecot.

I know its easier to set one thing up. make it work and then connect the next thin and make that work.
Then assemble that all slowly.
But I just don't have the time.
So any other ideas?


Cheers,
Robin


ps. Or Ill just pass it on to the next guy ;)
_________________
Server Unplugged!
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 3525

PostPosted: Mon Jan 21, 2008 1:12 pm    Post subject: Reply with quote

RobinVossen wrote:
Well, you have a point.
but the problem is I am leaving this place after a week.
And well lets say I have 3 work days left so lets say about 25 Hours.
...
<snip>
...
ps. Or Ill just pass it on to the next guy ;)


Pass it on to the next guy. Seriously.

The last thing to do is make a change just before you leave, be it for the weekend, vacation or forever. It just never works, things always need a few days to settle out. Besides, whoever sets it up, the next guy is going to own it. If you had something up and running smoothly that would be one thing, but to inherit a brand-new never shaken down system is something different entirely. He'd probably be better off setting the whole thing up himself, in that case.

I'm still not sure about 2 things...
1: Why is a GUI needed to administer an email system? To be honest, I don't know anything about Horde - that's what I surmise it does. Had I had to have a GUI administration, I might have chosen the more common Webmin, though I guess the HowTo specified Horde.
2: I take it the users don't have an account (even a nologin account) on the server, so you're having to make them virtual? Otherwise, other than than following the HowTo, why add the complexity of MySQL?
3: (Bonus) I agree you need certificates, but as I said with the whole thing, throwing it all up in the air and expecting it to come down working is a whole lot to ask.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
RobinVossen
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2007
Posts: 132

PostPosted: Mon Jan 21, 2008 3:54 pm    Post subject: Reply with quote

Here are my Answers on your 1,2,3 at the end of your post :)
1: Horde is for the users. See it as a FrontEnd Mailsystem
2: I have implanted MySQL today :) so that works
3: And well trowing everything in the air really is a pain indeed.
4: I was going to pass it on to the next guy. But I heard today I was going to be the next guy (if i wanted to on Trippel Pay ^^)
_________________
Server Unplugged!
Back to top
View user's profile Send private message
elgato319
Guru
Guru


Joined: 15 Sep 2005
Posts: 546

PostPosted: Tue Jan 22, 2008 8:51 am    Post subject: Reply with quote

so what is working up to now?

TLS should be pretty easy.

Generate the cert
Code:

openssl req -new -x509 -nodes -out postfix.crt -keyout postfix.key
openssl x509 -x509toreq -signkey postfix.key -in postfix.crt


than get it signed, eg. http://www.cacert.org/ or use a self signed certificate.

to use it in postfix add to main.cf

Code:

smtpd_use_tls = yes
smtpd_tls_auth_only = no
smtpd_tls_key_file = /etc/postfix/postfix.key
smtpd_tls_cert_file = /etc/postfix/postfix.crt

smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtp_tls_key_file = /etc/postfix/postfix.key
smtp_tls_cert_file = /etc/postfix/postfix.crt


to enable it in dovecot do:

Code:

ssl_cert_file = /etc/postfix/postfix.crt
ssl_key_file = /etc/postfix/postfix.key
Back to top
View user's profile Send private message
RobinVossen
Tux's lil' helper
Tux's lil' helper


Joined: 05 Nov 2007
Posts: 132

PostPosted: Tue Jan 22, 2008 9:01 am    Post subject: Reply with quote

lol, THANKS!
That does help me you know =)

Anyhow, you know. That does help.
and, well I did make Dovecot work. I can login. And I can list. Not sure if I can list them but sure.
Anyhow, I can also send mail with Postfix :)
And I can login with Horde. Using IMAP as login.
Not sure if they all work together at the moment though.
But well they work appart.
Now its time to Assemble them ^^

Cheers,
Robin
_________________
Server Unplugged!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum