ispCP - Board - Support
Emails not reaching hotmail. - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Emails not reaching hotmail. (/thread-2618.html)

Pages: 1 2 3


RE: Emails not reaching hotmail. - prale - 03-03-2008 01:55 AM

I remember at my installation:

When you get to the “postfix screen” select internet site
If your debian setup is correct your domain should already be displayed on the screen. If not, enter the domain without the 'www.' portion (i.e. yourdomain.com)

It recommended me to use mail.yourdomain.com

Can I change this to yourdomain.com again?
Maybe by reinstalling postfix?
Because I think the problem is here.

After this I think I can just use the default settings again:

myhostname = sub.domain.net
mydomain = sub.domain.net.local

And if I use this I can receive the amavis/cron daemon emails again.
But I can't mail to any of my emailboxes, I get a mail returned to sender, so I guess if the first step at installation was without mail. in front, it works fine.


RE: Emails not reaching hotmail. - joximu - 03-03-2008 04:39 AM

I think it's more or less a dns problem.

You should use full qualified hostnames which are resolveable and reverse lookup should also be ok.
Since you should not use a domain name in main.cf which is also a virtual domain I like this solution:
$mydomain and $myhostname set to your fqhn (host.domain.tld) and the hostname you give as URL for ispCP (admin.host.domain.tld).

And take care that the dns are setup correctly.

(I don't like the .local very much)


RE: Emails not reaching hotmail. - joximu - 03-03-2008 04:45 AM

Also see post no 19 on http://www.isp-control.net/forum/mails-not-reacing-hotmailcom-t-310.html


RE: Emails not reaching hotmail. - prale - 03-03-2008 05:15 AM

Well, I have one problem solved.

myhostname = mail.dedicated1234.hostingcompany.net
mydomain = dedicated1234.hostingcompany.net.local
myorigin = dedicated1234.hostingcompany.net

Now I receive al root and amavis logs again.
And I can email to emailboxes of users without the return to sender email.

Still hotmail doesn't works :S


RE: Emails not reaching hotmail. - prale - 03-03-2008 05:38 PM

I discovered that monit can't reach 127.0.0.1:53.
Strange, since I can see in ISPCP that the DNS is UP at port 53.

But I was thinking maybe this all happens after I secured the DNS server:

Quote:10.) Securing Open DNS server (BIND 9)
After a clean install of a Debian server, dnsstuff.com reports the server as an open dns server(anyone can query the server about any domain ⇒ high load and high transfer). 2 steps for fixing this problem:

a. first edit /etc/bind/named.conf.options (or /etc/named/named.conf for other distros, options paragraph) and add:

recursion no; transfer-format many-answers; //this is for speed up the transfer to a secondary dns b. we need to modify the template used by ISPCP to generate to zone files, on Debian this is /etc/ispcp/bind/parts/cfg_entry.tpl. The file after modification should looks like:

zone "{DMN_NAME}" { type master; file "{DB_DIR}/{DMN_NAME}.db"; notify YES; allow-query { any; }; };

Restart BIND:
/etc/init.d/bind9 restart

Done.

Maybe this is why M$ can't check the SPF from the DNS service?


RE: Emails not reaching hotmail. - rbtux - 03-03-2008 08:10 PM

you should allow recursvie lookups for 127.0.0.1 or bind a recurser to another ip-address...


RE: Emails not reaching hotmail. - prale - 03-04-2008 03:24 AM

I did the following:

allow-recursion { MAIN_IP;127.0.0.1; };
allow-notify { MAIN_IP;127.0.0.1; };
allow-transfer { MAIN_IP;127.0.0.1; };

(where MAIN_IP is my real ip adress)

Monit can see the dns running now.(again one problem solved Smile)
But still hotmail doesn't delivers the emails.Sad

Maybe I must create NS,MX and SPF records at the host where I bought my domain?
I only created a DNS A record there to my server ip.


RE: Emails not reaching hotmail. - prale - 03-04-2008 06:34 AM

I discovered and fixed another problem:

when :
Code:
$myhostname = mail.dedicated1234.hostingcompany.com
I couldn't send emails with outlook trough port 587 (504 5.5.2 Helo response), but I could receive mail from emailboxes when emails were sent with my ISP smtp.

when:
Code:
$myhostname = dedicated1234.hostingcompany.com
as I already told before I get a return to sender response "user" not found.

So I went almost crazy...

until I discovered
Code:
mydestination       = $myhostname, $mydomain

Now this setup works perfect!:

Code:
myhostname = dedicated1234.hostingcompany.net
mydomain   = dedicated1234.hostingcompany.local
myorigin   = $myhostname

smtpd_banner = $myhostname ESMTP
setgid_group = postdrop

#
# Receiving messages parameters;
#

mydestination       = mail.$myhostname, $mydomain



RE: Emails not reaching hotmail. - prale - 03-04-2008 07:56 AM

Still no success with hotmail :S

Also a new problem:S

I have 2 emailadresses:
admin@ispcp_main_domain.com
admin@clientsite.com

from both emailboxes I can receive new emails with outlook

but sending emails only works for the @ispcp_main_domain.com
It looks like the email(s) of the clientsite(s) is just not accepted by smtp auth, since it keeps on returning the login popup.

btw sending "local" php mail() from the client site(s) work fine...


RE: Emails not reaching hotmail. - prale - 03-08-2008 01:58 AM

I installed dovecot and went back to RC3.
(Because I want to update to RC4 safe Wink )

Also I created a valid SPF record for one of my domains, at the lycos DNS manager.

Still no succes with hotmail.
But gmail and others work fine :S

By the way, how can I use the built-in bind dns server?
I tested with creating only a NS record at lycos, then the site is down. It also needs an A record with the server ip to work.