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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st June 2007, 00:36
mfdp10 mfdp10 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Red face Can Send Email, But Not Recieve

Please help...
Can Send Email, But Not Recieve
Debian 4.0
ISPConfig

Main.cf
# 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 (Debian/GNU)
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

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_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 = server1.alojat.com.ar
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = server1.alojat.com.ar, localhost.alojat.com.ar, localhost.localdomain, 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


mail.log

May 31 23:59:02 server1 postfix/master[3615]: daemon started -- version 2.3.8, configuration /etc/postfix
Jun 1 00:05:56 server1 postfix/master[3615]: reload configuration /etc/postfix
Jun 1 00:05:56 server1 postfix/qmgr[4143]: C62835D82F3: from=<mauricio@guardamar.com.ar>, size=532, nrcpt=1 (queue active)
Jun 1 00:05:56 server1 postfix/qmgr[4143]: C22BF5D82F5: from=<mauricio@guardamar.com.ar>, size=528, nrcpt=1 (queue active)
Jun 1 00:05:56 server1 postfix/qmgr[4143]: D19AC5D82CB: from=<mfdp10@yahoo.com.ar>, size=1453, nrcpt=1 (queue active)
Jun 1 00:05:57 server1 postfix/master[3615]: reload configuration /etc/postfix
Jun 1 00:05:57 server1 postfix/qmgr[4220]: C62835D82F3: skipped, still being delivered
Jun 1 00:05:57 server1 postfix/qmgr[4220]: C22BF5D82F5: skipped, still being delivered
Jun 1 00:05:57 server1 postfix/qmgr[4220]: D19AC5D82CB: skipped, still being delivered
Jun 1 00:05:57 server1 postfix/qmgr[4220]: C62835D82F3: skipped, still being delivered
Jun 1 00:05:57 server1 postfix/qmgr[4220]: C22BF5D82F5: skipped, still being delivered
Jun 1 00:05:57 server1 postfix/qmgr[4220]: D19AC5D82CB: skipped, still being delivered
Jun 1 00:06:27 server1 postfix/smtp[4178]: connect to alojat.com.ar[88.14.6.191]: Connection timed out (port 25)
Jun 1 00:06:27 server1 postfix/smtp[4178]: D19AC5D82CB: to=<web6_mauricio@server1.alojat.com.ar>, orig_to=<mauricio@guardamar.com.ar>, relay=none, delay=172611, delays=172580/0.12/31/0, dsn=4.4.1, status=deferred (connect to alojat.com.ar[88.14.6.191]: Connection timed out)
Jun 1 00:06:29 server1 postfix/smtp[4165]: connect to alojat.com.ar[88.14.6.191]: Connection timed out (port 25)
Jun 1 00:06:29 server1 postfix/smtp[4165]: C62835D82F3: to=<web10_mauricio@server1.alojat.com.ar>, orig_to=<mauricio@guardamar.com.ar>, relay=none, delay=87871, delays=87838/0.43/33/0, dsn=4.4.1, status=deferred (connect to alojat.com.ar[88.14.6.191]: Connection timed out)
Jun 1 00:06:29 server1 postfix/smtp[4177]: connect to alojat.com.ar[88.14.6.191]: Connection timed out (port 25)
Jun 1 00:06:29 server1 postfix/smtp[4177]: C22BF5D82F5: to=<web10_mauricio@server1.alojat.com.ar>, orig_to=<mauricio@guardamar.com.ar>, relay=none, delay=82616, delays=82583/0.19/33/0, dsn=4.4.1, status=deferred (connect to alojat.com.ar[88.14.6.191]: Connection timed out)
Jun 1 00:10:57 server1 postfix/qmgr[4220]: C62835D82F3: from=<mauricio@guardamar.com.ar>, size=532, nrcpt=1 (queue active)
Jun 1 00:10:57 server1 postfix/qmgr[4220]: C22BF5D82F5: from=<mauricio@guardamar.com.ar>, size=528, nrcpt=1 (queue active)
Jun 1 00:10:57 server1 postfix/qmgr[4220]: D19AC5D82CB: from=<mfdp10@yahoo.com.ar>, size=1453, nrcpt=1 (queue active)
Jun 1 00:11:28 server1 postfix/smtp[4458]: connect to alojat.com.ar[88.14.6.191]: Connection timed out (port 25)
Jun 1 00:11:28 server1 postfix/smtp[4458]: C22BF5D82F5: to=<web10_mauricio@server1.alojat.com.ar>, orig_to=<mauricio@guardamar.com.ar>, relay=none, delay=82915, delays=82884/0.11/30/0, dsn=4.4.1, status=deferred (connect to alojat.com.ar[88.14.6.191]: Connection timed out)
Jun 1 00:11:29 server1 postfix/smtp[4456]: connect to alojat.com.ar[88.14.6.191]: Connection timed out (port 25)
Jun 1 00:11:29 server1 postfix/smtp[4456]: C62835D82F3: to=<web10_mauricio@server1.alojat.com.ar>, orig_to=<mauricio@guardamar.com.ar>, relay=none, delay=88171, delays=88139/0.1/32/0, dsn=4.4.1, status=deferred (connect to alojat.com.ar[88.14.6.191]: Connection timed out)
Jun 1 00:11:30 server1 postfix/smtp[4459]: connect to alojat.com.ar[88.14.6.191]: Connection timed out (port 25)
Jun 1 00:11:30 server1 postfix/smtp[4459]: D19AC5D82CB: to=<web6_mauricio@server1.alojat.com.ar>, orig_to=<mauricio@guardamar.com.ar>, relay=none, delay=172914, delays=172881/0.11/33/0, dsn=4.4.1, status=deferred (connect to alojat.com.ar[88.14.6.191]: Connection timed out)
Jun 1 00:11:41 server1 courierpop3login: Connection, ip=[::ffff:192.168.0.100]
Jun 1 00:12:05 server1 courierpop3login: Disconnected, ip=[::ffff:192.168.0.100]
Jun 1 00:12:06 server1 courierpop3login: Connection, ip=[::ffff:192.168.0.100]
Jun 1 00:12:06 server1 courierpop3login: LOGIN, user=web10_mauricio, ip=[::ffff:192.168.0.100]
Jun 1 00:12:06 server1 courierpop3login: LOGOUT, user=web10_mauricio, ip=[::ffff:192.168.0.100], top=0, retr=0, rcvd=24, sent=96, time=0
Jun 1 00:21:40 server1 courierpop3login: Connection, ip=[::ffff:192.168.0.100]
Jun 1 00:21:40 server1 courierpop3login: LOGIN, user=web10_mauricio, ip=[::ffff:192.168.0.100]
Jun 1 00:21:40 server1 courierpop3login: LOGOUT, user=web10_mauricio, ip=[::ffff:192.168.0.100], top=0, retr=0, rcvd=24, sent=96, time=0
Jun 1 00:30:15 server1 courierpop3login: Connection, ip=[::ffff:192.168.0.100]
Jun 1 00:30:15 server1 courierpop3login: LOGIN, user=web10_mauricio, ip=[::ffff:192.168.0.100]
Jun 1 00:30:15 server1 courierpop3login: LOGOUT, user=web10_mauricio, ip=[::ffff:192.168.0.100], top=0, retr=0, rcvd=24, sent=96, time=0
Jun 1 00:31:40 server1 courierpop3login: Connection, ip=[::ffff:192.168.0.100]
Jun 1 00:31:40 server1 courierpop3login: LOGIN, user=web10_mauricio, ip=[::ffff:192.168.0.100]
Jun 1 00:31:40 server1 courierpop3login: LOGOUT, user=web10_mauricio, ip=[::ffff:192.168.0.100], top=0, retr=0, rcvd=24, sent=96, time=0
Reply With Quote
Sponsored Links
  #2  
Old 1st June 2007, 00:42
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 152 Times in 132 Posts
Default

It looks like your mailserver can not be accessed (time out)
Did you open port 25 on your router/firewall, and direct it to the server IP?
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 1st June 2007, 00:50
mfdp10 mfdp10 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, the SMTP Server and POP3Server (port 25, 110) are open and direct 192.168.0.100
Reply With Quote
  #4  
Old 1st June 2007, 19:05
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Is 88.14.6.191 your server's public IP address?
What's the output of
Code:
ifconfig
? What's in /etc/hosts and /etc/postfix/main.cf?
__________________
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
  #5  
Old 1st June 2007, 23:16
mfdp10 mfdp10 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, 88.14.6.191 is my dynamic public ip

/etc/hosts:

127.0.0.1 localhost.localdomain localhost server1.alojat.com.ar
192.168.0.100 server1.alojat.com.ar server1

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

/etc/postfix/main.cf:

# 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 (Debian/GNU)
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

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_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 = server1.alojat.com.ar
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
#mydestination = server1.alojat.com.ar, localhost.alojat.com.ar, localhost.localdomain, 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


thanks
Reply With Quote
  #6  
Old 1st June 2007, 23:28
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default Other suggestion

Hi,

If you're using the Maildir format, please check if this is enabled within ISPConfig under Management > Server > Settings > Email.
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #7  
Old 1st June 2007, 23:37
mfdp10 mfdp10 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Hans, thank you for replay.
Yes this check box is checked
Reply With Quote
  #8  
Old 1st June 2007, 23:46
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Default

What's the output of these 3 commands:

netstat -tap

hostname -f

hostname
__________________
Hans

MrHostman | Master in managed hosting
Reply With Quote
  #9  
Old 1st June 2007, 23:56
Uno Uno is offline
Junior Member
 
Join Date: May 2007
Posts: 8
Thanks: 4
Thanked 0 Times in 0 Posts
Default

myhostname = server1.alojat.com.ar

would to be

myhostname = alojat.com.ar

to me works in this way
Reply With Quote
  #10  
Old 2nd June 2007, 00:00
mfdp10 mfdp10 is offline
Junior Member
 
Join Date: Jun 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

server1:/home/administrador# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdom:2208 *:* LISTEN 2 364/hpiod
tcp 0 0 localhost.localdo:52001 *:* LISTEN 2 367/python
tcp 0 0 *:mysql *:* LISTEN 2 452/mysqld
tcp 0 0 *:34863 *:* LISTEN 2 908/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 2 067/portmap
tcp 0 0 *:81 *:* LISTEN 3 097/ispconfig_http
tcp 0 0 *:auth *:* LISTEN 2 746/inetd
tcp 0 0 server1.alojat.c:domain *:* LISTEN 2 8726/named
tcp 0 0 localhost.locald:domain *:* LISTEN 2 8726/named
tcp 0 0 *:ftp *:* LISTEN 3 376/proftpd: (acce
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 2 647/cupsd
tcp 0 0 localhost.localdoma:953 *:* LISTEN 2 8726/named
tcp 0 0 *:smtp *:* LISTEN 3 313/master
tcp 0 0 server1.alojat.co:38010 ad.lhp.yieldmanager:www TIME_WAIT -
tcp 0 0 server1.alojat.co:38011 ad.lhp.yieldmanager:www TIME_WAIT -
tcp 0 0 server1.alojat.co:37841 bu-in-f93.google.co:www ESTABLISHED2 6284/firefox-bin
tcp 0 0 server1.alojat.co:57655 .:www ESTABLISHED2 6284/firefox-bin
tcp 0 0 server1.alojat.co:57654 .:www ESTABLISHED2 6284/firefox-bin
tcp 0 0 server1.alojat.co:45803 194.224.66.65:www ESTABLISHED26284/firefox-bin
tcp 0 0 localhost.localdo:54273 localhost.localdomop3 TIME_WAIT -
tcp6 0 0 *:imaps *:* LISTEN 2610/couriertcpd
tcp6 0 0 *op3s *:* LISTEN 2629/couriertcpd
tcp6 0 0 *op3 *:* LISTEN 2615/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 2598/couriertcpd
tcp6 0 0 *:www *:* LISTEN 3183/apache2
tcp6 0 0 *:ssh *:* LISTEN 2842/sshd
tcp6 0 0 ip6-localhost:953 *:* LISTEN 28726/named
tcp6 0 0 *:smtp *:* LISTEN 3313/master
tcp6 0 0 *:https *:* LISTEN 3183/apache2


server1:/home/administrador# hostname -f
localhost.localdomain


server1:/home/administrador# hostname
server1.alojat.com.ar
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
Cannot send email from OE through ISPconfig site tomd General 10 12th March 2009 06:05
Can Send Email, But Not Recieve; Relay access denied jazzgillum Installation/Configuration 21 31st May 2007 12:46
Can Send Email, But Not Recieve; Relay access denied googlah Installation/Configuration 14 30th August 2006 00:11
Can't send email with attachments to another email nysprite Installation/Configuration 2 29th June 2006 18:09
Can't send email with attachments to a user rafaelenrike General 9 15th June 2006 19:01


All times are GMT +2. The time now is 04:24.


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