Re: a few more questions

2015-01-19 Thread Seth
On Mon, 19 Jan 2015 15:14:14 -0800, Edgar Pettijohn  
ed...@pettijohn-web.com wrote:

http://www.mail-archive.com/misc%40opensmtpd.org/msg01427.html


That gives the following error:
# /usr/sbin/smtpd -d
/etc/mail/smtpd.conf:16: invalid use of table dynamic:0 as HOSTNAMES  
parameter


Looks like you're getting the same error as posted of the 2nd mailing list  
thread I linked to above ^^.


Might be prudent to file a bug report on github.  
https://github.com/OpenSMTPD/OpenSMTPD/issues


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Is my virtual user configuration correct?

2015-01-19 Thread Edgar Pettijohn


On 01/19/15 09:57, Jason Barbier wrote:

Read the descriptions in the manual pages it makes it pretty clear.
virtual is a specific type of aliasing.
userbase changes the user database where look ups happen.

The userbase section could be clearer.  I made the same mistake before 
getting things right.


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Is my virtual user configuration correct?

2015-01-19 Thread Ben

On 19.01.2015 14:24, Jason Barbier wrote:

Read the manual page closer, especially around userbase. virutal is not
the verb you are looking for.


Sorry, I am not following.

Why would virtual be the wrong verb?

--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: Is my virtual user configuration correct?

2015-01-19 Thread Jason Barbier
It all depends on how you want virtual users.
so virtual is more a list of users that can be accepted at a particular
domain so major use cases for that would be a relay host or you have one
system user and want to dump mail into their mailbox from one of the
users in virtual. There may be two but those are the ones off the top of
my head
userbase is you want to have mail users with different passwords,
different mailboxes, etc. So in essence you want to have multiple users
but you don't want to give the users system accounts. For userbase
https://blog.corrupted.io/2014/06/09/OpenSMTPD-virtual-users-with-sqlite.html
is an example of what I have done at my own mail site. It has 4 users in
it with a ton of aliases (that probably should be virtuals but I wont
nitpick on that right now)

-- 
  Jason Barbier
  jab...@serversave.us

On Mon, Jan 19, 2015, at 08:07 AM, Ben wrote:
 On 19.01.2015 16:57, Jason Barbier wrote:
  Read the descriptions in the manual pages it makes it pretty clear.
  virtual is a specific type of aliasing.
  userbase changes the user database where look ups happen.
 
 Hm, sorry, I still don't get what you want to tell me.
 
 My understanding of aliasing is the following: 
 https://github.com/OpenSMTPD/OpenSMTPD/wiki/Do-I-want-alias-to-virtual%3F
 
 As I am not working with system users I feel like virtual is the way to 
 go for me. As you seem to know what I am missing here I would really 
 appreciate if you could tell me what exactly this is.
 
 The manual pages don't make me feel like I am wrong in choosing the 
 virtual way of aliasing.
 
 Thanks for your help.
 
 -- 
 You received this mail because you are subscribed to misc@opensmtpd.org
 To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
 

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org