View Full Version : Mail not reaching my local Server! Queued in system....
Dimitriy
20th June 2006, 02:03
Setup:
Ubuntu 6.06 (using perfect installation guide)
Network: Single server single IP single site for the moment (IP Dedicated)
ISPConfig 2.23
-------------------------------
Ok I can:
> Send mail through both webmail (Roundcube/UM) and client (Mozilla Thunderbird using TLS).
I CANT:
> Retrieve mail using client (Thunderbird)
> Recieve mail to my inbox (but it goes into the queue...see below)
When I run the "postqueue -p" command I get the following printout...
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
BFF2D1AD87BD 2957 Fri Jun 16 17:33:19 MAILER-DAEMON
(Host or domain name not found. Name service error for name=antec.qualitysiding.net type=MX: Host not found, try again)
itsupport@antec.qualitysiding.net
593B81AD87C0 1593 Fri Jun 16 17:57:39 qualitysiding@gmail.com
(Host or domain name not found. Name service error for name=antec.qualitysiding.net type=MX: Host not found, try again)
itsupport@antec.qualitysiding.net
040511AD87C9 2351 Mon Jun 19 15:11:34 dimitriy.iyerusalimets@gmail.com
(Host or domain name not found. Name service error for name=antec.qualitysiding.net type=MX: Host not found, try again)
itsupport@antec.qualitysiding.net
-- 7 Kbytes in 3 Requests.
My local server is called "antec.qualitysiding.net" and my public domain is qualitysiding.net. My DNS is managed through www.poweryourname.com (A service similar to Godaddy) and it looks picture attached.
So what am I doing wrong here? I can send mail through Thunderbird and webmail using my public name (itsupport@qualitysiding.net) and it works completely fine.
ALSO, I use Gmail to test and whenever I respond to a message it doesnt give me an error. I assume this is because the mail is recieved at my end (qualitysiding.net -->> antec.qualitysiding.net) and stores it in a temporary location since it cant resolve the name?
Anybody got a hint on how to make say people who got mail.qualitysiding.net will take them to my webmail form (mail.qualitysiding.net -->> https://qualitysiding.net:81/roundcube)?
Thanks,
Dimitriy
DNS config if you cant get it:
http://img160.imageshack.us/img160/2923/mydns3ax.jpg
Dimitriy
20th June 2006, 02:14
Also results of hostname and "hostname -f" gives me the following:
antec -- just simple hostname
localhost.localdomain -- thats for "hostname -f"
Dimitriy
21st June 2006, 00:49
Should be simple enough.... No takers?
falko
21st June 2006, 01:49
dig antec.qualitysiding.net
; <<>> DiG 9.2.1 <<>> antec.qualitysiding.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63817
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;antec.qualitysiding.net. IN A
;; AUTHORITY SECTION:
qualitysiding.net. 3600 IN SOA dns01.gpn.register.com. partnersupport.register.com. 2002050701 10001 1801 604801 181
;; Query time: 138 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Wed Jun 21 00:48:14 2006
;; MSG SIZE rcvd: 114
antec.qualitysiding.net doesn't exist. Please create an A record for it.
Dimitriy
21st June 2006, 02:11
I created an A record for "antec.qualitysiding.net" to my IP: 71.231.xxx.xxx. But I have only one computer on this end. Do I have to set something in ISP config??
PS: I want email to come xuser@qualitysiding.net not xuser@antec.qualitysiding.net
Dimitriy
21st June 2006, 02:34
Ok got something here I think. The only place that postfix references the host name is in /etc/postfix/main.cf.
/etc/postfix/main.cf
...
myhostname = antec.qualitysiding.net
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = antec.qualitysiding.net, localhost.qualitysiding.net, , localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject _unauth_destination
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
So what should change?
falko
21st June 2006, 18:57
Just create an A record for antec.qualitysiding.net, that should work. I didn't see it in the dig output yet, but it might take some time until it appears.
Dimitriy
22nd June 2006, 00:57
This was done 24 hours ago. Should be working....
Dimitriy
22nd June 2006, 01:00
Results of "postqueue -p"
Does this make this a internal error then??
root@antec:~# postqueue -p -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
BFF2D1AD87BD 2957 Fri Jun 16 17:33:19 MAILER-DAEMON
(Host or domain name not found. Name service error for name=antec.qualitysiding.net type=MX: Host not found, try again)
itsupport@antec.qualitysiding.net
593B81AD87C0 1593 Fri Jun 16 17:57:39 qualitysiding@gmail.com
(Host or domain name not found. Name service error for name=antec.qualitysiding.net type=MX: Host not found, try again)
itsupport@antec.qualitysiding.net
040511AD87C9 2351 Mon Jun 19 15:11:34 dimitriy.iyerusalimets@gmail.com
(Host or domain name not found. Name service error for name=antec.qualitysiding.net type=MX: Host not found, try again)
itsupport@antec.qualitysiding.net
3B00B1AD87CD 1634 Tue Jun 20 16:24:34 dimitriy.iyerusalimets@gmail.com
(Host or domain name not found. Name service error for name=antec.qualitysiding.net type=MX: Host not found, try again)
itsupport@antec.qualitysiding.net
8F0181AD87CE 2204 Tue Jun 20 16:39:46 dimitriy.iyerusalimets@gmail.com
(Host or domain name not found. Name service error for name=antec.qualitysiding.net type=MX: Host not found, try again)
itsupport@antec.qualitysiding.net
-- 12 Kbytes in 5 Requests.
Dimitriy
22nd June 2006, 01:25
Get me a right answer and it works and you get 15 bucks in your paypal.
The ?/Problem: Make mail system work normally (eg. recieve and send mail.). Must be able to login as through POP and use a simple client aka Mozilla Thunderbird.
Its pretty simple but I am not a networking pro or even a novice.....
till
22nd June 2006, 13:36
You must create an MX record for "antec" in the domain qualitysiding.net.
If you want to get commercial support, please contact us at info [at] projektfarm [dot] de
falko
22nd June 2006, 16:37
This was done 24 hours ago. Should be working....
It's working now:
dig antec.qualitysiding.net
; <<>> DiG 9.2.1 <<>> antec.qualitysiding.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29794
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;antec.qualitysiding.net. IN A
;; ANSWER SECTION:
antec.qualitysiding.net. 3600 IN A 71.231.173.173
;; Query time: 102 msec
;; SERVER: 81.169.163.104#53(81.169.163.104)
;; WHEN: Thu Jun 22 15:35:00 2006
;; MSG SIZE rcvd: 57BTW, you should have put just antec instead of antec.qualitysiding.net in the host column of your DNS panel.
Dimitriy
23rd June 2006, 02:00
Same scenario. Except now postfix doesnt report a queue item whenever something is sent to: "itsupport@www.qualitysiding.net" and it doesnt appear in the inbox. It does however whenever I send mail to "itsupport@qualitysiding.net"
The Thunderbird (client software) issue still remains. However I believe its more of a authentication problem rather than a server configuration problem.
I have done as "till" said and now it represents antec A record to my IP.
Note that the /etc/postfix/virtusertable shows both addresses (X@www.*.net and X@*.net)
So what next?
PS: There is no bounceback for failed delivery.
falko
23rd June 2006, 18:28
What's the output of netstat -tap?
Which distribution do you use?
Dimitriy
24th June 2006, 01:37
Netstat -tap
'root@antec:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 5144/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 13316/smbd
tcp 0 0 *:5900 *:* LISTEN 6150/vino-server
tcp 0 0 *:81 *:* LISTEN 5697/ispconfig_http
tcp 0 0 *:ftp *:* LISTEN 7361/proftpd: (acce
tcp 0 0 antec.qualitysid:domain *:* LISTEN 7343/named
tcp 0 0 c-71-231-173-173:domain *:* LISTEN 7343/named
tcp 0 0 localhost.locald:domain *:* LISTEN 7343/named
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 20523/cupsd
tcp 0 0 localhost.localdo:46264 *:* LISTEN 4748/hpiod
tcp 0 0 localhost.localdoma:953 *:* LISTEN 7343/named
tcp 0 0 *:smtp *:* LISTEN 7297/master
tcp 0 0 *:microsoft-ds *:* LISTEN 13316/smbd
tcp 0 0 localhost.localdo:38239 *:* LISTEN 4751/python
tcp 0 0 localhost.localdo:41085 localhost.localdo:46264 ESTABLISHED4751/python
tcp 0 0 localhost.localdo:46264 localhost.localdo:41085 ESTABLISHED4748/hpiod
tcp 0 0 antec.qual:microsoft-ds 192.168.1.100:1043 ESTABLISHED13878/smbd
tcp6 0 0 *:imaps *:* LISTEN 4891/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 4932/couriertcpd
tcp6 0 0 *:pop3 *:* LISTEN 4909/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 4868/couriertcpd
tcp6 0 0 *:www *:* LISTEN 7201/apache2
tcp6 0 0 *:ssh *:* LISTEN 5357/sshd
tcp6 0 0 ip6-localhost:953 *:* LISTEN 7343/named
tcp6 0 0 *:smtp *:* LISTEN 7297/master
tcp6 0 0 *:https *:* LISTEN 7201/apache2
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1054 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1055 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1052 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1053 TIME_WAIT -
tcp6 0 148 c-71-231-173-173.hs:ssh ::ffff:192.168.1.1:1052 ESTABLISHED11472/0
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1050 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1051 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1048 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1049 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1046 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1047 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1045 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1056 TIME_WAIT -
tcp6 0 0 c-71-231-173-173.hs:www ::ffff:192.168.1.1:1057 TIME_WAIT -
I use Ubuntu 6.06.
falko
24th June 2006, 16:27
What's in mail log when you send a mail to itsupport@www.qualitysiding.net?
What's in /etc/postfix/virtusertable?
Dimitriy
24th June 2006, 22:16
Virtuser table:
###################################
#
# ISPConfig virtusertable Configuration File
# Version 1.0
#
###################################
support@www.qualitysiding.net web1_qes
web1_qes@www.qualitysiding.net web1_qes
support@qualitysiding.net web1_qes
web1_qes@qualitysiding.net web1_qes
contact@www.qualitysiding.net bensemenyuk
bensemenyuk@www.qualitysiding.net bensemenyuk
contact@qualitysiding.net bensemenyuk
bensemenyuk@qualitysiding.net bensemenyuk
itsupport@www.qualitysiding.net itsupport
itsupport@qualitysiding.net itsupport
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
The mail log is in ZIP format because I couldnt get the filesize down to 19.5kb.
till
25th June 2006, 18:01
Please make sure that an A and MX record for antec.qualitysiding.net exists that points to your server.
Dimitriy
25th June 2006, 23:59
Am I doing something wrong with my DNS config?
I cant get the MX records to set as the picture shows whether I only do one or all of them. It keeps on returning me an error of "There was an Error updating the host records."
BTW, the address is cut off but its "antec.qualitysiding.net"
falko
26th June 2006, 12:37
Try
Hostname: antec
Record Type: MX
Address: mail.qualitysiding.net
Pref: 10
Dimitriy
27th June 2006, 03:17
I am doing a complete reorganization in my network. Clean fresh and vanilla everything (Even the Zip ties!:eek: )
So now I have my ISPConfig box ("server1") behind a firewall (smoothwall it easy to use!) along with the rest of my client computers. We'll see how this works...
Also quick question: If I want www.mycontrolsite.com to be strictly a redirect to my ISPConfig server how do I do that? I want to be able to type in any web browser www.mycontrolsite.com and see ISPConfig login.
falko
28th June 2006, 09:55
Also quick question: If I want www.mycontrolsite.com to be strictly a redirect to my ISPConfig server how do I do that? I want to be able to type in any web browser www.mycontrolsite.com and see ISPConfig login.
Have a look at this tutorial: http://www.stevenhargrove.com/redirect-web-pages/ :)
Dimitriy
7th July 2006, 11:05
Just wanted to say WOW!
Big thanks to Edge! He completely showed what to do and how to do it properly. Now I have two Name Servers setup using only one IP (seemed like was to be very hard to achieve) and my mail and web servers works absolutely fine. Definitely smart guy.
Would also like to thank Falko and Till for their help. You helped me realize some of most basic things in DNS configurations. Thanks guys!
Appreciate it!
Sincerely,
Dimitriy
PS> If you are located in the US and want a server then look for places around the world. It could make a difference for someone who doesnt have to much money to begin with.
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.