postfix +dovecot on CentOs VPS via unix CLI
Please understand I am an absolute beginner at terminal unix command line and everything to do with setting up an unmanaged VPS. However I have done everything on my own from reading in forums and tutorials.
I've got as far as installing everything for my drupal site which is up and running EXCEPT for mail which is proving very hard to learn.
I have been following this tutorial : http://library.linode.com/email/post...t-the-hostname
postfix has no errors on restart and neither does dovecot but running command:
telnet localhost 25
it just gets connection closed by foreign host.
Also I have to force seeing log by:
and get the following last line:
postfix/error: 8CA3B10D38: to=<email@example.com>, relay=none, delay=163519, delays=163519/0.02/0/0, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to alt2.gmail-smtp-in.l.google.com[2607:f8b0:4002:c05::1b]:25: Network is unreachable)
Please any help would be greatly appreciated. Been working on this for two days.:(
It's trying via IPv6 .. is IPv6 working correctly on your VPS? If not, fis that first and this problem will resolve itself ;)
I hope you are right!
Yes, that option is available but I haven't selected it. In fact I added a declaration in configuration to say using 4 not 6.
I will test it now before I go into other things I was thinking like IP tables firewall blocks or the position of the MailDir and maybe other users set up previously causing confusion. The other one is in destinations where I saw in a tutorial the localhost and domain inputed but I though as had already been declared in main.cf file that $domain and $hostname would follow in sync for that.
Thanks and will report back.
No it still isn't working. :(
Dec 15 09:10:01 mysysname dovecot: master: Error: service(auth): command startup failed, throttling
Dec 15 09:10:01 mysysname dovecot: log: Error: service(auth): child 13235 returned error 89 (Fatal failure)
Dec 15 09:10:01 mysysname postfix/pipe: 77C8B1460C: to=<firstname.lastname@example.org>, relay=dovecot, delay=0.1, delays=0.04/0.01/0/0.05, dsn=4.3.0, status=deferred (temporary failure)
Maildir not right
In a previous tutorial had set up a user linked to mail database which linked to /home/user/Maildir
I still see that user but since then think dropped db for that one. So with new tutorial one user is said up called "mail' and interesting thing is when I finger mail I see that it /sbin/nologin but when i finger previous user it says /sbin/bash The other interesting thing is when I go to /home I get 'vmail' alongside previous user and within that folder no Maildir folder but dovecot-deliver.log
So something is messed up with user and Maildir for latest created database.
Should I drop the current database, delete all users and start again or will that make matters worse? Why isn't user 'mail' in my home folder with a Maildir in that?
Hmm, ok .. .you might want to double/triple check all the permissions on your mailboxes.
you probably have set this:
postconf -e 'virtual_uid_maps = static:5000'
postconf -e 'virtual_gid_maps = static:5000'
Make sure the maildir /var/vmail (for example) and everything in it is owned by uid/gid 5000 and dovecot also uses that 5000 (vmail) user (check master.cf)
Thanks very much for your help, I will take into consideration your notes when I get there again. Will be reinstalling server today because have made a terrible mess of things.
you unistall all server your only the postfix
no problem i where for help and to be helped
|All times are GMT +2. The time now is 09:40.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.