#1  
Old 2nd July 2009, 10:57
csurlee csurlee is offline
Junior Member
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Mydns, Mail not working

Hello,


I happily installed ISPConfig on my Ubuntu 8.10 but i have 2 problems ...
http://www.howtoforge.com/perfect-se...ispconfig-3-p5

1. MyDNS its not working, i added NS records like this




2. i have this error when i want to connect to my mailbox with SquirrelMail :

ERROR:
ERROR: Connection dropped by IMAP server.
Query: CAPABILITY

In the mail log i have this:

/var/log/mail.info

Code:
Jul  2 11:50:05 revista-firme postfix/smtpd[2102]: connect from localhost[127.0.0.1]
Jul  2 11:50:05  postfix/smtpd[2102]: lost connection after CONNECT from localhost[127.0.0.1]
Jul  2 11:50:05  postfix/smtpd[2102]: disconnect from localhost[127.0.0.1]
Jul  2 11:52:40  postfix/smtpd[1587]: timeout after END-OF-MESSAGE from localhost[127.0.0.1]
Jul  2 11:52:40  postfix/smtpd[1587]: disconnect from localhost[127.0.0.1]
/var/log/mail.log
Code:
Jul  2 11:48:08 revista-firme imapd: Connection, ip=[::ffff:127.0.0.1]
Jul  2 11:48:18  last message repeated 2 times
Jul  2 11:50:03  imapd: Connection, ip=[::ffff:127.0.0.1]
Jul  2 11:50:03  imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0
Jul  2 11:50:04  pop3d: Connection, ip=[::ffff:127.0.0.1]
Jul  2 11:50:04  pop3d: Disconnected, ip=[::ffff:127.0.0.1]
Jul  2 11:50:05 postfix/smtpd[2102]: connect from localhost[127.0.0.1]
Jul  2 11:50:05  postfix/smtpd[2102]: lost connection after CONNECT from localhost[127.0.0.1]
Jul  2 11:50:05  postfix/smtpd[2102]: disconnect from localhost[127.0.0.1]
Jul  2 11:52:40 postfix/smtpd[1587]: timeout after END-OF-MESSAGE from localhost[127.0.0.1]
Jul  2 11:52:40 r postfix/smtpd[1587]: disconnect from localhost[127.0.0.1]
/var/log/mail.warn
Code:
Jul  1 18:50:19 revista-firme postfix/sendmail[31235]: fatal: display queue mode requires no recipient
Jul  1 18:50:28  postfix/sendmail[31236]: fatal: usage: mailq [options]
Jul  1 18:50:34  postfix/sendmail[31237]: fatal: usage: mailq [options]
Jul  2 06:56:51  postfix/trivial-rewrite[19499]: warning: do not list domain revista-firme.ro in BOTH mydestination and virtual_mailbox_domains
Jul  2 06:56:51  postfix/trivial-rewrite[19499]: warning: do not list domain revista-firme.ro in BOTH mydestination and virtual_mailbox_domains
Jul  2 11:47:40e postfix/trivial-rewrite[1589]: warning: do not list domain revista-firme.ro in BOTH mydestination and virtual_mailbox_domains
Jul  2 11:47:41  last message repeated 3 times

/var/log/mail.err
Code:
Jul  1 18:50:19 revista-firme postfix/sendmail[31235]: fatal: display queue mode requires no recipient
Jul  1 18:50:28  postfix/sendmail[31236]: fatal: usage: mailq [options]
Jul  1 18:50:34  postfix/sendmail[31237]: fatal: usage: mailq [options]

Thanks

Last edited by csurlee; 1st September 2009 at 15:34.
Reply With Quote
Sponsored Links
  #2  
Old 2nd July 2009, 11:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

1) What is the output if you query the local dns server with the dig command?

2) Edit postfix main.cf and change the domain that you have in the mydestination setting so that it is not the same then the domain that you use in ispconfig for receiving emails. e.g. change mydestination to something like mail.yourdomain.com
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 2nd July 2009, 11:02
csurlee csurlee is offline
Junior Member
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

2.

csurlee@revista-firme:~$ dig revista-firme.ro

; <<>> DiG 9.5.0-P2 <<>> revista-firme.ro
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 34669
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;revista-firme.ro. IN A

;; AUTHORITY SECTION:
revista-firme.ro. 10800 IN SOA ns1.revista-firme.ro. webmaster.revista-firme.ro. 2009070222 28800 7200 604800 86400

;; Query time: 93 msec
;; SERVER: 212.146.75.6#53(212.146.75.6)
;; WHEN: Thu Jul 2 12:01:23 2009
;; MSG SIZE rcvd: 84

csurlee@revista-firme:~$ nslookup revista-firme.ro
Server: 212.146.75.6
Address: 212.146.75.6#53

** server can't find revista-firme.ro: NXDOMAIN
Reply With Quote
  #4  
Old 2nd July 2009, 11:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

You have to query the local dns server:

dig @localhost revista-firme.ro
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 2nd July 2009, 11:12
csurlee csurlee is offline
Junior Member
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

csurlee@revista-firme:~$ dig @localhost revista-firme.ro

; <<>> DiG 9.5.0-P2 <<>> @localhost revista-firme.ro
; (2 servers found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45500
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;revista-firme.ro. IN A

;; AUTHORITY SECTION:
revista-firme.ro. 86400 IN SOA ns1.revista-firme.ro. webmaster.revista-firme.ro. 2009070222 28800 7200 604800 86400

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jul 2 12:12:24 2009
;; MSG SIZE rcvd: 84
Reply With Quote
  #6  
Old 2nd July 2009, 11:19
csurlee csurlee is offline
Junior Member
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

and for the mail ... i changed the my destination section...but nothing ...

i have here the main.cf file


Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = /usr/share/doc/postfix

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = revista-firme.ro
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.revista-firme.ro, localhost, localhost.localdomain
relayhost = 
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
html_directory = /usr/share/doc/postfix/html
virtual_alias_domains = 
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_tls_security_level = may
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
virtual_create_maildirsize = yes
virtual_maildir_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
maildrop_destination_concurrency_limit = 1
maildrop_destination_recipient_limit = 1
virtual_transport = maildrop
header_checks = regexp:/etc/postfix/header_checks
mime_header_checks = regexp:/etc/postfix/mime_header_checks
nested_header_checks = regexp:/etc/postfix/nested_header_checks
body_checks = regexp:/etc/postfix/body_checks
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
message_size_limit = 0
Reply With Quote
  #7  
Old 2nd July 2009, 11:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,344
Thanks: 810
Thanked 5,173 Times in 4,055 Posts
Default

Please post the output of:

netstat -tap | grep dns
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 2nd July 2009, 11:31
csurlee csurlee is offline
Junior Member
 
Join Date: Jul 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

I forgat to tel you something i'm behind a router .. so my server dose not have a real IP address but i have all ports redirected to the server local IP
my bad sorry

root@revista-firme:/home/csurlee# netstat -tap | grep dns
tcp 0 0 192.168.2.100:domain *:* LISTEN 5129/mydns
tcp 0 0 localhost:domain *:* LISTEN 5129/mydns
tcp6 0 0 localhost:domain [::]:* LISTEN 5129/mydns
Reply With Quote
Reply

Bookmarks

Tags
mydns, postfix, ubuntu 8.10 server

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
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
postfix, pop3 uvbnserved Server Operation 22 24th May 2009 21:00
Problem with dcc-client installation (Postfix) swap-as Installation/Configuration 9 18th September 2008 20:47
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Alias mappings rusty Server Operation 11 30th January 2008 17:15


All times are GMT +2. The time now is 23:07.


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