Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th June 2013, 16:04
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default no email after changed domain to own IP?

Hi, have given 2 domains their own IPs and set dns to reflec new IP address.

The web works fine, but now email is not working when using remote client?

It is working when i use webmail?

accounts on shared IP work fine.

a test via remote telnet confirms this?

Any ideas why?

thanks

Last edited by carpman; 28th June 2013 at 16:09.
Reply With Quote
Sponsored Links
  #2  
Old 29th June 2013, 03:09
tahunasky tahunasky is offline
Member
 
Join Date: Jul 2012
Location: Buenos Aires
Posts: 84
Thanks: 1
Thanked 8 Times in 8 Posts
Default

When you say "remote client" do you mean a client (outlook/thunderbird/live mail etc) from a remote location outside your local LAN ?

If so have you checked that the ports are open on the router/server, and being forwarded from router to server, and that the client is using the correct ports.

Webmail uses port 80/443, where a client will use port 110/995 for pop3, 143/993 imap and 25/587 smtp usually depending on your setup.
Reply With Quote
  #3  
Old 29th June 2013, 08:23
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by tahunasky View Post
When you say "remote client" do you mean a client (outlook/thunderbird/live mail etc) from a remote location outside your local LAN ?

If so have you checked that the ports are open on the router/server, and being forwarded from router to server, and that the client is using the correct ports.

Webmail uses port 80/443, where a client will use port 110/995 for pop3, 143/993 imap and 25/587 smtp usually depending on your setup.
Yes mean email client.

It is not a port issue as i can connect to other email accounts on the server that use the shared IP, it is just the 2 domains that i have allocated there own dedicated IP address!

I have tried to telnet to newipdomains.com on port 25 and 587 from both remote machine and on the server, but get connection refused error on both?
Reply With Quote
  #4  
Old 29th June 2013, 08:32
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

I thought my IP may have been banned, but get same issue using mobile network.

check fail2ban to make sure and does not have any banned IPs

iptables -L -n
Code:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
fail2ban-ssh  tcp  --  0.0.0.0/0            0.0.0.0/0           multiport dports 22 
fail2ban-pureftpd  tcp  --  0.0.0.0/0            0.0.0.0/0           multiport dports 21 
fail2ban-dovecot-pop3imap  tcp  --  0.0.0.0/0            0.0.0.0/0           multiport dports 110,995,143,993 

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

Chain fail2ban-dovecot-pop3imap (1 references)
target     prot opt source               destination         
RETURN     all  --  0.0.0.0/0            0.0.0.0/0           

Chain fail2ban-pureftpd (1 references)
target     prot opt source               destination         
RETURN     all  --  0.0.0.0/0            0.0.0.0/0           

Chain fail2ban-ssh (1 references)
target     prot opt source               destination         
RETURN     all  --  0.0.0.0/0            0.0.0.0/0
tried an unban just in case, but get error

Code:
iptables -D fail2ban-dovecot-pop3imap -s HomeIP -j DROP
ptables: Bad rule (does a matching rule exist in that chain?).

Last edited by carpman; 29th June 2013 at 08:39.
Reply With Quote
  #5  
Old 29th June 2013, 08:49
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

A check on mxhealthcheck.com give the domain the all clear !

thanks
Reply With Quote
  #6  
Old 29th June 2013, 08:53
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Di need to edit postfix main.cf and set

Code:
smtp_bind_address
thanks
Reply With Quote
  #7  
Old 30th June 2013, 13:11
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default

anyone have any idea why this happened as really need to get my emails working again!

thanks
Reply With Quote
  #8  
Old 2nd July 2013, 12:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,166
Thanks: 829
Thanked 5,412 Times in 4,255 Posts
 
Default

Quote:
Di need to edit postfix main.cf and set
No, dont bind the IP there as mail delivery will stop then.

Please post the output of:

netstat -tap
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 10:56
Domain not able to receive outside mail jtheed Installation/Configuration 2 23rd October 2010 13:46
email domain aliases Wojtek1 General 2 15th October 2010 20:35
Step by step email setup for domain & clients aurasdoom Installation/Configuration 17 19th January 2010 12:25
Forward all email from a domain to a particular account ignasigarcia General 1 5th May 2009 14:24


All times are GMT +2. The time now is 08:52.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.