This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Won't send executive reports to internal address

Greetings!

I'm running ASL 5.1, not fully in production yet but used for VPN and more recently SMTP proxy.  I have the executive reports run each evening and sent to my internal email address.  About 1.5 weeks ago I setup the SMTP proxy with user authentication against an internal LDAP server...awesome!  I can now sendmail to anybody from anywhere via my smtp authentication setup.

Only problem is, once I implemented it, the box no longer sends the executive reports to my internal email address.  For some reason it will not send mail from itself to my mail server, but it will proxy everything else.  I added an external hotmail address and mail is delivered there without issue.  The emails sent to the internal address end up in the proxy content page with "Mail delivery failed" subject.  The following is an exceprt from my SMTP Proxy log:

2005:01:25-23:58:01 (none) exim[24619]: 2005-01-25 23:58:01 1CtfFh-0006P5-4d do-not-reply@fw-notify.net H=localhost (localhost.localdomain) [127.0.0.1] P=esmtp S=104769
2005:01:25-23:58:01 (none) exim[24620]: 2005-01-25 23:58:01 1CtfFh-0006P5-4d ** myInternalEmail@phoenix-int.com R=static_route T=remote_smtp: SMTP error from remote mailer after end of data: host 192.168.0.25 [192.168.0.25]: 500 5.6.0 Data command failed: Line too long
2005:01:25-23:58:08 (none) exim[24620]: 2005-01-25 23:58:08 1CtfFh-0006P5-4d => myExternalEmail@hotmail.com R=dnslookup T=remote_smtp H=mx4.hotmail.com [65.54.253.230]
2005:01:25-23:58:08 (none) exim[24623]: 2005-01-25 23:58:08 1CtfFo-0006P9-Gc <> R=1CtfFh-0006P5-4d U=exim P=local S=105761
2005:01:25-23:58:08 (none) exim[24620]: 2005-01-25 23:58:08 1CtfFh-0006P5-4d Completed
2005:01:25-23:58:08 (none) exim[24624]: 2005-01-25 23:58:08 1CtfFo-0006P9-Gc ** do-not-reply@fw-notify.net R=dnslookup T=remote_smtp: SMTP error from remote mailer after DATA: host deadmail.fw-notify.net [216.167.31.86]: 550 fw-notify.net
2005:01:25-23:58:08 (none) exim[24624]: 2005-01-25 23:58:08 1CtfFo-0006P9-Gc Frozen (delivery error message)
2005:01:25-23:58:08 (none) exim[24624]: 2005-01-25 23:58:08 1CtfFo-0006P9-Gc moved from input, msglog to Finput, Fmsglog

Any help would be greatly appreciated!

Regards,
claud1e


This thread was automatically locked due to age.
  • Oracle is a dog to work with.  We run it in-house, MS SQL too, and MySQL.. I find Oracle the most difficult.
  • Hmmmmm.  Perhaps this is part of my problem.  I actually do maintain my own internal DNS, which coincidentally runs on my mail server.  

    For my ASL DNS Proxy settings I have my internal DNS listed first, then the 2 external DNS servers provided by our Internet provider.  

    Funny part is if I ping or nslookup mail or mail.mydomain.com from internal machines I get the correct internal address of my server.  On the other hand, when I ping mail or mail.mydomain.com from ASL I get the external IP of my current firewall. (yes I currently have 2 firewalls since ASL isn't fully setup yet)  That means mail.mydomain.com resolves to the external address of my old firewall and not my ASL box from the 'outside' world.

    I'm planning to move my ASL box into production ( replace current firewall all together ) pretty soon, perhaps this coming weekend.  In doing so mail.mydomain.com will then resolve to the external address of ASL...will that fix this issue or will I still need to implement a subdomain for internal lookups?

    Thanks in advance,
    Claud1e

    P.S.  I did spend $ on Astaro, new server, 3 years of updates and 90 days of support...of course I never needed any support until my time was up!    [:S]
  • You will still need one, unless you're using the SMTP proxy...
  • I will be using the SMTP Proxy so hopefully this will be resolved.  

    The question still remains though, will Astaro change the formatting of the Executive Reports to avoid this problem in the future?  At this point I still receive my daily backups and system messages from ASL with no problem.  It's just the Executive Reports that fail. 

    Since I don't have any support would it be advisable to modify the code that generates the reports?  If so, where do I find that code?

    Best Regards,
    Claud1e
  • As a matter of fact, I always found that one-line behaviour ugly, and it makes things hard to debug. Some customers had issues with mutilated executive reports which might be related to mail servers injecting line breaks or clients not able to process that huge line, but we could never reproduce that here. I already had a good idea what I wanted to change and did some work on it, but it never had the priority for an up2date (especially since we could not reproduce it, so I couldn't be sure it would really fix the issues); it was just considered cosmetic.
    Believe it or not, you are the first customer having a problem with that long line and where we can be sure that it really IS the long line causing that problem. To cut a long story short, I used this opportunity to fix this issue, and you can expect it to be in one of the next up2dates.

    This fix includes changes to two scripts and is too big to discuss it here, so you won't be able to make the modifications yourself. But, as you can see, you don't need support to get something done if the changes are beneficial to the whole community. :-)

    Regards,
    andreas
  • Andreas-

    Wow!  I can't tell you how much I appreciate your help and effort in resolving this issue.  Over time Astaro has really grown into a great product.  It is no doubt due to the time and effort of people like yourself and to the fact that y'all moderate the forums as you do, listening to your clients needs.

    Feel free to let me know if I can do anything to help you guys in return.   Other than spreading the word...which I already do!

    Best regards,
    Claud1e