Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th February 2010, 16:42
learning-linux learning-linux is offline
Junior Member
 
Join Date: Feb 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix receive mail problem

Hi all,


I installed "the perfect server debian i386 lenny ISPConfig" version. Everything is working just fine.

I thought! Yesterday i was testing squirrelmail and i could send an email from the server to my my emailaccount at home...GREAT ! The test was to reply that mail that mail to see if i could receive an email in my squirrelmail account ... and that didn't happend.

So i can send mail from any account made in ISPConfig, but i can't send it back from my computer to the server, so it would arrive in the webmail box

This is the code from the mail ..

Code:
info@huismedia.nl
    SMTP error from remote mail server after RCPT TO:<info@huismedia.nl>:
    host fallback.mail.widexs.nl [212.127.254.8]:
    550 all relevant MX records point to non-existent hosts




What is wrong?

Last edited by learning-linux; 13th February 2010 at 13:40.
Reply With Quote
Sponsored Links
  #2  
Old 12th February 2010, 22:10
learning-linux learning-linux is offline
Junior Member
 
Join Date: Feb 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

have to say that the server is installed behind a router. But the static IP assigned to it, is in DMZ. Ports needed are opend in the router.

The problem is that i don't receive any email at the server. I can email from different clients to another at the same server... but when i send an email from a client from the server to a client thats not on the server it gets deliverd.

But when i want to reply ... every time i get it back..in my outlook mailbox... i never get's in the clients squirrelmail webmail box?


output of : postconf -n

Code:
floor:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = floor.arosa.nl, localhost, localhost.localdomain
myhostname = floor.arosa.nl
mynetworks = 127.0.0.0/8 [::1]/128
myorigin = /etc/mailname
nested_header_checks = regexp:/etc/postfix/nested_header_checks
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virt                                                                                        ual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipien                                                                                        t_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonica                                                                                        l_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual                                                                                        _client.cf
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, che                                                                                        ck_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth                                                                                        _destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual                                                                                        _sender.cf
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysq                                                                                        l:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = maildrop
virtual_uid_maps = static:5000
floor:~# reset
floor:~# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = amavis:[127.0.0.1]:10024
header_checks = regexp:/etc/postfix/header_checks
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
message_size_limit = 0
mime_header_checks = regexp:/etc/postfix/mime_header_checks
mydestination = floor.arosa.nl, localhost, localhost.localdomain
myhostname = floor.arosa.nl
mynetworks = 127.0.0.0/8 [::1]/128
myorigin = /etc/mailname
nested_header_checks = regexp:/etc/postfix/nested_header_checks
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
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = maildrop
virtual_uid_maps = static:5000
floor:~#
Please help !

Last edited by learning-linux; 13th February 2010 at 13:38.
Reply With Quote
  #3  
Old 13th February 2010, 17:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Please check if your MX records point to the correct server:
Code:
dig mx yourdomain.com
__________________
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
  #4  
Old 13th February 2010, 18:57
learning-linux learning-linux is offline
Junior Member
 
Join Date: Feb 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko,

Thanx for responding ... like my nickname say's .....learning linux.

Code:
; <<>> DiG 9.5.1-P3 <<>> mx floor.arosa.nl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64752
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;floor.arosa.nl.                        IN      MX

;; AUTHORITY SECTION:
arosa.nl.               10800   IN      SOA     ns1.widexs.nl. hostmaster.widexs.nl. 2010021201 14400 3600 604800 86400

;; Query time: 33 msec
;; SERVER: 212.54.40.25#53(212.54.40.25)
;; WHEN: Sat Feb 13 18:00:35 2010
;; MSG SIZE  rcvd: 90
my host is widexs so it should be right ...i think?

Last edited by learning-linux; 13th February 2010 at 19:11.
Reply With Quote
  #5  
Old 14th February 2010, 15:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

There's no MX record, so you should create one.
__________________
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
  #6  
Old 14th February 2010, 17:05
learning-linux learning-linux is offline
Junior Member
 
Join Date: Feb 2010
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

sorry my mistake ... you asked for dig MX example.com .... i did
dig MX server.examample.com

the output for dig MX arosa.nl (Floor is the server name in the example above)

Code:

floor:~# dig MX arosa.nl

; <<>> DiG 9.5.1-P3 <<>> MX arosa.nl
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36003
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 1

;; QUESTION SECTION:
;arosa.nl.                      IN      MX

;; ANSWER SECTION:
arosa.nl.               86347   IN      MX      10 mail.arosa.nl.

;; AUTHORITY SECTION:
arosa.nl.               7147    IN      NS      ns1.widexs.nl.
arosa.nl.               7147    IN      NS      ns3.widexs.nl.
arosa.nl.               7147    IN      NS      ns2.widexs.net.

;; ADDITIONAL SECTION:
mail.arosa.nl.          86347   IN      A       82.94.241.21

;; Query time: 108 msec
;; SERVER: 192.168.1.254#53(192.168.1.254)
;; WHEN: Sun Feb 14 15:44:39 2010
;; MSG SIZE  rcvd: 134
When i check QUESTION . ANSWER, AUTHORITY and ADDITIONAL section in the above output... that is correct.

My ISP IP adres is 84.105.43.140...

At the ISP host this are the settings

server floor.arosa.nl is assigned to A 84.105.43.140
webmail2 to CNAME 84.105.43.140
mail2 to A 84.105.43.140
pop2 to CNAME floor.arosa.nl
MX2 to A 84.105.43.140

the server is behind a router and has IP 192.168.1.13

ports opened on firewall , 80,110, 22, 53, 3306 , 110, 25 , 443 (both) udp en tcp
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
hotmail rejects outgoing email nzimas Server Operation 3 1st May 2009 04:39
Postfix, squirrelmail IN, OUT OK cant send from outlook almeister9 HOWTO-Related Questions 1 22nd September 2008 12:40
Impossible to send email with Icedove kdclaver Installation/Configuration 8 9th September 2007 01:02
how to configure postfix to send email out for a hosted domain nox171 Server Operation 24 13th July 2007 12:48
Can't send email with attachments to another email nysprite Installation/Configuration 2 29th June 2006 19:09


All times are GMT +2. The time now is 14:22.


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