#1  
Old 16th January 2007, 02:09
sumwoman sumwoman is offline
Junior Member
 
Join Date: Jan 2007
Location: BC Canada
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default problem with incoming email

Greetings!

I have installed ISPConfig as instructed by Perfect Setup Fedora Core 6,
(in fact, in the last month I have installed Linux and ISPConfig more times than I have had sex...but perhaps I am sharing too much information with you.)

: )

This time around, everything is working save for incoming email.

I am connected via cable modem behind a router
NAT is enable and the necessary ports are open
Firewall is disabled

I have setup several domains running on the same IP address
and installed joomla on several of them and they all work fine.

FTP works fine

Squirrelmail can send but can't receive mail. (all accounts)

I can send email using outlook but can not receive email. (all accounts)

The only time I can receive email, is when I email from one of my own domains
to the another one of my own domains...(both reside on the same server).



here is error message from a gmail account from which I sent a test email
which was returned.

Delivery Status Notification
Technical details of permanent failure:
PERM_FAILURE: SMTP Error (state 9): 554 5.7.1 <xxxxxxx@writersblot.com>: Relay access denied


The master DNS / webserver is ns3.bchost.info and this appears in the co-domain section for all the other websites.

I spent quite a lot of time sorting through threads on this forum
but none of the proscribed answers worked for me.


Maildir is enabled in ISPConfig


/etc/postfix/main.cf (includes the following at the bottom of the page)

virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names



/etc/posftfix/local-host-names
contains a list of all domains

/etc/postfix/virtualtable
contains a list all domains


Please help me, as I need to get a life, but have decided not to,
until I figure out how to receive email for all of my domains currently
installed on ISPConfig.

Thanks so much.
Reply With Quote
Sponsored Links
  #2  
Old 16th January 2007, 08:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,981
Thanks: 825
Thanked 5,371 Times in 4,218 Posts
Default

Is this your external IP?

207.232.110.45

Which errors do you get in the mail.log of your server?

What is the output of:

grep writersblot.com /etc/postfix/local-host-names
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 16th January 2007, 18:37
sumwoman sumwoman is offline
Junior Member
 
Join Date: Jan 2007
Location: BC Canada
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks you Till for your response.

207.232.110.45

was the previous IP for this domain, but it was changed several days ago.
It took just as long before I could even view WWW pages for this domain.

NEW external IP : 70.68.xxx.xx
internal IP: 192.168.2.152

Here is the output for:
grep www.writersxxxx.com /etc/postfix/local-host-names

www.writersxxxx.com
writersblot.com


error messges is 'mail.log'

Not sure if this is the file you are referring to
Here is a copy of a file called 'maillog' (no dot in between the two words)
/var/log/maillog

--starts here


Jan 15 23:59:04 ns3 sendmail[9203]: alias database /etc/aliases rebuilt by root
Jan 15 23:59:04 ns3 sendmail[9203]: /etc/aliases: 76 aliases, longest 10 bytes, 765 bytes total
Jan 15 23:59:08 ns3 postfix/postfix-script: starting the Postfix mail system
Jan 15 23:59:08 ns3 postfix/master[9321]: daemon started -- version 2.3.3, configuration /etc/postfix
Jan 16 00:54:27 ns3 postfix/smtpd[10181]: connect from colo182-01.dedicated.netrino.co.uk[84.234.17.54]
Jan 16 00:54:27 ns3 postfix/smtpd[10181]: lost connection after CONNECT from colo182-01.dedicated.netrino.co.uk[84.234.17.54]
Jan 16 00:54:27 ns3 postfix/smtpd[10181]: disconnect from colo182-01.dedicated.netrino.co.uk[84.234.17.54]
Jan 16 00:57:47 ns3 postfix/anvil[10184]: statistics: max connection rate 1/60s for (smtp:84.234.17.54) at Jan 16 00:54:27
Jan 16 00:57:47 ns3 postfix/anvil[10184]: statistics: max connection count 1 for (smtp:84.234.17.54) at Jan 16 00:54:27
Jan 16 00:57:47 ns3 postfix/anvil[10184]: statistics: max cache size 1 at Jan 16 00:54:27
Jan 16 04:03:56 ns3 sendmail[13099]: l0GC2oa5013099: from=root, size=10317, class=0, nrcpts=1, msgid=<200701161202.l0GC2oa5013099@ns3.bchost.info >, relay=root@localhost
Jan 16 04:03:56 ns3 postfix/smtpd[13350]: connect from localhost.localdomain[127.0.0.1]
Jan 16 04:03:56 ns3 postfix/smtpd[13350]: setting up TLS connection from localhost.localdomain[127.0.0.1]
Jan 16 04:03:56 ns3 postfix/smtpd[13350]: TLS connection established from localhost.localdomain[127.0.0.1]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Jan 16 04:03:56 ns3 sendmail[13099]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256
Jan 16 04:03:56 ns3 postfix/smtpd[13350]: B245C4F17C6: client=localhost.localdomain[127.0.0.1], sasl_sender=root@ns3.bchost.info
Jan 16 04:03:56 ns3 postfix/cleanup[13353]: B245C4F17C6: message-id=<200701161202.l0GC2oa5013099@ns3.bchost.info>
Jan 16 04:03:56 ns3 sendmail[13099]: l0GC2oa5013099: to=root, ctladdr=root (0/0), delay=00:01:06, xdelay=00:00:00, mailer=relay, pri=40317, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as B245C4F17C6)
Jan 16 04:03:56 ns3 postfix/qmgr[9323]: B245C4F17C6: from=<root@ns3.bcxxxx.info>, size=11123, nrcpt=1 (queue active)
Jan 16 04:03:56 ns3 postfix/smtpd[13350]: disconnect from localhost.localdomain[127.0.0.1]
Jan 16 04:03:56 ns3 postfix/local[13354]: B245C4F17C6: to=<root@ns3.bcxxxx.info>, relay=local, delay=0.16, delays=0.05/0.07/0/0.04, dsn=2.0.0, status=sent (delivered to maildir)
Jan 16 04:03:56 ns3 postfix/qmgr[9323]: B245C4F17C6: removed

--ends here


Sorry if this is not the file you requested.
Please tell me where I can find the file called 'mail.log' on my server.

Thanks again!

Last edited by sumwoman; 21st June 2007 at 17:51.
Reply With Quote
  #4  
Old 17th January 2007, 01:07
sumwoman sumwoman is offline
Junior Member
 
Join Date: Jan 2007
Location: BC Canada
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I would like to correct one detail included in my initial posting

--starts here

The master DNS / webserver is ns3.bchost.info and this appears in the co-domain section for all the other websites.

--endshere



the master DNS is indeed ns3.bcxxxx.info




However...


In DNS Manger section there is a tab called 'Co-Domains'
and each domain has an entry...


for example www.writersxxxx

Co-Domains
192.168.x.xxx www.writersxxxx





for example www.indyxxxx.info

Co-Domains
192.168.2.152 www.indyxxxx.info



Presently each domain has an entry in the Co-Domains section
which refers to one and the same IP Address
and its own respective domain name.




As well, within Co-Domains tab when I click on the IP address
there appears another set of tabs 'Forward' and 'Options'

In 'Options' tab there is a a drop down menu with the following choices.

External Mail Server
Internal Mail Server

Currently, Internal Mail Server is selected. (all accounts)



HELP! I have not received email through my regular mailbox for a week now...I miss my spam...!!

Last edited by sumwoman; 21st June 2007 at 17:50.
Reply With Quote
  #5  
Old 17th January 2007, 18:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

The MX record for your domain is wrong:

Code:
mh1:~# dig mx writersblot.com

; <<>> DiG 9.2.1 <<>> mx writersblot.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34390
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;writersblot.com.               IN      MX

;; ANSWER SECTION:
writersblot.com.        172800  IN      MX      0 mail.writersblot.com.

;; ADDITIONAL SECTION:
mail.writersblot.com.   172800  IN      A       207.232.110.45

;; Query time: 412 msec
;; SERVER: 213.191.92.84#53(213.191.92.84)
;; WHEN: Wed Jan 17 18:21:52 2007
;; MSG SIZE  rcvd: 70
You must make mail.writersblot.com point to 70.68.195.65 instead.
The authoritative nameservers for your domain are:

Code:
mh1:~# dig ns writersblot.com

; <<>> DiG 9.2.1 <<>> ns writersblot.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 50252
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2

;; QUESTION SECTION:
;writersblot.com.               IN      NS

;; ANSWER SECTION:
writersblot.com.        864     IN      NS      ns2.bchost.info.
writersblot.com.        864     IN      NS      ns3.bchost.info.

;; ADDITIONAL SECTION:
ns3.bchost.info.        86263   IN      A       70.68.195.65
ns2.bchost.info.        86263   IN      A       207.232.110.41

;; Query time: 373 msec
;; SERVER: 213.191.92.84#53(213.191.92.84)
;; WHEN: Wed Jan 17 18:24:09 2007
;; MSG SIZE  rcvd: 112
so you must change the DNS record there, not on your ISPConfig server.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
sumwoman (21st June 2007)
  #6  
Old 17th January 2007, 21:07
sumwoman sumwoman is offline
Junior Member
 
Join Date: Jan 2007
Location: BC Canada
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Default

This is what I get when I use 'dig' command while logged on to ns3.bchost.info

Quote:
[root@ns3 ~]# dig mx writersblot.com

; <<>> DiG 9.3.3rc3 <<>> mx writersblot.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 439
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1

;; QUESTION SECTION:
;writersblot.com. IN MX

;; ANSWER SECTION:
writersblot.com. 864 IN MX 10 mail.writersblot.com.

;; AUTHORITY SECTION:
writersblot.com. 864 IN NS ns3.bcxxxx.info.
writersblot.com. 864 IN NS ns2.bcxxxx.info.

;; ADDITIONAL SECTION:
mail.writersblot.com. 864 IN A 192.168.x.xxx

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jan 17 11:58:16 2007
;; MSG SIZE rcvd: 117
I think there are several issues at work here.
To avoid confusion I'll just deal with one issue per post.

I think I need to clear cache files from a demoted DNS server.
( cache files pertaining to ns and mx zone records)
so...
How should go about clearing cache files from a linux server and a window 2003 server?

I did search for an answer to this question, both on google and this forum.
No luck.
Looking forward to your response. Thanks alot!

Last edited by sumwoman; 21st June 2007 at 17:48.
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
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
Postfix Email Delivery Problem sedat1903 HOWTO-Related Questions 2 22nd December 2008 11:19
Weird problem when sending email from a PHP form. edge Installation/Configuration 5 5th September 2006 16:57
Problem with 'CC' & 'BCC' email not being delivered. snowfly HOWTO-Related Questions 10 20th July 2006 12:36
ISPConfig 2.2.0 problem with email addresses DataJet General 1 29th March 2006 13:29


All times are GMT +2. The time now is 17:55.


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