Current time: 11-26-2024, 09:48 AM Hello There, Guest! (LoginRegister)


Thread Closed 
Emails not reaching hotmail.
Author Message
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #11
RE: Emails not reaching hotmail.
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.
(This post was last modified: 03-03-2008 02:02 AM by prale.)
03-03-2008 01:55 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: Emails not reaching hotmail.
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)
(This post was last modified: 03-03-2008 04:40 AM by joximu.)
03-03-2008 04:39 AM
Visit this user's website Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #13
RE: Emails not reaching hotmail.
Also see post no 19 on http://www.isp-control.net/forum/mails-n...t-310.html
03-03-2008 04:45 AM
Visit this user's website Find all posts by this user
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #14
RE: Emails not reaching hotmail.
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
(This post was last modified: 03-03-2008 05:39 PM by prale.)
03-03-2008 05:15 AM
Find all posts by this user
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #15
RE: Emails not reaching hotmail.
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?
03-03-2008 05:38 PM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #16
RE: Emails not reaching hotmail.
you should allow recursvie lookups for 127.0.0.1 or bind a recurser to another ip-address...
03-03-2008 08:10 PM
Visit this user's website Find all posts by this user
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #17
RE: Emails not reaching hotmail.
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.
(This post was last modified: 03-04-2008 03:26 AM by prale.)
03-04-2008 03:24 AM
Find all posts by this user
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #18
RE: Emails not reaching hotmail.
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
03-04-2008 06:34 AM
Find all posts by this user
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #19
RE: Emails not reaching hotmail.
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...
03-04-2008 07:56 AM
Find all posts by this user
prale Offline
Junior Member
*

Posts: 92
Joined: Feb 2008
Reputation: 1
Post: #20
RE: Emails not reaching hotmail.
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.
03-08-2008 01:58 AM
Find all posts by this user
Thread Closed 


Forum Jump:


User(s) browsing this thread: 9 Guest(s)