DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default sendamail+SquirrelMail

HI I'm completely novice but for my understanding .If I would like be own on my MTA mail server.And use webmail .What is tradition configuration .

Sendamil +SquirrelMail

I heard I should have in openbsd DNS +my Domain name

Avery use who want to use webmail account on gmail .Have to register.His name password.But I supposed php is doing it and late MySQL remember it .
In Openbsd command adduser insert person as virtual account in sendamil.

Please about consideration and advice
Reply With Quote
  #2   (View Single Post)  
Old 1st September 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

I set up my own email using opensmptd, dovecot, httpd and both roundcubemail and squirrelmail (which I use depends on which web browser I am using).

I mostly used this tutorial:
http://technoquarter.blogspot.com/p/series.html

You would need a domain name with an MX record hosted by somebody.

Tim.
Reply With Quote
  #3   (View Single Post)  
Old 1st September 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I use mail/roundcubemail as the web application, smtpd(8) as the MTA, and www/nginx as the webserver. I am using nginx because I use client certificates for security -- passwords are not sufficient to my requirements -- and httpd(8) does not yet support client certificates.

--

As TronDD mentioned, a public-facing Domain Name with an MX (mail exchange) record are required to receive Email. You will need to obtain this from a DNS provider.

Last edited by jggimi; 1st September 2015 at 07:54 PM. Reason: clarity
Reply With Quote
  #4   (View Single Post)  
Old 1st September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default

Ok if I want to use easy way the opensmptd+SquirrelMail will be it work .

And invalidly adduser to openbsd.
Reply With Quote
  #5   (View Single Post)  
Old 2nd September 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

What will SquirrelMail connect to? You need an IMAP server.

Dovecot supports bsd auth so you can use your system user account.

Tim.
Reply With Quote
  #6   (View Single Post)  
Old 2nd September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default

Ok then I need server MTA(opensmptd)+Dovecot+webmail (SquirrelMail)

Where you added an account for user for example 1000 user .

in Server MTA yes.
Reply With Quote
  #7   (View Single Post)  
Old 2nd September 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

Dovecot can use bsdauth which means you add the user to the system with useradd and they get access to dovecot.
Reply With Quote
  #8   (View Single Post)  
Old 2nd September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default

But in this instruction .I should add user here server MTA OpenSMTPD


This is my users who will be use my mail server .I can put 1000 users .I'm right
Set up virtual users and virtual domains:

Quote:
# cat /etc/mail/vusers
joe@example.com joe
@example.com joe
joe@example.net joe
@example.net joe

# cat /etc/mail/vdomains
example.com
example.net
Reply With Quote
  #9   (View Single Post)  
Old 3rd September 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

Dovecot supports other authentication methods. You can create mail only users.
Reply With Quote
Old 8th September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default

Hi I would ask how you install OpenbSMTPD .I can't install it .

Build
-----

cd opensmtpd*
./bootstrap # Only if you build from git sources
./configure
make
sudo make install
not works
Reply With Quote
Old 8th September 2015
gpatrick gpatrick is offline
Spam Deminer
 
Join Date: Nov 2009
Posts: 245
Default

If you're running OpenBSD you don't have to build OpenSMTPD because it's in the base system.
Reply With Quote
Old 8th September 2015
spiderpig spiderpig is offline
Port Guard
 
Join Date: May 2008
Posts: 29
Default

Quote:
Originally Posted by pawkolor View Post
Hi I would ask how you install OpenbSMTPD I can't install it .
You don't need to build anything. OpenSMTP is developed by the OpenBSD project, and it's installed wherever OpenBSD is installed. OpenSMTP = smtp(8).

Reply With Quote
Old 8th September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default

Ok but follow this instruction It is something wrong.

http://technoquarter.blogspot.com/20...opensmtpd.html

Set up virtual users and virtual domains:
/etc/mail/vusers --------I do not have this file ??
Reply With Quote
Old 8th September 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

The file name can be anything. "vusers" and "vdomains" is what the author of the how-to chose to use. Just create the file.

Please read along in the smptd.conf man page so you understand what you are configuring.

Tim.
Reply With Quote
Old 8th September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default

Any help something is wrong.?

Quote:
Start demon smtpd (failed)sndiod


# pfctl -sr
pass in on egress proto tcp from any to any port = 22 flags S/SA
pass in on egress proto tcp from any to any port = 25 flags S/SA
pass in on egress proto tcp from any to any port = 587 flags S/SA
pass in on egress inet proto tcp from any to any port = 25 flags S/SA rdr-to 127.0.0.1 port 8025
pass in on egress proto tcp from <nospamd> to any port = 25 flags S/SA
pass in log on egress proto tcp from <spamd-white> to any port = 25 flags S/SA
pass out log on egress proto tcp from any to any port = 25 flags S/SA





# netstat -na -f inet
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
ip 0 0 *.* *.* 17
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 *.6000 *.* LISTEN
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
udp 0 0 *.514 *.*
#



Reply With Quote
Old 8th September 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

If smtpd is failing to start, pf and netstat aren't relevant yet.

Most daemons in OpenBSD have a configuration check option. What is the output of 'smtpd -n'?
Reply With Quote
Old 16th September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default

I just give up.I'm not a advanced person .It need time when I grow up to OpenBSD.
Reply With Quote
Old 16th September 2015
TronDD TronDD is offline
Spam Deminer
 
Join Date: Sep 2014
Posts: 305
Default

Why didn't you post the info I asked for so we can help you? Giving up isn't going to teach you anything.

Tim.
Reply With Quote
Old 17th September 2015
pawkolor pawkolor is offline
Fdisk Soldier
 
Join Date: May 2015
Posts: 53
Default

Simultaneously I learn English via Skype .If I install OpenBSD I do not have chance speak with my native speaker.Only that is my reason.I have back to Windows.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
4.6 Upgrade Causes Squirrelmail Problems jrs665 OpenBSD General 1 26th April 2010 01:30 PM
Unable to login squirrelmail satimis Other BSD and UNIX/UNIX-like 3 28th May 2008 04:21 PM


All times are GMT. The time now is 06:44 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick