Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 5th December 2006, 00:47
merlincc merlincc is offline
Junior Member
 
Join Date: Nov 2006
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default Can't receive email

I have followed the perfect setup for fedora core 6. I have setup a site and an email address. I have tested telneting to localhost and all test pass.

I can connect to webmail and I sent a test messgae to my work email account. It worked just fine.

I then sent an email from my work email account to my new email address and I get this in the maillog:

Dec 4 17:28:16 kelly postfix/smtpd[3392]: NOQUEUE: reject: RCPT from sp-internet-ext-ply.uhc.com[198.203.175.175]: 554 5.7.1 <john@4thegreens.com>: Relay access denied; from=<john_green@uhc.com> to=<john@4thegreens.com> proto=ESMTP helo=<firewall-cluster.uhc.com>

I have searched the forums and have tried several things but nothing works. I have tried removing the site and recreating. I have redone the postfix stuff from the perfect setup guide. Nothing works.

Where can I look now?

Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 5th December 2006, 10:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,201
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

Have you created a website www.4thegreens.com on your server that has a co-domain 4thegreens.com (with empty host field)?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 5th December 2006, 14:51
merlincc merlincc is offline
Junior Member
 
Join Date: Nov 2006
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
Have you created a website www.4thegreens.com on your server that has a co-domain 4thegreens.com (with empty host field)?
Yes I have.

ISP Site -> Basis
Hostname: www
Domain: 4thegreens.com
IP Address: 192.168.0.60 (internal IP)

ISP Site -> Co-Domains
IP: 192.168.0.60
Hostname:
Domain: 4thegreens.com

Code:
[root@kelly ~]# 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      1763/mysqld         
tcp        0      0 *:sunrpc                    *:*                         LISTEN      1472/portmap        
tcp        0      0 *:hosts2-ns                 *:*                         LISTEN      2124/ispconfig_http 
tcp        0      0 192.168.0.70:domain         *:*                         LISTEN      3542/named          
tcp        0      0 kelly.4thegreens.com:domain *:*                         LISTEN      3542/named          
tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      3542/named          
tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      1648/cupsd          
tcp        0      0 *:824                       *:*                         LISTEN      1490/rpc.statd      
tcp        0      0 *:smtp                      *:*                         LISTEN      9159/master         
tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      3542/named          
tcp        1      0 kelly.4thegreens.com:58637  fpserv.linux.duke.edu:http  CLOSE_WAIT  1956/python         
tcp        1      0 kelly.4thegreens.com:51842  ie.freshrpms.net:http       CLOSE_WAIT  1956/python         
tcp        1      0 kelly.4thegreens.com:56017  download.fedora.redhat:http CLOSE_WAIT  1956/python         
tcp        0      0 *:imaps                     *:*                         LISTEN      1795/dovecot        
tcp        0      0 *:pop3s                     *:*                         LISTEN      1795/dovecot        
tcp        0      0 *:pop3                      *:*                         LISTEN      1795/dovecot        
tcp        0      0 *:imap                      *:*                         LISTEN      1795/dovecot        
tcp        0      0 *:http                      *:*                         LISTEN      2298/httpd          
tcp        0      0 *:ftp                       *:*                         LISTEN      2433/proftpd: (acce 
tcp        0      0 *:ssh                       *:*                         LISTEN      1656/sshd           
tcp        0      0 kelly.4thegreens.com:ipp    *:*                         LISTEN      1648/cupsd          
tcp        0      0 kelly.4thegreens.com:rndc   *:*                         LISTEN      3542/named          
tcp        0      0 *:https                     *:*                         LISTEN      2298/httpd          
tcp        0      0 kelly.4thegreens.com:http   scrub2.mms.search.scd:48940 TIME_WAIT   -                   
tcp        0      0 kelly.4thegreens.com:http   scrub2.mms.search.scd:48788 TIME_WAIT   -                   
tcp        0    144 kelly.4thegreens.com:ssh    ::ffff:192.168.0.5:4140     ESTABLISHED 16356/0             
tcp        0      0 kelly.4thegreens.com:http   scrub2.mms.search.scd:48861 TIME_WAIT   -                   
[root@kelly ~]#
Code:
[root@kelly ~]# more /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
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
mynetworks = 127.0.0.0/8
smtpd_tls_auth_only = no
smtp_use_tls = yes
smtpd_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
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
[root@kelly ~]#
Thanks for the help.
Reply With Quote
  #4  
Old 5th December 2006, 18:41
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

virtual_maps and mydestination are wrong in your main.cf. Please run
Code:
postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable'
postconf -e 'mydestination = /etc/postfix/local-host-names'
/etc/init.d/postfix restart
__________________
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 5th December 2006, 23:50
merlincc merlincc is offline
Junior Member
 
Join Date: Nov 2006
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Quote:
Originally Posted by falko
virtual_maps and mydestination are wrong in your main.cf. Please run
Code:
postconf -e 'virtual_maps = hash:/etc/postfix/virtusertable'
postconf -e 'mydestination = /etc/postfix/local-host-names'
/etc/init.d/postfix restart
This has fixed the problem.

Now on to testing!

Thanks for the help and the quick replies!
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
Can Send email but not receive it using sendmail on debian ZeroDni Installation/Configuration 7 25th June 2006 06:04
Second domain cannot receive incoming email ariefaisalz General 6 2nd May 2006 15:11
email forwarding locally consumes all resources rdells General 20 1st May 2006 19:43
Can't receive email for aliases sbecker Installation/Configuration 10 4th April 2006 16:51
can't receive email mwebb Installation/Configuration 2 15th January 2006 19:29


All times are GMT +2. The time now is 21:27.


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