Koozali.org: home of the SME Server

Not Resolving External Mail

Offline Bud

  • *
  • 487
  • +0/-0
Not Resolving External Mail
« on: May 23, 2017, 10:14:49 AM »
guys please can you help

upgraded from 9.1 to 9.2

internal mail is working. all users can email each other and send email to external addresses without any issues.

i do receive external mail from a catchall account however NO email from the external catchall goes to any of the users on the mail server

i have noticed that it seems to download mail from the catchall account but does not empty the catchall account

what to do?
« Last Edit: May 23, 2017, 10:23:12 AM by Bud »

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Not Resolving External Mail
« Reply #1 on: May 23, 2017, 10:24:52 AM »
you're here enough to know that "it doesn't work" does not help us

take a look at your qpsmtpd's logs

Offline Bud

  • *
  • 487
  • +0/-0
Re: Not Resolving External Mail
« Reply #2 on: May 23, 2017, 10:33:53 AM »
Stefano thank you for your support

i have looked at the qpsmtpd/current log and have an example entry

2017-05-23 10:27:51.383922500 15281 dispatching MAIL FROM:<stuart@labour.com> SIZE=98559
2017-05-23 10:27:51.384193500 15281 250 <stuart@labour.com>, sender OK - how exciting to get mail from you!
2017-05-23 10:27:51.384297500 15281 dispatching RCPT TO:<hr@mysmeserver.com>
2017-05-23 10:27:51.384434500 15281 450 No plugin decided if relaying is allowed
2017-05-23 10:27:51.384568500 15281 dispatching RSET
2017-05-23 10:27:51.384609500 15281 250 OK

another one

2017-05-23 10:50:02.655633500 16698 250 OK
2017-05-23 10:50:03.060225500 16698 dispatching MAIL FROM:<esmerelda.stevens@easypay.com> SIZE=74076
2017-05-23 10:50:03.060485500 16698 250 <esmerelda.stevens@easypay.com>, sender OK - how exciting to get mail from you!
2017-05-23 10:50:03.060586500 16698 dispatching RCPT TO:<idpr@mysmeserver.com>
2017-05-23 10:50:03.060725500 16698 450 No plugin decided if relaying is allowed
2017-05-23 10:50:03.060854500 16698 dispatching RSET
2017-05-23 10:50:03.060914500 16698 250 OK
2017-05-23 10:50:03.523900500 16698 dispatching MAIL FROM:<3c7d50b1-5ee0-4d62-8d14-7ceac9aa7e23@smtp2.com> SIZE=16997

when i look at the hr email the mail is not being received in outlook
« Last Edit: May 23, 2017, 10:52:23 AM by Bud »

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Not Resolving External Mail
« Reply #3 on: May 23, 2017, 10:56:49 AM »
You likely have an old version of smeserver-wbl installed and/or custom templates in /etc/e-smith/templates-custom/var/service/qpsmtpd. You should either remove or upgrade smeserver-wbl. And remove any custom templates for qpsmtpd
C'est la fin du monde !!! :lol:

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Not Resolving External Mail
« Reply #4 on: May 23, 2017, 11:05:18 AM »
Stefano thank you for your support

i have looked at the qpsmtpd/current log and have an example entry

2017-05-23 10:27:51.383922500 15281 dispatching MAIL FROM:<stuart@labour.com> SIZE=98559
2017-05-23 10:27:51.384193500 15281 250 <stuart@labour.com>, sender OK - how exciting to get mail from you!
2017-05-23 10:27:51.384297500 15281 dispatching RCPT TO:<hr@mysmeserver.com>
2017-05-23 10:27:51.384434500 15281 450 No plugin decided if relaying is allowed
2017-05-23 10:27:51.384568500 15281 dispatching RSET
2017-05-23 10:27:51.384609500 15281 250 OK

another one

2017-05-23 10:50:02.655633500 16698 250 OK
2017-05-23 10:50:03.060225500 16698 dispatching MAIL FROM:<esmerelda.stevens@easypay.com> SIZE=74076
2017-05-23 10:50:03.060485500 16698 250 <esmerelda.stevens@easypay.com>, sender OK - how exciting to get mail from you!
2017-05-23 10:50:03.060586500 16698 dispatching RCPT TO:<idpr@mysmeserver.com>
2017-05-23 10:50:03.060725500 16698 450 No plugin decided if relaying is allowed
2017-05-23 10:50:03.060854500 16698 dispatching RSET
2017-05-23 10:50:03.060914500 16698 250 OK
2017-05-23 10:50:03.523900500 16698 dispatching MAIL FROM:<3c7d50b1-5ee0-4d62-8d14-7ceac9aa7e23@smtp2.com> SIZE=16997

when i look at the hr email the mail is not being received in outlook


you are welcome ;-)

in any case, you already had the answer from Daniel

next time:
- first of all, take a look at your logs.. 99.999% all you need is there
- find the error message
- use it here, as search key

and.. et voilà: https://forums.contribs.org/index.php/topic,53023.0.html :-)


Offline Bud

  • *
  • 487
  • +0/-0
Re: Not Resolving External Mail
« Reply #5 on: May 23, 2017, 11:43:32 AM »
Stefano and Daniel B. thank you very much

Daniel B. how did you know it was an old version of smeserver-wbl

how did you know?

amazing, all is working after i removed smeserver-wbl

please tell as i do not see where it says that in the logs

sorry for the noob question  :P

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Not Resolving External Mail
« Reply #6 on: May 23, 2017, 11:46:50 AM »
Daniel B. how did you know it was an old version of smeserver-wbl
how did you know?

something called experience, I guess ;-)

Quote
amazing, all is working after i removed smeserver-wbl

you don't need to remove it, just update it with
Code: [Select]
yum --enablerepo=smecontribs update smeserver-wbl

Quote
sorry for the noob question  :P

there are no "noob" questions..

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Not Resolving External Mail
« Reply #7 on: May 23, 2017, 01:15:11 PM »
moving to SME9.x Contribs

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Not Resolving External Mail
« Reply #8 on: May 23, 2017, 11:04:56 PM »
Bud

Quote
Daniel B. how did you know it was an old version of smeserver-wbl
how did you know?

If you read the thread Stefano pointed out to you, you see this is an issue that has already been identified a month ago.
So in all probability Daniels familiarity with sme server & previous problem solving gave him a "heads up" to identify your problem also, call it an "educated guess" or more likely "I am pretty sure I know what the problem is here", I suppose.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Bud

  • *
  • 487
  • +0/-0
Re: Not Resolving External Mail
« Reply #9 on: May 24, 2017, 05:16:46 AM »
janet, Stefano and Daniel B. what can i say.

i only work with the best

thank you very much  :-)

Offline Jean-Philippe Pialasse

  • *
  • 2,772
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Not Resolving External Mail
« Reply #10 on: May 24, 2017, 06:20:35 PM »
janet, Stefano and Daniel B. what can i say.

i only work with the best

thank you very much  :-)
Next time you can find information and save you time on the wikiin the new release wiki page, there is usually a known issue section : https://wiki.contribs.org/SME_Server:9.2#Known_issues_when_upgrading_from_previous_SME9.x

Offline Bud

  • *
  • 487
  • +0/-0
Re: Not Resolving External Mail
« Reply #11 on: May 30, 2017, 09:16:21 AM »
thank you Jean-Philippe Pialasse for the info

SME SERVER 9.2 64Bit

i can receive internal mail including mail is resolving from external catchall however NO mail is being delivered outside my lan to external mail accounts  :shock:

-----------------------------------------------------------

2017-05-30 09:02:11.726820500 11860 Accepted connection 0/40 from 192.0.0.199 / pc-00199.mysmeserver.com
2017-05-30 09:02:11.726883500 11860 Connection from pc-00199.mysmeserver.com [192.0.0.199]
2017-05-30 09:02:11.811656500 11860 (connect) relay: pass, octet match in relayclients (192.0.0.)
2017-05-30 09:02:11.811766500 11860 220 smemail.mysmeserver.com ESMTP
2017-05-30 09:02:11.813279500 11860 dispatching EHLO SEC30CDA7A27675
2017-05-30 09:02:11.813707500 11860 250-mysmeserver.com Hi pc-00199.mysmeserver.com [192.0.0.199]
2017-05-30 09:02:11.813717500 11860 250-PIPELINING
2017-05-30 09:02:11.813728500 11860 250-8BITMIME
2017-05-30 09:02:11.813739500 11860 250-SIZE 50000000
2017-05-30 09:02:11.813749500 11860 250 STARTTLS
2017-05-30 09:02:11.814654500 11860 dispatching MAIL FROM:<scanner@mysmeserver.com>
2017-05-30 09:02:11.814978500 11860 (mail) naughty: pass
2017-05-30 09:02:11.815028500 11860 (mail) badmailfrom: skip, relay client
2017-05-30 09:02:11.815084500 11860 250 <scanner@mysmeserver.com>, sender OK - how exciting to get mail from you!
2017-05-30 09:02:11.815512500 11860 dispatching RCPT TO:<pamelaw@mysmeserver.com>
2017-05-30 09:02:11.815659500 11860 (rcpt) badrcptto: skip, relay client
2017-05-30 09:02:11.815695500 11860 (rcpt) rcpt_ok: skip, relay client
2017-05-30 09:02:11.815746500 11860 250 <pamelaw@mysmeserver.com>, recipient ok
2017-05-30 09:02:11.816084500 11860 dispatching DATA
2017-05-30 09:02:11.816173500 11860 354 go ahead
2017-05-30 09:02:11.836963500 11860 spooling message to disk
2017-05-30 09:02:11.875390500 11860 (data_post_headers) dkim: skip, DKIM not configured for mysmeserver.com
2017-05-30 09:02:11.887166500 11860 (data_post) bogus_bounce: pass, not a null sender
2017-05-30 09:02:11.887225500 11860 (data_post) headers: skip, relay client
2017-05-30 09:02:11.887262500 11860 (data_post) naughty: pass
2017-05-30 09:02:11.912830500 11860 (queue) logging::logterse: ` 192.0.0.199   pc-00199.mysmeserver.com   SEC30CDA7A27675   <scanner@mysmeserver.com>   <pamelaw@mysmeserver.com>   queued      <15719116.51.1496127560806.JavaMail.root@SEC30CDA7A27675>   
2017-05-30 09:02:11.913678500 11861 (queue) queue::qmail_2dqueue: (for 11860) Queuing to /var/qmail/bin/qmail-queue
2017-05-30 09:02:12.264009500 11860 250 Queued! 1496127732 qp 11861 <15719116.51.1496127560806.JavaMail.root@SEC30CDA7A27675>
2017-05-30 09:02:12.264525500 11860 dispatching QUIT
2017-05-30 09:02:12.264633500 11860 221 mysmeserver.com closing connection. Have a wonderful day.
2017-05-30 09:02:12.264653500 11860 click, disconnecting
2017-05-30 09:02:12.719782500 9341 cleaning up after 11860
2017-05-30 09:03:05.337661500 11907 Accepted connection 0/40 from 192.0.0.215 / pc-00215.mysmeserver.com
2017-05-30 09:03:05.337715500 11907 Connection from pc-00215.mysmeserver.com [192.0.0.215]
2017-05-30 09:03:05.422448500 11907 (connect) relay: pass, octet match in relayclients (192.0.0.)
2017-05-30 09:03:05.422546500 11907 220 smemail.mysmeserver.com ESMTP
2017-05-30 09:03:05.431971500 11907 dispatching EHLO intakepc
2017-05-30 09:03:05.432411500 11907 250-mysmeserver.com Hi pc-00215.mysmeserver.com [192.0.0.215]
2017-05-30 09:03:05.432420500 11907 250-PIPELINING
2017-05-30 09:03:05.432431500 11907 250-8BITMIME
2017-05-30 09:03:05.432443500 11907 250-SIZE 50000000
2017-05-30 09:03:05.432453500 11907 250 STARTTLS
2017-05-30 09:03:05.433187500 11907 dispatching STARTTLS
2017-05-30 09:03:05.433225500 11907 220 Go ahead with TLS
2017-05-30 09:03:05.447730500 11907 (unrecognized_command) tls: TLS setup returning
2017-05-30 09:03:06.919988500 11907 dispatching EHLO intakepc
2017-05-30 09:03:06.921025500 11907 250-mysmeserver.com Hi pc-00215.mysmeserver.com [192.0.0.215]
2017-05-30 09:03:06.921065500 11907 250-PIPELINING
2017-05-30 09:03:06.921120500 11907 250-8BITMIME
2017-05-30 09:03:06.921184500 11907 250-SIZE 50000000
2017-05-30 09:03:06.921232500 11907 250 AUTH PLAIN LOGIN
2017-05-30 09:03:06.925362500 11907 dispatching AUTH LOGIN
2017-05-30 09:03:06.925979500 11907 334 VXNlcm5hbWU6
2017-05-30 09:03:06.926513500 11907 334 UGFzc3dvcmQ6
2017-05-30 09:03:06.929263500 11907 (auth-login) auth::auth_cvm_unix_local: pass: authentication for: intake
2017-05-30 09:03:06.929532500 11907 235 LOGIN authentication successful for intake - auth success for intake
2017-05-30 09:03:06.941547500 11907 dispatching MAIL FROM: <intake@mysmeserver.com>
2017-05-30 09:03:06.942726500 11907 (mail) naughty: pass
2017-05-30 09:03:06.942930500 11907 (mail) badmailfrom: skip, relay client
2017-05-30 09:03:06.943166500 11907 250 <intake@mysmeserver.com>, sender OK - how exciting to get mail from you!
2017-05-30 09:03:06.944058500 11907 dispatching RCPT TO: <sandrag@mysmeserver.com>
2017-05-30 09:03:06.944730500 11907 (rcpt) badrcptto: skip, relay client
2017-05-30 09:03:06.944885500 11907 (rcpt) rcpt_ok: skip, relay client
2017-05-30 09:03:06.945097500 11907 250 <sandrag@mysmeserver.com>, recipient ok
2017-05-30 09:03:06.945490500 11907 dispatching DATA
2017-05-30 09:03:06.945572500 11907 354 go ahead
2017-05-30 09:03:06.953657500 11907 spooling message to disk
2017-05-30 09:03:06.970520500 11907 (data_post_headers) dkim: skip, DKIM not configured for mysmeserver.com
2017-05-30 09:03:06.978032500 11907 (data_post) bogus_bounce: pass, not a null sender
2017-05-30 09:03:06.978090500 11907 (data_post) headers: skip, relay client
2017-05-30 09:03:06.978126500 11907 (data_post) naughty: pass
2017-05-30 09:03:06.984107500 11907 (queue) logging::logterse: ` 192.0.0.215   pc-00215.mysmeserver.com   intakepc   <intake@mysmeserver.com>   <sandrag@mysmeserver.com>   queued      <000001d2d913$0aaa88c0$1fff9a40$@mysmeserver.com>   
2017-05-30 09:03:06.984964500 11916 (queue) queue::qmail_2dqueue: (for 11907) Queuing to /var/qmail/bin/qmail-queue
2017-05-30 09:03:07.333996500 11907 250 Queued! 1496127787 qp 11916 <000001d2d913$0aaa88c0$1fff9a40$@mysmeserver.com>
2017-05-30 09:03:09.835964500 11907 dispatching QUIT
2017-05-30 09:03:09.836420500 11907 221 mysmeserver.com closing connection. Have a wonderful day.
2017-05-30 09:03:09.836684500 11907 click, disconnecting
2017-05-30 09:03:10.337624500 9341 cleaning up after 11907

--------------------------------------------------------------------------

i have uninstalled smeserver-wbl, smeserver-mailstats and isoqlog

did a signal-event post-upgrade and signal-event reboot

no email being delivered outside of lan
what to do?  :shock:

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: Not Resolving External Mail
« Reply #12 on: May 30, 2017, 10:11:04 AM »
If the emails you send to the outside are not delivered, you need to look at /var/log/qmail/current to understand what's happening
C'est la fin du monde !!! :lol:

Offline Bud

  • *
  • 487
  • +0/-0
Re: Not Resolving External Mail
« Reply #13 on: May 30, 2017, 10:36:19 AM »
Thank you Daniel B.

qmail current

---------------------------------------------

@40000000592d2e8a08f1aa4c delivery 4884: deferral: 169.1.1.77_does_not_like_recipient./Remote_host_said:_451_Temporary_local_problem_-_please_try_later/Giving_up_on_169.1.1.77./
@40000000592d2e8a08f1d544 status: local 0/20 remote 19/20
@40000000592d2e8a08f242a4 starting delivery 4904: msg 5511284 to remote rayofsun19@yahoo.com
@40000000592d2e8a08f24a74 status: local 0/20 remote 20/20
@40000000592d2e980e8648dc delivery 4885: deferral: 169.1.1.77_does_not_like_recipient./Remote_host_said:_451_Temporary_local_problem_-_please_try_later/Giving_up_on_169.1.1.77./
@40000000592d2e980e8677bc status: local 0/20 remote 19/20
@40000000592d2e980e86f0d4 starting delivery 4905: msg 5511284 to remote mr_wood_row@yahoo.com
@40000000592d2e980e872784 status: local 0/20 remote 20/20
@40000000592d2e980edfea2c delivery 4886: deferral: 169.1.1.77_does_not_like_recipient./Remote_host_said:_451_Temporary_local_problem_-_please_try_later/Giving_up_on_169.1.1.77./
@40000000592d2e980ee01524 status: local 0/20 remote 19/20
@40000000592d2e980ee08284 starting delivery 4906: msg 5511284 to remote southernangle068@yahoo.com
@40000000592d2e980ee08a54 status: local 0/20 remote 20/20
@40000000592d2e980efbde6c delivery 4887: deferral: 169.1.1.77_does_not_like_recipient./Remote_host_said:_451_Temporary_local_problem_-_please_try_later/Giving_up_on_169.1.1.77./
@40000000592d2e980efc4fb4 status: local 0/20 remote 19/20
@40000000592d2e980efca5a4 starting delivery 4907: msg 5511284 to remote ddorney@localnet.com
@40000000592d2e980efcad74 status: local 0/20 remote 20/20
@40000000592d2e9d1ef8d734 delivery 4888: deferral: 169.1.1.77_does_not_like_recipient./Remote_host_said:_451_Temporary_local_problem_-_please_try_later/Giving_up_on_169.1.1.77./
@40000000592d2e9d1ef8eea4 status: local 0/20 remote 19/20
@40000000592d2e9d1ef8f674 delivery 4889: deferral: 169.1.1.77_does_not_like_recipient./Remote_host_said:_451_Temporary_local_problem_-_please_try_later/Giving_up_on_169.1.1.77./
@40000000592d2e9d1ef90614 status: local 0/20 remote 18/20
@40000000592d2e9d1f029f1c starting delivery 4908: msg 5511282 to remote holtsrus@aol.com
@40000000592d2e9d1f02aad4 status: local 0/20 remote 19/20
@40000000592d2e9d1f02b2a4 starting delivery 4909: msg 5511282 to remote jessicastar72@yahoo.com
@40000000592d2e9d1f02ba74 status: local 0/20 remote 20/20

--------------------------------------------------------------------------

any ideas ?

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Not Resolving External Mail
« Reply #14 on: May 30, 2017, 10:37:37 AM »
who is 169.1.1.77?