ED Fochler thanks for your reply,

I read the configuration of the smtpd and understood little, perhaps
due to the language and I decided to change to OpenSMTPD and dovecot
without knowing too much and just reading a forum in forum e-mail
lists, progress very easy with the output and tls and dkim, but I'm
stuck here.

Modify something and I'm getting closer but I hope I got a light

resume smtpd.conf
accept tagged CLAM_IN for any userbase <vusers> deliver to lmtp
"/var/dovecot/lmtp"


resume vusers
[email protected]
2000:2000:/var/vmail/hosting-openbsd.info/support
[email protected]      2000:2000:/var/vmail/darkmail.mx/kanzer
[email protected]  2000:2000:/var/vmail/d-e.es/zerouno


I'm getting this debug (resume)

# smtpd -dv -Tlookup

smtp-in: New session 7818378b78e6ffe0 from host localhost [127.0.0.1]
debug: mta-routing: route [] <-> 127.0.0.1 (localhost) is now valid.
debug: mta: connecting with
[connector:[]->[relay:127.0.0.
1,port=10025,mx],0x20000]
debug: mta: cancelling connector timeout
debug: mta: enough connections already
debug: mta: 0x1f8bfd426600: handling next task for relay
[relay:127.0.0.1,port=10025,mx]
lookup: check "127.0.0.1" as NETADDR in table static:<localhost> -> found
lookup: check "darkmail.mx" as DOMAIN in table static:<anydestination> -> found
lookup: lookup "kanzer" as USERINFO in table static:vusers -> 0
smtp-in: Failed command on session 7818378b78e6ffe0: "RCPT
TO:<[email protected]>" => 550 Invalid recipient
relay: PermFail for 6430369adcce4408: session=7818378a988ca63b,
from=<[email protected]>, to=<[email protected]>, rcpt=<->,
source=127.0.0.1, relay=127.0.0.1 (localhost), delay=0s, stat=550
Invalid recipient
debug: mta: flush for 6430369adcce4408 (-> [email protected])
debug: mta: waiting for 1s after reset
debug: queue: bouncing evp:6430369adcce4408 as evp:6430369a46795111
debug: scheduler: evp:6430369a46795111 scheduled (bounce)
debug: bounce: new message 6430369a
debug: bounce: adding report 6430369a46795111: [email protected]: 550
Invalid recipient
debug: bounce: drain: nmessage=1 running=0
debug: bounce: next message not ready yet
debug: bounce: setting timer
smtp-in: Closing session 78183787a5872958


It is clear that I don't have any user "kanzer" by my users are called
"[email protected]" this just in case I have another user
"[email protected]" and they are different people.

the only unix user that I have is vmail and the others are virtual
users already have their home directories in
/var/vmail/domain.tld/user/maildir

thanks in advance

2015-02-12 15:26 GMT+00:00 ED Fochler <[email protected]>:
> kanzer,
>
>         It seems like you are having a basic setup issue.  I’m curious why 
> you started with dkim and clam before you had smtp -> Maildir working.
>
> Your config looks like you should focus on using 587 for outgoing and 25 for 
> incoming, and keep them separate.  Yes port 25 is necessary for receiving 
> mail, but it looks more like your smtpd does not know that it is accepting 
> for local delivery.  Perhaps your config only delivers local if received on 
> port 25?  Do you have/need lines like these?
>
> table aliases db:/etc/mail/aliases.db
> listen on all port 25 hostname mail.darkmail.mx
> accept for local alias <aliases> deliver to maildir
>
> should give you logs like:
>
>> Feb 12 09:22:48 my-awesome-hostname smtpd[27955]: smtp-in: New session 
>> 7a03a50e0b3580ac from host bedbathbeyond.outbound.ed10.com [208.94.20.201]
>> Feb 12 09:22:49 my-awesome-hostname smtpd[27955]: smtp-in: Accepted message 
>> dd74e5d8 on session 7a03a50e0b3580ac: 
>> from=<v79usr-jq8olo-9zm6km-yh00erz-m9h0kgq-m-m2-20150212-db3395fcb7...@bedbathbeyond.bounce.ed10.net>,
>>  to=<[email protected]>, size=27095, ndest=1, proto=ESMTP
>> Feb 12 09:22:49 my-awesome-hostname smtpd[27955]: delivery: Ok for 
>> dd74e5d8eb6ec513: 
>> from=<v79usr-jq8olo-9zm6km-yh00erz-m9h0kgq-m-m2-20150212-db3395fcb7...@bedbathbeyond.bounce.ed10.net>,
>>  to=<[email protected]>, user=bucket, method=maildir, delay=1s, 
>> stat=Delivered
>> Feb 12 09:22:54 my-awesome-hostname smtpd[27955]: smtp-in: Closing session 
>> 7a03a50e0b3580ac
>>
>
>
>
>



-- 
editor de sueños

--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]

Reply via email to