|
Emails not reaching hotmail.
|
| Author |
Message |
prale
Junior Member

Posts: 92
Joined: Feb 2008
Reputation: 1
|
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.
Debian Etch
IspCP-Omega 1.0.0 RC6 - trunk
Monit
Munin
Awstats Dynamic
Fail2Ban
APF Firewall
DDOS Deflate
ModSecurity2
eAccelerator
Subversion, Trac (mod_python)
(This post was last modified: 03-03-2008 02:02 AM by prale.)
|
|
| 03-03-2008 01:55 AM |
|
joximu
Moderator
    
Posts: 3,815
Joined: Jan 2007
Reputation: 47
|
RE: Emails not reaching hotmail.
2008-08-05 ispCP RC6 released!!!
|
|
| 03-03-2008 04:45 AM |
|
prale
Junior Member

Posts: 92
Joined: Feb 2008
Reputation: 1
|
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
Debian Etch
IspCP-Omega 1.0.0 RC6 - trunk
Monit
Munin
Awstats Dynamic
Fail2Ban
APF Firewall
DDOS Deflate
ModSecurity2
eAccelerator
Subversion, Trac (mod_python)
(This post was last modified: 03-03-2008 05:39 PM by prale.)
|
|
| 03-03-2008 05:15 AM |
|
prale
Junior Member

Posts: 92
Joined: Feb 2008
Reputation: 1
|
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?
Debian Etch
IspCP-Omega 1.0.0 RC6 - trunk
Monit
Munin
Awstats Dynamic
Fail2Ban
APF Firewall
DDOS Deflate
ModSecurity2
eAccelerator
Subversion, Trac (mod_python)
|
|
| 03-03-2008 05:38 PM |
|
prale
Junior Member

Posts: 92
Joined: Feb 2008
Reputation: 1
|
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  )
But still hotmail doesn't delivers the emails.
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.
Debian Etch
IspCP-Omega 1.0.0 RC6 - trunk
Monit
Munin
Awstats Dynamic
Fail2Ban
APF Firewall
DDOS Deflate
ModSecurity2
eAccelerator
Subversion, Trac (mod_python)
(This post was last modified: 03-04-2008 03:26 AM by prale.)
|
|
| 03-04-2008 03:24 AM |
|
prale
Junior Member

Posts: 92
Joined: Feb 2008
Reputation: 1
|
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
Debian Etch
IspCP-Omega 1.0.0 RC6 - trunk
Monit
Munin
Awstats Dynamic
Fail2Ban
APF Firewall
DDOS Deflate
ModSecurity2
eAccelerator
Subversion, Trac (mod_python)
|
|
| 03-04-2008 06:34 AM |
|
prale
Junior Member

Posts: 92
Joined: Feb 2008
Reputation: 1
|
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...
Debian Etch
IspCP-Omega 1.0.0 RC6 - trunk
Monit
Munin
Awstats Dynamic
Fail2Ban
APF Firewall
DDOS Deflate
ModSecurity2
eAccelerator
Subversion, Trac (mod_python)
|
|
| 03-04-2008 07:56 AM |
|
prale
Junior Member

Posts: 92
Joined: Feb 2008
Reputation: 1
|
RE: Emails not reaching hotmail.
I installed dovecot and went back to RC3.
(Because I want to update to RC4 safe  )
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.
Debian Etch
IspCP-Omega 1.0.0 RC6 - trunk
Monit
Munin
Awstats Dynamic
Fail2Ban
APF Firewall
DDOS Deflate
ModSecurity2
eAccelerator
Subversion, Trac (mod_python)
|
|
| 03-08-2008 01:58 AM |
|