Re: Virtual domains & Virtual Users...

2019-11-24 Thread Andrew Swartz
Try removing "rcpt-to " from the 2nd match line and see what happens. I put it there because, in my setup, that is the only thing which prevents accepting mail for a valid virtual domain but invalid name.  But your setup has a subsequent mapping lookup in the action line which may (or may not)

Re: Virtual domains & Virtual Users...

2019-11-23 Thread Implausibility
your match rule is not correct, I'm not sure what you want to do: I want to accept mail for any of my virtual domains, for eMail addresses described in the vusers table (which contains a full eMail address (us...@example2.com) followed by whitespace, and the local user whose mailbox it should

Re: Virtual domains & Virtual Users...

2019-11-23 Thread Andrew Swartz
nd and receive mail >> for my list of domains, and for eMail addresses which forward to locally >> defined users -- but I can't seem to get it working, and I think the issue >> is my (mis-)understanding of how the match parameter works... >> >> In order to get virtual us

Re: Virtual domains & Virtual Users...

2019-11-23 Thread Andrew Swartz
vusers file:/etc/mail/vusers >> action "vusers" maildir junk virtual >> match from any for domain rcpt-to virtual action "vusers" > I was able to get mail delivered for local users to my virtual domains > previously without issue. But I can't get virtual ad

Re: Virtual domains & Virtual Users...

2019-11-23 Thread gilles
- virtual can't be in the match rule, it must be in your action, which is already the case > I was able to get mail delivered for local users to my virtual domains > previously without issue. > But I can't get virtual addresses working... > > I've tried a half a dozen vari

Virtual domains & Virtual Users...

2019-11-23 Thread Implausibility
action "vusers" I was able to get mail delivered for local users to my virtual domains previously without issue. But I can't get virtual addresses working... I've tried a half a dozen varieties of the match command, and I keep getting 'syntax error', and it doesn't give me any hint a

Re: Primary Domains vs. Virtual Domains - what's the difference?

2019-11-18 Thread Charles Collicutt
On 18 Nov 2019, at 16:24, gil...@poolp.org wrote: > > November 18, 2019 4:14 PM, "Charles Collicutt" > wrote: >> Can virtual users be used with sub-addresses, e.g user+...@virtualdomain.org >> ? >> >> When I tried that (some time ago) it failed saying that the user did not >> exist. > > It

Re: Primary Domains vs. Virtual Domains - what's the difference?

2019-11-18 Thread gilles
November 18, 2019 4:14 PM, "Charles Collicutt" wrote: > On 18 Nov 2019, at 13:07, gil...@poolp.org wrote: > >> With a virtual domain, OpenSMTPD assumes that domain.org == the content of >> the virtual table. >> The virtual mechanism is not optional, the recipient MUST exist in the table >> to

Re: Primary Domains vs. Virtual Domains - what's the difference?

2019-11-18 Thread Edgar Pettijohn
On Nov 18, 2019 9:14 AM, Charles Collicutt wrote: > > On 18 Nov 2019, at 13:07, gil...@poolp.org wrote: > > > > With a virtual domain, OpenSMTPD assumes that domain.org == the content of > > the virtual table. > > The virtual mechanism is not optional, the recipient MUST exist in the > >

Re: Primary Domains vs. Virtual Domains - what's the difference?

2019-11-18 Thread gilles
November 17, 2019 5:19 PM, "Implausibility" wrote: > I'm reading the man pages for makemap, and there are two types of database > maps described, as per > $subject. > > What are the functional / operational differences between Primary & Virtual > Domain

Primary Domains vs. Virtual Domains - what's the difference?

2019-11-17 Thread Implausibility
I'm reading the man pages for makemap, and there are two types of database maps described, as per $subject. What are the functional / operational differences between Primary & Virtual Domains? When when I choose one over the other? Can I get examples of when I'd choose a table of pri

Re: Virtual domains

2015-03-16 Thread Jason Barbier
Look at userbase if you want to bypass having system users at all. -- Jason Barbier jab...@serversave.us On Thu, Mar 12, 2015, at 03:05 PM, Gonzalo wrote: I mean, I don't want to create a system user per email account. El mar 12, 2015 6:55 PM, Edgar Pettijohn III

Re: Virtual domains

2015-03-14 Thread Gonzalo
Yes, sorry the delay. The problem was a permission in users files. Now is working. Thank you so much. El mar 12, 2015 9:42 PM, Edgar Pettijohn ed...@pettijohn-web.com escribió: On 03/12/15 18:37, Gonzalo wrote: Ok, but now I have no email: debug: mda: all done for user getpwnam:vmail

Re: Virtual domains

2015-03-12 Thread Seth
On Thu, 12 Mar 2015 07:14:11 -0700, Gonzalo tengoandr...@gmail.com wrote: Mmm I have the same output.. El mar 11, 2015 11:31 PM, Seth l...@sysfu.com escribió: Offhand I would say this is probably more of Dovecot delivery configuration issue moreso than an OpenSMTPD one. I don't have much

Re: Virtual domains

2015-03-12 Thread Gonzalo
debug: pony: rsae_bn_mod_exp smtp-in: Started TLS on session cdb6415f5a23579f: version=TLSv1/SSLv3, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128 smtp-in: Client certificate verification succeeded on session cdb6415f5a23579f debug: smtp: SIZE in MAIL FROM command lookup: check 209.85.217.171 as

Re: Virtual domains

2015-03-12 Thread Edgar Pettijohn
On 03/12/15 18:37, Gonzalo wrote: Ok, but now I have no email: debug: mda: all done for user getpwnam:vmail debug: scheduler: evp:4bb1b8d779458d6b scheduled (mda) mda: new user 1f4c8dcc1b038c63 for getpwnam:vmail debug: lka: userinfo getpwnam:vmail lookup: lookup vmail as USERINFO in table

Re: Virtual domains

2015-03-12 Thread Edgar Pettijohn III
On Mar 11, 2015, at 8:09 PM, Seth wrote: On Wed, 11 Mar 2015 13:11:16 -0700, Gonzalo tengoandr...@gmail.com wrote: Hi Guys, I have this conf on OpenBSD 5.6 table dominios file:/etc/mail/dominios table usuarios file:/etc/dovecot/users

Re: Virtual domains

2015-03-12 Thread Edgar Pettijohn III
one system user will take care of it all. you could do: @domain.tld user and map all to one user. On Mar 12, 2015, at 5:05 PM, Gonzalo wrote: I mean, I don't want to create a system user per email account. El mar 12, 2015 6:55 PM, Edgar Pettijohn III ed...@pettijohn-web.com

Re: Virtual domains

2015-03-12 Thread Edgar Pettijohn III
smtpd.conf(5) for [!] domain domain virtual users This rule applies to mail destined for the specified virtualdomain. This parameter supports the ‘*’ wildcard, so that a single rule for all sub-domains can be used, for example: accept for domain *.example.com \ virtual users deliver to

Re: Virtual domains

2015-03-12 Thread Gonzalo
I dont want systems users El mar 12, 2015 6:43 PM, Edgar Pettijohn III ed...@pettijohn-web.com escribió: On Mar 11, 2015, at 8:09 PM, Seth wrote: On Wed, 11 Mar 2015 13:11:16 -0700, Gonzalo tengoandr...@gmail.com wrote: Hi Guys, I have this conf on OpenBSD 5.6 table dominios

Virtual domains

2015-03-11 Thread Gonzalo
Hi Guys, I have this conf on OpenBSD 5.6 table dominios file:/etc/mail/dominios table usuarios file:/etc/dovecot/users table aliases db:/etc/mail/aliases.db table spam file:/etc/mail/spam

Re: Virtual domains

2015-03-11 Thread Gonzalo
first of all the auth on imap I need to check out the dovecot conf, but still can recive mails from other domains, so the debug is: smtpd -dv debug: init ssl-tree info: loading pki information for foobar.com.ar info: OpenSMTPD 5.4.3 starting debug: bounce warning after 4h debug: using fs queue

Re: Virtual domains

2015-03-11 Thread Seth
You might need to include a '${dest}' bit at the end of this smptd.conf accept statement: accept from any for domain dominios virtual usuariosv deliver to mda /usr/local/libexec/dovecot/dovecot-lda -f %{sender} -d %{dest} Found a related LDA accept statement example here:

Re: Crash with virtual domains

2013-06-18 Thread Zé Loff
On Tue, Jun 18, 2013 at 12:48:32PM +0200, Gilles Chehade wrote: On Tue, Jun 18, 2013 at 11:30:28AM +0100, Z? Loff wrote: [...] OK, mapping to a local user worked. I was trying to mimic my postfix setup, with a few virtual users/domains (and a few aliases) each with its own maildir. I

Re: Crash with virtual domains

2013-06-18 Thread Gilles Chehade
On Tue, Jun 18, 2013 at 12:23:51PM +0100, Z? Loff wrote: I don't really understand what you mean, because if you map your virtual boxes to the 'vmail' user on Postfix, you essentially do: table users { foo = vmail, goo = vmail } unless I didn't understand what you meant Yes,

Crash with virtual domains

2013-06-17 Thread Zé Loff
Hi all I'm running version 5.3.3 on -current OpenBSD and smtpd shutdowns upon receiving a mail for a virtual domain recipient (which doesn't get delivered). Delivery for local users works as it should. $ egrep -v ^#|^$ /etc/smtpd.conf listen on lo0 table aliases db:/etc/mail/aliases.db table