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 getpwnam:<getpwnam> ->
"vmail:5001:5001:/home/vmail"
debug: mda: new session 1f4c8dcdae55d45d for user "<getpwnam>:vmail"
evpid 4bb1b8d779458d6b
debug: mda: no more envelope for "<getpwnam>:vmail"
debug: mda: got message fd 4 for session 1f4c8dcdae55d45d evpid
4bb1b8d779458d6b
debug: mda: querying mda fd for session 1f4c8dcdae55d45d evpid
4bb1b8d779458d6b
debug: smtpd: forking mda for session 1f4c8dcdae55d45d:
"/usr/local/libexec/dovecot/dovecot-lda -f [email protected]
<mailto:[email protected]> -d blo" as vmail
debug: mda: got mda fd 5 for session 1f4c8dcdae55d45d evpid
4bb1b8d779458d6b
debug: mda: end-of-file for session 1f4c8dcdae55d45d evpid
4bb1b8d779458d6b
debug: mda: all data sent for session 1f4c8dcdae55d45d evpid
4bb1b8d779458d6b
debug: smtpd: mda process done for session 1f4c8dcdae55d45d: exited
abnormally
delivery: TempFail for 4bb1b8d779458d6b: from=<[email protected]
<mailto:[email protected]>>, to=<[email protected]
<mailto:[email protected]>>, user=vmail, method=mda, delay=1m30s,
stat=Error (exited abnormally)
debug: mda: session 1f4c8dcdae55d45d done
debug: mda: user "vmail" becomes runnable
debug: mda: all done for user "<getpwnam>:vmail"
usuariosv
@foobar.com.ar <http://foobar.com.ar> vmail
usuarios
foo:$2b$06$aHet9bLmm.bkoK4A6tueb.eb0j2vivzV1pH7PrZoixwzBROTr0Gd6:5001:5001:/var/www/mail/%n
2015-03-12 19:07 GMT-03:00 Edgar Pettijohn III
<[email protected] <mailto:[email protected]>>:
one system user will take care of it all. you could do:
@domain.tlduser
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"
<[email protected] <mailto:[email protected]>> escribiC3:
smtpd.conf(5)
*for* [*!*] *domain*/domain/*virtual*|<|/users/>
This rule applies to mail destined for the specified
virtual/domain/. This parameter supports the b
wildcard, so that a single rule for all sub-domains can
be used, for example:
accept for domain "*.example.com <http://example.com/>" \
virtual <users> deliver to mbox
The table /users/ *holds a key-value mapping of virtual
to **system* users. For an example of how to configure
the /users/ table, seemakemap(8)
<http://www.openbsd.org/cgi-bin/man.cgi?query=makemap&sec=8>.
Also look in makemap(8) for some more details.
For it to work you will have to have a system user to handle
all of the mail. You would have to do the same with postfix
and probably other mta.
--
Enviado desde mi tostadora de mano...
Did you actually add the vmail user to the system with /usr/sbin/adduser?