PDA

View Full Version : Not receiving email digest


samohile
12-25-2007, 10:16 AM
It's Untangle 503, installed on vmware, running as router (PPPoE). I have a mail server on the network. Port 25 is forwarded (redirected) to the mail server.

I have configured email settings on Untangle server to send email using user and smtp authentication. I receive test email, untangle reports every morning.

There are quarantined emails for the users, but none of the users are receiving any email digests. Settings are:
Quarantinable addresses: * (All)
Quarantinable Forwards: None
General Settings: Holding time 28 days, Digest sending time 6.00AM

I believe if there is no email address specified in Quarantinable Forwards, a digest is sent to all email addresses if there are quarantined emails. And it doesn't seem to be working. Users don't receive those emails. I checked smtp logs on the server, but could not find anything coming from Untangle server.

Moreover, if I release email(s) from the quarantine, they are not delivered to the mail server. Again, I do not see anything coming from Untangle server (or emails coming from those senders) in the smtp logs.

Is there anything that I am doing wrong?

Thanks in advance for help and suggestions.

samohile
12-25-2007, 04:26 PM
Here is an update - I figured out what makes Untangle server not send email digest, but don't know why.

I configured my Untangle server's Networking --> Hostname tab for "myhostname.com" and checked the box "Hostname resolves publicly".

My mail server (MS Exchange) receives emails on this hostname "myhostname.com". For a reason unknown to me, Untangle does not like email addresses with the same domain as Untangle hostname. When I changed untangle hostname to my internal domain name, things work. I now receive digests. Hopefully I'll receive the released emails as well.

Why Untangle doesn't like email addresses with same domain name as publicly resolving hostname? My only reason for this was to allow remote VPN users download vpn clients remotely.

mdh
12-25-2007, 05:16 PM
Maybe its not Untangle, but actually your mail server. Look for log messages about unrecognized mail servers and/or mail relays in your Exchange server. Also look to see if you have a valid DNS record for the Untangle box.

samohile
12-27-2007, 08:11 PM
Actually, I figured that the untangle box doesn't like the recipient's email address (I discovered it while testing email settings) if the domain part of the email address matches that of the hostname of untangle box. It errors out saying that your settings are wrong. At this point, it accepts and does send out email to any other email address. And the reason I don't believe it has anything to do with DNS records or mail server is that, if I setup untangle hostname to anything other than my domain name (dyndns, for example), it at least sends out test emails and reports.

The reason I was not receiving email digest and released emails was the same. I didn't know this was happening, since my mail server was receiving all emails, and I didn't test whether mailboxes on my mail server could receive emails from untangle box. Which means, Untangle box was filtering all the smtp emails and delivering to my mail server, but wasn't able to deliver its own emails to the mail server. I'll explain the setup below:

What didn't work:
Untangle box hostname: mydomain.com
Untangle box email settings: user=username@otherdomain.com
smtp: otherdomain.com
authentication: username@otherdomain.com, password=mypassword
Email recipient= user1@mydomain.com, user2@mydomain.com and so on.
(In the above case, everything works, except email digest and released emails. However, with this setup, the email settings error out when sending test email).

What does work:
Untangle box hostname: mydomain.dyndns.org (It can very well be just "Untangle").
Untangle box email settings: user=username@otherdomain.com
smtp: otherdomain.com
authentication: username@otherdomain.com, password=mypassword
Email recipient= user1@mydomain.com, user2@mydomain.com and so on.
(In the above case, everything works).

All I had to change was the Untangle hostname to something other than my domain name.