I'm going to explain I have OpenBSD 5.6 and OpenSMTPD 5.4.3 I can send and receive emails to all over the world, but I have two big problems, I can't send to my contacts that are also virtual users in my own domain.
example [email protected] --> [email protected] --works correct. [email protected] --> [email protected] --works correct. but [email protected] --> [email protected] --does Not work # cat /etc/mail/smtpd.conf # $OpenBSD: smtpd.conf,v 1.7 2014/03/12 18:21:34 tedu Exp $ # This is the smtpd server system-wide configuration file. # See smtpd.conf(5) for more information. # To accept external mail, replace with: listen on all # pki mail.darkmail.mx certificate "/etc/ssl/mail.darkmail.mx.crt" pki mail.darkmail.mx key "/etc/ssl/private/mail.darkmail.mx.key" table vrecipients file:/etc/mail/vrecipients table vdomains file:/etc/mail/vdomains table valiases file:/etc/mail/valiases table credentials file:/etc/mail/credentials listen on lo0 listen on egress tls-require pki mail.darkmail.mx auth-optional listen on lo0 port 10026 tag CLAM_IN # incoming mail listen on lo0 port 10028 tag CLAM_OUT # outgoing mail listen on lo0 port 10029 tag DKIM_OUT # outgoing mail listen on re0 port 587 tls-require pki mail.darkmail.mx auth <credentials> # tagged mail returned from clamsmtpd either deliver or relay accept tagged CLAM_IN for domain <vdomains> recipient <vrecipients> relay via lmtp://127.0.0.1:2525 accept tagged CLAM_IN for domain <vdomains> virtual <valiases> accept tagged CLAM_OUT for any relay via smtp://127.0.0.1:10030 # send to dkimproxy # tagged mail returned from dkimproxy relay out accept tagged DKIM_OUT for any relay # start here - untagged mail is sent to clamsmtpd accept from local for any relay via smtp://127.0.0.1:10027 # outgoing mail accept from any for any relay via smtp://127.0.0.1:10025 # incoming mail #smtpd -dv -Tlookup debug: mta: enough connections already debug: mta: 0x1dd8f2efdc00: handling next task for relay [relay:yahoo.com.tw] relay: TempFail for 144cef630aedae49: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef631fdc18f3: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef6328801e4c: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef63363dc5ff: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef63482d7753: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef6367adbe49: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef6380ee8611: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef63cc5afbb9: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef63db5b8911: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html relay: TempFail for 144cef63efeab0fa: session=e4a930d0c22a698c, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com), delay=12m, stat=421 4.7.0 [GL01] Message from (78.46.145.206) temporarily deferred - 4.16.50. Please refer to http://postmaster.yahoo.com/errors/postmaster-21.html debug: mta: flush for 144cef63efeab0fa (-> [email protected]) debug: mta: 0x1dd8f2efdc00: disconnected in state MTA_RSET smtp-out: Error on session e4a930d0c22a698c: Connection closed unexpectedly debug: mta: 0x1dd8f2efdc00: session done debug: pony: rsae_finish debug: mta_route_collect([] <-> 203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com)) debug: mta: connecting with [connector:[]->[relay:yahoo.com.tw],0x0] debug: mta: no task for connector debug: mta: mta_route_unref(): keeping route [] <-> 203.188.197.119 (mta-v3.mail.vip.tp2.yahoo.com) alive for 2s (imposed delay) debug: mta: flush for 144cef63db5b8911 (-> [email protected]) debug: mta: flush for 144cef63cc5afbb9 (-> [email protected]) debug: mta: flush for 144cef6380ee8611 (-> [email protected]) debug: mta: flush for 144cef6367adbe49 (-> [email protected]) debug: mta: flush for 144cef63482d7753 (-> [email protected]) debug: mta: flush for 144cef63363dc5ff (-> [email protected]) debug: mta: flush for 144cef6328801e4c (-> [email protected]) debug: mta: flush for 144cef631fdc18f3 (-> [email protected]) debug: mta: flush for 144cef630aedae49 (-> [email protected]) mta: timeout for session hangon smtp-in: Accepted authentication for user [email protected] on session e4a930d1a5c846e2 mta: timeout for session hangon debug: mta: 0x1dd8f2efda00: handling next task for relay [relay:127.0.0.1,port=10030,mx] mta: timeout for session hangon debug: mta: 0x1dd8f2efdc00: no task for relay [relay:hosting-openbsd.info] mta: debug: last connection: hanging on for 8s mta: timeout for session hangon debug: mta: 0x1dd90df37800: no task for relay [relay:127.0.0.1,port=10027,mx] mta: debug: last connection: hanging on for 9s lookup: check "127.0.0.1" as NETADDR in table static:<localhost> -> found lookup: check "hosting-openbsd.info" as DOMAIN in table static:<anydestination> -> found debug: 0x1dd94be8e000: end of message, msgflags=0x0000 smtp-in: Accepted message aaff0082 on session e4a930d372747ad2: from=<[email protected]>, to=<[email protected]>, size=4647, ndest=1, proto=ESMTP debug: scheduler: evp:aaff008253095404 scheduled (mta) relay: Ok for f2ad00c44f5466ce: session=e4a930d274d4da5d, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=127.0.0.1, relay=127.0.0.1 (localhost), delay=1s, stat=250 2.0.0: aaff0082 Message accepted for delivery debug: mta: waiting for 1s before next transaction debug: mta: flush for f2ad00c44f5466ce (-> [email protected]) debug: mta: received evp:aaff008253095404 for <[email protected]> debug: mta: draining [relay:hosting-openbsd.info] refcount=2, ntask=1, nconnector=1, nconn=1 debug: mta: querying source for [relay:hosting-openbsd.info]... debug: mta: ... got source for [relay:hosting-openbsd.info]: [] debug: mta: connecting with [connector:[]->[relay:hosting-openbsd.info],0x0] debug: mta: enough connections already debug: mta: draining [relay:hosting-openbsd.info] refcount=3, ntask=1, nconnector=1, nconn=1 debug: mta: scheduling relay [relay:hosting-openbsd.info] in 10s... debug: smtp: SIZE in MAIL FROM command debug: mta: ... timeout for [connector:[]->[relay:127.0.0.1,port=10030,mx],0x20000] debug: mta: connecting with [connector:[]->[relay:127.0.0.1,port=10030,mx],0x0] debug: mta: no task for connector lookup: check "local" as NETADDR in table static:<localhost> -> found lookup: check "gmail.com" as DOMAIN in table static:<anydestination> -> found mta: timeout for session hangon debug: mta: 0x1dd8f2efdc00: handling next task for relay [relay:hosting-openbsd.info] mta: timeout for session hangon debug: mta: 0x1dd90df37800: no task for relay [relay:127.0.0.1,port=10027,mx] mta: debug: last connection: hanging on for 8s mta: timeout for session hangon debug: mta: 0x1dd8f2efda00: no task for relay [relay:127.0.0.1,port=10030,mx] mta: debug: last connection: hanging on for 9s lookup: check "78.46.145.206" as NETADDR in table static:<localhost> -> found lookup: check "hosting-openbsd.info" as DOMAIN in table static:<anydestination> -> found debug: 0x1dd851b3a000: end of message, msgflags=0x0000 smtp-in: Accepted message befda0a7 on session e4a930d7a36bd660: from=<[email protected]>, to=<[email protected]>, size=4865, ndest=1, proto=ESMTP debug: scheduler: evp:befda0a7bd1eabb6 scheduled (mta) relay: Ok for aaff008253095404: session=e4a930d67a2b43ed, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=78.46.145.206, relay=78.46.145.206 (hosting-openbsd.info), delay=1s, stat=250 2.0.0: befda0a7 Message accepted for delivery debug: mta: waiting for 1s before next transaction debug: mta: flush for aaff008253095404 (-> [email protected]) debug: mta: received evp:befda0a7bd1eabb6 for <[email protected]> debug: mta: draining [relay:127.0.0.1,port=10027,mx] refcount=3, ntask=1, nconnector=1, nconn=1 debug: mta: [relay:127.0.0.1,port=10027,mx] waiting for connector debug: 0x1dd8c2c5e000: end of message, msgflags=0x0000 smtp-in: Accepted message e83e046f on session e4a930d1a5c846e2: from=<[email protected]>, to=<[email protected]>, size=338, ndest=1, proto=ESMTP debug: scheduler: evp:e83e046f18039fe3 scheduled (mta) debug: mta: received evp:e83e046f18039fe3 for <[email protected]> debug: mta: draining [relay:127.0.0.1,port=10027,mx] refcount=3, ntask=2, nconnector=1, nconn=1 debug: mta: [relay:127.0.0.1,port=10027,mx] waiting for connector smtp-in: Closing session e4a930d1a5c846e2 debug: smtp: 0x1dd8c2c5e000: deleting session: done mta: timeout for session hangon debug: mta: 0x1dd90df37800: handling next task for relay [relay:127.0.0.1,port=10027,mx] mta: timeout for session hangon debug: mta: 0x1dd8f2efda00: no task for relay [relay:127.0.0.1,port=10030,mx] mta: debug: last connection: hanging on for 8s mta: timeout for session hangon debug: mta: 0x1dd8f2efdc00: no task for relay [relay:hosting-openbsd.info] mta: debug: last connection: hanging on for 9s lookup: check "127.0.0.1" as NETADDR in table static:<localhost> -> found lookup: check "hosting-openbsd.info" as DOMAIN in table static:<anydestination> -> found debug: 0x1dd94bcfe000: end of message, msgflags=0x0000 smtp-in: Accepted message f7585e5b on session e4a930cdc1536f29: from=<[email protected]>, to=<[email protected]>, size=5218, ndest=1, proto=ESMTP debug: scheduler: evp:f7585e5b307bfb48 scheduled (mta) relay: Ok for befda0a7bd1eabb6: session=e4a930cc6a27e17b, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=127.0.0.1, relay=127.0.0.1 (localhost), delay=1s, stat=250 2.0.0: f7585e5b Message accepted for delivery debug: mta: waiting for 1s before next transaction debug: mta: flush for befda0a7bd1eabb6 (-> [email protected]) debug: mta: received evp:f7585e5b307bfb48 for <[email protected]> debug: mta: draining [relay:127.0.0.1,port=10030,mx] refcount=3, ntask=1, nconnector=1, nconn=1 debug: mta: [relay:127.0.0.1,port=10030,mx] waiting for connector mta: timeout for session hangon debug: mta: 0x1dd8f2efda00: handling next task for relay [relay:127.0.0.1,port=10030,mx] mta: timeout for session hangon debug: mta: 0x1dd8f2efdc00: no task for relay [relay:hosting-openbsd.info] mta: debug: last connection: hanging on for 8s mta: timeout for session hangon debug: mta: 0x1dd90df37800: handling next task for relay [relay:127.0.0.1,port=10027,mx] lookup: check "127.0.0.1" as NETADDR in table static:<localhost> -> found lookup: check "gmail.com" as DOMAIN in table static:<anydestination> -> found lookup: check "127.0.0.1" as NETADDR in table static:<localhost> -> found lookup: check "hosting-openbsd.info" as DOMAIN in table static:<anydestination> -> found debug: 0x1dd94bcfe000: end of message, msgflags=0x0000 smtp-in: Accepted message ea33596d on session e4a930cdc1536f29: from=<[email protected]>, to=<[email protected]>, size=676, ndest=1, proto=ESMTP debug: scheduler: evp:ea33596d08f5d4dd scheduled (mta) relay: Ok for e83e046f18039fe3: session=e4a930cc6a27e17b, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=127.0.0.1, relay=127.0.0.1 (localhost), delay=3s, stat=250 2.0.0: ea33596d Message accepted for delivery debug: mta: waiting for 1s before next transaction debug: mta: flush for e83e046f18039fe3 (-> [email protected]) debug: mta: received evp:ea33596d08f5d4dd for <[email protected]> debug: mta: draining [relay:127.0.0.1,port=10030,mx] refcount=3, ntask=1, nconnector=1, nconn=1 debug: mta: [relay:127.0.0.1,port=10030,mx] waiting for connector debug: 0x1dd94be8e000: end of message, msgflags=0x0000 smtp-in: Accepted message 9fb22b27 on session e4a930d372747ad2: from=<[email protected]>, to=<[email protected]>, size=6154, ndest=1, proto=ESMTP debug: scheduler: evp:9fb22b277ed8b410 scheduled (mta) relay: Ok for f7585e5b307bfb48: session=e4a930d274d4da5d, from=<[email protected]>, to=<[email protected]>, rcpt=<->, source=127.0.0.1, relay=127.0.0.1 (localhost), delay=1s, stat=250 2.0.0: 9fb22b27 Message accepted for delivery debug: mta: waiting for 1s before next transaction debug: mta: flush for f7585e5b307bfb48 (-> [email protected]) debug: mta: received evp:9fb22b277ed8b410 for <[email protected]> debug: mta: draining [relay:hosting-openbsd.info] refcount=3, ntask=1, nconnector=1, nconn=1 debug: mta: [relay:hosting-openbsd.info] waiting for connector mta: timeout for session hangon debug: mta: 0x1dd8f2efdc00: handling next task for relay [relay:hosting-openbsd.info] mta: timeout for session hangon debug: mta: 0x1dd90df37800: no task for relay [relay:127.0.0.1,port=10027,mx] mta: debug: last connection: hanging on for 9s mta: timeout for session hangon debug: mta: 0x1dd8f2efda00: handling next task for relay [relay:127.0.0.1,port=10030,mx] lookup: check "78.46.145.206" as NETADDR in table static:<localhost> -> found lookup: check "hosting-openbsd.info" as DOMAIN in table static:<anydestination> -> found lookup: check "127.0.0.1" as NETADDR in table static:<localhost> -> found lookup: check "gmail.com" as DOMAIN in table static:<anydestination> -> found debug: 0x1dd851b3a000: end of message, msgflags=0x0000 debug: scheduler: evp:82055e19028ddd95 scheduled (mta) as you can see it seems that there are a spammer atacandome and don't know how to stop it nothing more I turn on the smtpd and starts to send thanks for any help 2015-02-15 13:05 GMT+00:00 Gilles Chehade <[email protected]>: > On Sun, Feb 15, 2015 at 12:27:51PM +0000, kanzer wrote: >> I have the same problem friend, >> >> you was able to solve this, I would appreciate if someone gives a light >> >> thanks >> > > Still happens ? > OpenBSD too ? What version ? > > > -- > Gilles Chehade > > https://www.poolp.org @poolpOrg -- editor de sueños -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
