Hi All, I am looking to set up an email server (on my existing home server). Any recommendations? I want the basic abilities (smtp imap and pop / mail groups / address books etc.) It will mainly be used with my wordpress / osticket installs as well as forwarding emails to lists. I have not set up a linux mail server before so would not know where to start. The server is opensuse 42.1 64-bit Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Paul Groves wrote:
Hi All,
I am looking to set up an email server (on my existing home server).
Any recommendations? I want the basic abilities (smtp imap and pop / mail groups / address books etc.) It will mainly be used with my wordpress / osticket installs as well as forwarding emails to lists.
I have not set up a linux mail server before so would not know where to start. The server is opensuse 42.1 64-bit
I have a setup consisting of postfix, dovecot, roundcube and sogo. It has slowly grown over the years. For starters, I would go with postfix and dovecot. -- Per Jessen, Zürich (18.2°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/03/2016 10:48 AM, Paul Groves wrote:
Hi All,
I am looking to set up an email server (on my existing home server).
Any recommendations? I want the basic abilities (smtp imap and pop / mail groups / address books etc.) It will mainly be used with my wordpress / osticket installs as well as forwarding emails to lists.
I have not set up a linux mail server before so would not know where to start. The server is opensuse 42.1 64-bit
Thanks
Dovecot is a good bet. It supports IMAPS. SMTP is a different issue and address books are a function of the email client. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dne pátek 3. června 2016 14:53:51 CEST, James Knott napsal(a):
On 06/03/2016 10:48 AM, Paul Groves wrote:
I am looking to set up an email server (on my existing home server).
Any recommendations? I want the basic abilities (smtp imap and pop / mail groups / address books etc.) It will mainly be used with my wordpress / osticket installs as well as forwarding emails to lists.
I have not set up a linux mail server before so would not know where to start. The server is opensuse 42.1 64-bit
Dovecot is a good bet. It supports IMAPS. SMTP is a different issue and address books are a function of the email client.
If he is looking for syncing of address book and or calendars, it requires some server-side support. One possibility is to install ownCloud to sync files, calendars and address books or use some full-featured groupware like Kolab or Horde. But there are of course more possibilities... -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux https://www.opensuse.org/ https://trapa.cz/
On 2016-06-03 20:53, James Knott wrote:
On 06/03/2016 10:48 AM, Paul Groves wrote:
Dovecot is a good bet. It supports IMAPS. SMTP is a different issue and address books are a function of the email client.
It could be some database that the clients read, like ldap. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 03/06/16 21:05, Carlos E. R. wrote:
On 2016-06-03 20:53, James Knott wrote:
On 06/03/2016 10:48 AM, Paul Groves wrote: Dovecot is a good bet. It supports IMAPS. SMTP is a different issue and address books are a function of the email client. It could be some database that the clients read, like ldap.
I have found this guide (for 13.x but should work on 42.1) It sort of makes sense but I cannot work out, how do I set up the mail server for multiple domains? I have several websites hosted and each one needs to have its own mail.domain.com and me@domin.com for example. It is the one server with one IP address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/10/2016 08:36 AM, Paul Groves wrote:
On 03/06/16 21:05, Carlos E. R. wrote:
On 2016-06-03 20:53, James Knott wrote:
On 06/03/2016 10:48 AM, Paul Groves wrote: Dovecot is a good bet. It supports IMAPS. SMTP is a different issue and address books are a function of the email client. It could be some database that the clients read, like ldap.
I have found this guide (for 13.x but should work on 42.1)
It sort of makes sense but I cannot work out, how do I set up the mail server for multiple domains? I have several websites hosted and each one needs to have its own mail.domain.com and me@domin.com for example.
It is the one server with one IP address.
I am doing same with Sendmail + Spamassassin + Cyrus Imap together with Horde for a web interface. -- --Moby -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/10/2016 09:36 AM, Paul Groves wrote:
It sort of makes sense but I cannot work out, how do I set up the mail server for multiple domains? I have several websites hosted and each one needs to have its own mail.domain.com and me@domin.com for example.
It is the one server with one IP address.
Yes, I've done that in the past with Postfix. Its just a small change in the main config to list all the domains it will accept. I only had a small set, less than a dozen, and it would not change. You can do this in /etc/sysconfig/postfix by setting POSTFIX_LOCALDOMAINS If you needs are different I'm sure there some other way to do it, possibly using one or other of the database methods or one of the MAP files. See also "man 8 virtual" and http://www.postfix.org/VIRTUAL_README.html The Postfix documentation is extensive and there are many example files and notes supplied and at the main web site. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/10/2016 09:36 AM, Paul Groves wrote:
On 03/06/16 21:05, Carlos E. R. wrote:
On 2016-06-03 20:53, James Knott wrote:
On 06/03/2016 10:48 AM, Paul Groves wrote: Dovecot is a good bet. It supports IMAPS. SMTP is a different issue and address books are a function of the email client. It could be some database that the clients read, like ldap.
I have found this guide (for 13.x but should work on 42.1)
It sort of makes sense but I cannot work out, how do I set up the mail server for multiple domains? I have several websites hosted and each one needs to have its own mail.domain.com and me@domin.com for example.
Actually, thinking about it, you might be better off reading a more specific example such as http://www.akadia.com/services/postfix_separate_mailboxes.html -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/06/16 15:35, Anton Aylward wrote:
On 06/10/2016 09:36 AM, Paul Groves wrote:
On 03/06/16 21:05, Carlos E. R. wrote:
On 2016-06-03 20:53, James Knott wrote:
On 06/03/2016 10:48 AM, Paul Groves wrote: Dovecot is a good bet. It supports IMAPS. SMTP is a different issue and address books are a function of the email client. It could be some database that the clients read, like ldap.
I have found this guide (for 13.x but should work on 42.1)
It sort of makes sense but I cannot work out, how do I set up the mail server for multiple domains? I have several websites hosted and each one needs to have its own mail.domain.com and me@domin.com for example. Actually, thinking about it, you might be better off reading a more specific example such as http://www.akadia.com/services/postfix_separate_mailboxes.html
I think I am making progress but I still have no idea haha. There are not many tutorials for first time users as far as I can see. I would be grateful if someone could 'show me the ropes' as it were with linux email servers. I have only ever used ms exchange before an that was a breeze to set up with lots of documentation. so far: I have installed postfix and postifx admin. I have followed the guide here http://www.linuxmail.info/multiple-domains-postfix-admin-centos-5/ and set up postfix. (not dovecot yet) How can I test postfix? I am also a bit confused, I have added my email addresses in postfix admin. Do I also have to make local users with the same name and password? Thanks -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-06-26 18:37, Paul Groves wrote:
I think I am making progress but I still have no idea haha. There are not many tutorials for first time users as far as I can see. I would be grateful if someone could 'show me the ropes' as it were with linux email servers. I have only ever used ms exchange before an that was a breeze to set up with lots of documentation.
so far:
I have installed postfix and postifx admin. I have followed the guide here http://www.linuxmail.info/multiple-domains-postfix-admin-centos-5/
and set up postfix. (not dovecot yet)
How can I test postfix?
I am also a bit confused, I have added my email addresses in postfix admin. Do I also have to make local users with the same name and password?
I do not know what is "postfix admin". And no, you do not define users with postfix anywhere. After installing postfix (which is already done on an openSUSE system by default), without doing anything else, you can test that it works by sending email from one local user to another local user. That's it. Sending email to outside, or receiving it, depends on whether you have a fixed Internet IP, and a proper domain. If you don't, it is others who have to send and receive emails on your behalf (say, gmail). Your role is simply to hand your email to them, and picking the answers. Really sending email yourself is difficult because of antispam protections by others. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
On 26/06/16 18:00, Carlos E. R. wrote:
On 2016-06-26 18:37, Paul Groves wrote:
I think I am making progress but I still have no idea haha. There are not many tutorials for first time users as far as I can see. I would be grateful if someone could 'show me the ropes' as it were with linux email servers. I have only ever used ms exchange before an that was a breeze to set up with lots of documentation.
so far:
I have installed postfix and postifx admin. I have followed the guide here http://www.linuxmail.info/multiple-domains-postfix-admin-centos-5/
and set up postfix. (not dovecot yet)
How can I test postfix?
I am also a bit confused, I have added my email addresses in postfix admin. Do I also have to make local users with the same name and password? I do not know what is "postfix admin". And no, you do not define users with postfix anywhere.
After installing postfix (which is already done on an openSUSE system by default), without doing anything else, you can test that it works by sending email from one local user to another local user. That's it.
Sending email to outside, or receiving it, depends on whether you have a fixed Internet IP, and a proper domain. If you don't, it is others who have to send and receive emails on your behalf (say, gmail). Your role is simply to hand your email to them, and picking the answers.
Really sending email yourself is difficult because of antispam protections by others.
postfixadmin is a web gui fro postfix that as far as I can tell saves all the mailboxes to sql? not sure. It has facilities for configuring virtual mail domains users and aliases I am very much new to the world of mail servers outside ms exchange so I am not completely sure how it all works. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/26/2016 01:12 PM, Paul Groves wrote:
postfixadmin is a web gui fro postfix that as far as I can tell saves all the mailboxes to sql? not sure.
My suggestion is that you don't use that. Its obviously hiding details from you so that you don't understand what is actually going on. The only way you'll understand is by CLI and vim. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Anton Aylward wrote:
On 06/26/2016 01:12 PM, Paul Groves wrote:
postfixadmin is a web gui fro postfix that as far as I can tell saves all the mailboxes to sql? not sure.
My suggestion is that you don't use that. Its obviously hiding details from you so that you don't understand what is actually going on. The only way you'll understand is by CLI and vim.
I second that. -- Per Jessen, Zürich (21.3°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/26/2016 12:37 PM, Paul Groves wrote:
I am also a bit confused, I have added my email addresses in postfix admin. Do I also have to make local users with the same name and password?
The Postfix documentation descried a number of ways that you can authenticate users in Postfix, but why should you? You need to have a clear understanding of what constitutes a user. Until you understand that then yes, you are going to be confused. Again, Dovecot has a number of ways to authenticate the user. Both have a default of making use of the users that have an account on the machine, that is, that they are in /etc/password. That is NOT a good way to set up an ISP! You don't want people to have access to or accounts on the main machine just to process email. You may also be faced with the issue of having multiple machines and even different ones for user to send email (Postfix) and read email (Dovecot). Both have facilities to use some other kind of authentication service, be it NIX/YP, shared files via NFS, or, perhaps more sensibly, an authentication server, be it Kerberos or Radius. Again the documentation for doing this with both Postfix and Dovecot is extensive. My experience is that many 'nationwide' ISPs that serve though regional points-of-presence (PoP) make use of Radius or something similar, since that can be backed with a distributed database such as LDAP. it's easy to find examples and how-tos for all this with Google The differences between openSuse and Ubuntu are actually about the difference between zypper and app-get, nothing to do with Dovecot or Postfix. https://www.howtoforge.com/the-perfect-server-opensuse-13.1-with-apache2-mys... (6 pages) http://www.server180.com/2014/12/how-to-install-postfix-dovecot-mysql.html http://tech.iprock.com/?p=11270 https://www.howtoforge.com/postfix-virtual-hosting-with-ldap-and-dovecot-on-... https://www.howtoforge.com/postfix-virtual-hosting-with-ldap-backend-and-dov... http://wiki2.dovecot.org/HowTo/DovecotOpenLdap http://wiki.dovecot.org/AuthDatabase/LDAP Try, yourself, googling for - dovecot radius ldap - postfix radius ldap - postfix ldap authentication - dovecot ldap authentication -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Paul Groves wrote:
I think I am making progress but I still have no idea haha. There are not many tutorials for first time users as far as I can see. I would be grateful if someone could 'show me the ropes' as it were with linux email servers. I have only ever used ms exchange before an that was a breeze to set up with lots of documentation.
I think you will discover there is even more for a Linux mailserver. I frequently deal with MS Exchange admins who cannot answer simple questions. For instance, what are the exact criteria for an email ending up in the Junk folder?
How can I test postfix?
Postfix has three purpose - receive mail, delivery locally or pass on to somebody else (e.g. dovecot). Which one do you want to start with? For instance, receiving mail is easily tested with telnet and the SMTP protocol. -- Per Jessen, Zürich (20.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/26/2016 02:08 PM, Per Jessen wrote:
For instance, receiving mail is easily tested with telnet and the SMTP protocol.
Plain text protocols like SMTP, as well as POP and IMAP on Dovecot, or HTTP if you choose to offer a SquirrilMail web based interface to your users and wonderful and easy to debug :-) -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 26/06/16 19:14, Anton Aylward wrote:
On 06/26/2016 02:08 PM, Per Jessen wrote:
For instance, receiving mail is easily tested with telnet and the SMTP protocol. Plain text protocols like SMTP, as well as POP and IMAP on Dovecot, or HTTP if you choose to offer a SquirrilMail web based interface to your users and wonderful and easy to debug :-)
I found this: https://www.exratione.com/2014/05/a-mailserver-on-ubuntu-1404-postfix-doveco... but still no luck. I followed it exactly (changing usernames and passwords and file paths accordingly) but I cannot get postfix to start up at all. There are no errors logged in systemctl, just blank. I even went back to default postfix file and it wont start. Are there any working tutorials? I basically just want a smtp imap pop3 server using postfix dovecot and roundcube all using virtual users in sql. This needs to work for multiple domains. This seems very overly complicated on linux. MS exchange 2013 took me an hour to set up at work. Has anyone managed to configure such a setup (or similar) that is working that could provide me with some configuration files to go on? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Paul Groves <paul.groves.787@gmail.com> [07-01-16 17:02]:
On 26/06/16 19:14, Anton Aylward wrote:
On 06/26/2016 02:08 PM, Per Jessen wrote:
For instance, receiving mail is easily tested with telnet and the SMTP protocol. Plain text protocols like SMTP, as well as POP and IMAP on Dovecot, or HTTP if you choose to offer a SquirrilMail web based interface to your users and wonderful and easy to debug :-)
I found this: https://www.exratione.com/2014/05/a-mailserver-on-ubuntu-1404-postfix-doveco...
but still no luck. I followed it exactly (changing usernames and passwords and file paths accordingly) but I cannot get postfix to start up at all. There are no errors logged in systemctl, just blank.
I even went back to default postfix file and it wont start.
How did you determine that it wasn't running and what error msg's were provided?
Are there any working tutorials? I basically just want a smtp imap pop3 server using postfix dovecot and roundcube all using virtual users in sql. This needs to work for multiple domains.
This seems very overly complicated on linux. MS exchange 2013 took me an hour to set up at work.
Has anyone managed to configure such a setup (or similar) that is working that could provide me with some configuration files to go on?
You will not get any points here touting m$ ease and/or knowledge! -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-07-01 23:01, Paul Groves wrote:
but still no luck. I followed it exactly (changing usernames and passwords and file paths accordingly) but I cannot get postfix to start up at all.
Just install Linux, say Leap, and postfix will be started automatically, without you doing anything at all. If you have to "install postfix" you are doing it wrong. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
On 2016-07-01 23:01, Paul Groves wrote:
but still no luck. I followed it exactly (changing usernames and passwords and file paths accordingly) but I cannot get postfix to start up at all.
Just install Linux, say Leap, and postfix will be started automatically, without you doing anything at all. If you have to "install postfix" you are doing it wrong.
No necessarily - there is no MTA installed in the minimum text-only pattern. -- Per Jessen, Zürich (19.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-07-02 09:53, Per Jessen wrote:
Carlos E. R. wrote:
On 2016-07-01 23:01, Paul Groves wrote:
but still no luck. I followed it exactly (changing usernames and passwords and file paths accordingly) but I cannot get postfix to start up at all.
Just install Linux, say Leap, and postfix will be started automatically, without you doing anything at all. If you have to "install postfix" you are doing it wrong.
No necessarily - there is no MTA installed in the minimum text-only pattern.
Who is so daft as to install the minimum text-only pattern ;-)) :-P Joking, I know many do. But those many know what they are doing, that it is a really minimal pattern, and that they have to install many extras. Paul, have you really installed the minimal text pattern? Don't. Start all over with the graphical minimal pattern instead (not the exact name). -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Carlos E. R. wrote:
On 2016-07-02 09:53, Per Jessen wrote:
Carlos E. R. wrote:
On 2016-07-01 23:01, Paul Groves wrote:
but still no luck. I followed it exactly (changing usernames and passwords and file paths accordingly) but I cannot get postfix to start up at all.
Just install Linux, say Leap, and postfix will be started automatically, without you doing anything at all. If you have to "install postfix" you are doing it wrong.
No necessarily - there is no MTA installed in the minimum text-only pattern.
Who is so daft as to install the minimum text-only pattern ;-)) :-P
Joking, I know many do. But those many know what they are doing, that it is a really minimal pattern, and that they have to install many extras.
In 13.x and in Leap421 I install the minimal only more than any other pattern. In Tumbleweed, it's been reduced to unusable though. Some dingbat cut it down to fit on a Raspi or a smartwatch, I think. It doesn't even include YaST anymore. -- Per Jessen, Zürich (18.7°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 01.07.2016 um 23:01 schrieb Paul Groves:
On 26/06/16 19:14, Anton Aylward wrote:
On 06/26/2016 02:08 PM, Per Jessen wrote:
For instance, receiving mail is easily tested with telnet and the SMTP protocol. Plain text protocols like SMTP, as well as POP and IMAP on Dovecot, or HTTP if you choose to offer a SquirrilMail web based interface to your users and wonderful and easy to debug :-)
I found this: https://www.exratione.com/2014/05/a-mailserver-on-ubuntu-1404-postfix-doveco...
but still no luck. I followed it exactly (changing usernames and passwords and file paths accordingly) but I cannot get postfix to start up at all. There are no errors logged in systemctl, just blank.
I even went back to default postfix file and it wont start.
Are there any working tutorials? I basically just want a smtp imap pop3 server using postfix dovecot and roundcube all using virtual users in sql. This needs to work for multiple domains.
This seems very overly complicated on linux. MS exchange 2013 took me an hour to set up at work.
Has anyone managed to configure such a setup (or similar) that is working that could provide me with some configuration files to go on?
hello paul, for my postfix setup with multiple domains, virtual users, imap/s,pop3/s ... i'm using dbmail since many, many years without big problems or whatsoever. http://dbmail.org/ perhaps this might help in finding a solution with postfix and virtual domains / users? greetings becki -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Paul Groves wrote:
Are there any working tutorials? I basically just want a smtp imap pop3 server using postfix dovecot and roundcube all using virtual users in sql. This needs to work for multiple domains.
For someone with little or no experience in postfix, dovecot etc., that is a pretty tall order. It's entirely doable, just not in 5 minutes.
This seems very overly complicated on linux. MS exchange 2013 took me an hour to set up at work.
Starting from scratch, it would probably take me a day to get it working and tested on Linux and perhaps until Christmas on MSEX2013 :-)
Has anyone managed to configure such a setup (or similar) that is working that could provide me with some configuration files to go on?
Yes, my mailhost is pretty much what you're asking for. Mail-users and domains are stored in mysql and accessed via pam/nss. Mails are received by postfix, handed to dovecot with lmtp. roundcube runs on a separate webserver. The only slightly tricky bit here is getting your system to access user credentials in mysql, because you need to do that manually. The rest is almost out-of-the-box when you install openSUSE. 1) postfix - just install and start. It needs to be configured for - receiving external mail. External IP, reverse DNS mapping, define virtual domains. (virtual_mailbox_domains). Maybe also TLS. - mails for local delivery to be handed to dovecot. (virtual_transport) 2) dovecot - configuration needed: tls, quotas, sieve, indexing. This a little more involved. 3) roundcube+apache. Nothing much to it, it's a plain PHP app on apache. 4) mysql - database setup, maybe adapt your schemas to fit your needs. pam+nss setup. First of all, you need to get postfix to run. It is pretty odd that it won't start in the default setup, you need to investigate that first. The normal postfix setup starts just fine, but only handles local mail. If that doesn't work for you, something went wrong. Post logfiles and diagnostic output, if you want our help. -- Per Jessen, Zürich (19.4°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-07-02 09:57, Per Jessen wrote:
Starting from scratch, it would probably take me a day to get it working and tested on Linux and perhaps until Christmas on MSEX2013 :-)
MS exchange is a nightmare. I took a training course on Win 2008 server. 1/5 of the class succeeded installing that thing, and one actually worked. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Thanks. I just tested another 42.1 box and postfix is indeed working by default. Maybe my tinkering has broken it. Although I only changed what the how-to said that I sent previously. How can I re-set postfix and dovecot to default on the mail server? Do I just simply uninstall the package and reinstall? On 2 July 2016 at 08:57, Per Jessen <per@computer.org> wrote:
Paul Groves wrote:
Are there any working tutorials? I basically just want a smtp imap pop3 server using postfix dovecot and roundcube all using virtual users in sql. This needs to work for multiple domains.
For someone with little or no experience in postfix, dovecot etc., that is a pretty tall order. It's entirely doable, just not in 5 minutes.
This seems very overly complicated on linux. MS exchange 2013 took me an hour to set up at work.
Starting from scratch, it would probably take me a day to get it working and tested on Linux and perhaps until Christmas on MSEX2013 :-)
Has anyone managed to configure such a setup (or similar) that is working that could provide me with some configuration files to go on?
Yes, my mailhost is pretty much what you're asking for. Mail-users and domains are stored in mysql and accessed via pam/nss. Mails are received by postfix, handed to dovecot with lmtp. roundcube runs on a separate webserver.
The only slightly tricky bit here is getting your system to access user credentials in mysql, because you need to do that manually. The rest is almost out-of-the-box when you install openSUSE.
1) postfix - just install and start. It needs to be configured for
- receiving external mail. External IP, reverse DNS mapping, define virtual domains. (virtual_mailbox_domains). Maybe also TLS. - mails for local delivery to be handed to dovecot. (virtual_transport)
2) dovecot - configuration needed: tls, quotas, sieve, indexing. This a little more involved.
3) roundcube+apache. Nothing much to it, it's a plain PHP app on apache.
4) mysql - database setup, maybe adapt your schemas to fit your needs. pam+nss setup.
First of all, you need to get postfix to run. It is pretty odd that it won't start in the default setup, you need to investigate that first. The normal postfix setup starts just fine, but only handles local mail. If that doesn't work for you, something went wrong. Post logfiles and diagnostic output, if you want our help.
-- Per Jessen, Zürich (19.4°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Paul Groves wrote:
Thanks. I just tested another 42.1 box and postfix is indeed working by default. Maybe my tinkering has broken it. Although I only changed what the how-to said that I sent previously.
How can I re-set postfix and dovecot to default on the mail server? Do I just simply uninstall the package and reinstall?
Yes, that ought to suffice. After you've uninstalled, check the config dirs /etc/postfix and /etc/dovecot, and maybe just delete them if they're not empty. -- Per Jessen, Zürich (17.7°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-07-12 12:41, Paul Groves wrote:
Thanks. I just tested another 42.1 box and postfix is indeed working by default. Maybe my tinkering has broken it. Although I only changed what the how-to said that I sent previously.
Using a howto for Ubuntu... Don't. When you use a howto for another distribution, you have to be aware of the differences.
How can I re-set postfix and dovecot to default on the mail server? Do I just simply uninstall the package and reinstall?
That might do it, but probably you also need to delete the configuration files in between. Contrary to Windows, reinstalling a program does not alter the configuration files in Linux. Or, you might copy those configuration files across from the working machine. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
Le 12/07/2016 à 14:46, Carlos E. R. a écrit :
On 2016-07-12 12:41, Paul Groves wrote:
How can I re-set postfix and dovecot to default on the mail server? Do I just simply uninstall the package and reinstall?
That might do it, but probably you also need to delete the configuration files in between. Contrary to Windows, reinstalling a program does not alter the configuration files in Linux.
if you know where the config files are, you may look to see if there are other files with the same name and extension .rpmnew, .rpmold or similar where you may find what the system wants to do jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. wrote:
How can I re-set postfix and dovecot to default on the mail server? Do I just simply uninstall the package and reinstall?
That might do it, but probably you also need to delete the configuration files in between. Contrary to Windows, reinstalling a program does not alter the configuration files in Linux.
I would think deinstalling should deinstall the config too? Except whatever was altered locally. -- Per Jessen, Zürich (18.4°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* Per Jessen <per@computer.org> [07-12-16 13:17]:
Carlos E. R. wrote:
How can I re-set postfix and dovecot to default on the mail server? Do I just simply uninstall the package and reinstall?
That might do it, but probably you also need to delete the configuration files in between. Contrary to Windows, reinstalling a program does not alter the configuration files in Linux.
I would think deinstalling should deinstall the config too? Except whatever was altered locally.
But what was altered locally *is* his problem. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/07/16 18:47, Patrick Shanahan wrote:
* Per Jessen <per@computer.org> [07-12-16 13:17]:
Carlos E. R. wrote:
How can I re-set postfix and dovecot to default on the mail server? Do I just simply uninstall the package and reinstall? That might do it, but probably you also need to delete the configuration files in between. Contrary to Windows, reinstalling a program does not alter the configuration files in Linux. I would think deinstalling should deinstall the config too? Except whatever was altered locally. But what was altered locally *is* his problem.
Hi All, Hopefully I will have some time over christmas to have another look at my mail server set up. Thanks for all the advice so far, will try out suggestions soon. Next step: I already use owncloud and have several users all utilising documents / calendar and contacts. So I would like to integrate my mail (postfix and dovecot) into this. (owncloud has a roundcube plugin and we all use thunderbird on our PCs). One thing I would like to be able to do is authenticate my MDA (dovecot) against the owncloud users table. Has anyone done such a thing before? I have read you can set up dovecot to use SQL user tables so perhaps I could access the oc_users and oc_groups tables directly? But I have no idea how ownCloud encrypts the passwords. Thanks Paul -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Paul Groves wrote:
One thing I would like to be able to do is authenticate my MDA (dovecot) against the owncloud users table.
Has anyone done such a thing before?
using ldap or mysql for dovecot authentication is probably more or less the norm when you have more than a few users. Yes, it's easily done, plenty of mysql examples to be found.
I have read you can set up dovecot to use SQL user tables so perhaps I could access the oc_users and oc_groups tables directly? But I have no idea how ownCloud encrypts the passwords.
It's all php code, shouldn't be too difficult to find and change (if necessary). -- Per Jessen, Zürich (0.3°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (11)
-
Admin Beckspaced
-
Anton Aylward
-
Carlos E. R.
-
Carlos E. R.
-
James Knott
-
jdd
-
Moby
-
Patrick Shanahan
-
Paul Groves
-
Per Jessen
-
Vojtěch Zeisek