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
  #11  
Old 13th March 2006, 17:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

I just sent a test mail to rick@ricklynn.com, and it came back.
Is 216.212.44.217 your ISPConfig server?
Can you post /etc/postfix/local-host-names, /etc/postfix/virtusertable 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
Sponsored Links
  #12  
Old 13th March 2006, 18:14
jazzgillum jazzgillum is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
I just sent a test mail to rick@ricklynn.com, and it came back.
Is 216.212.44.217 your ISPConfig server?
Can you post /etc/postfix/local-host-names, /etc/postfix/virtusertable and /etc/postfix/main.cf?
216.212.44.217 is my public IP. This server is behind my ISPs VINA eLink at 192.168.1.60. Please keep in mind that I'm not a network expert, but this is my understanding of how the network is set up, supported by the fact that the web server is working just fine (i.e., www.ricklynn.com and www.smallmericles.com are working properly).

Code:
###################################
#
# ISPConfig local-host-names Configuration File
#         Version 1.0
#
###################################
localhost
server.localdomain
localhost.server.localdomain
localhost.localdomain
www.smallmericles.com
www.ricklynn.com
www.nbmap.com
smallmericles.com
ricklynn.com
nbmap.com
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
Code:
###################################
#
# ISPConfig virtusertable Configuration File
#         Version 1.0
#
###################################
matt@www.smallmericles.com    web1_matt
web1_matt@www.smallmericles.com    web1_matt
matt@smallmericles.com    web1_matt
web1_matt@smallmericles.com    web1_matt
rick@www.ricklynn.com    web2_rick
web2_rick@www.ricklynn.com    web2_rick
rick@ricklynn.com    web2_rick
web2_rick@ricklynn.com    web2_rick
matt@www.nbmap.com    web3_matt
web3_matt@www.nbmap.com    web3_matt
matt@nbmap.com    web3_matt
web3_matt@nbmap.com    web3_matt
#### MAKE MANUAL ENTRIES BELOW THIS LINE! ####
Code:
# See /usr/share/postfix/main.cf.dist for a commented, more complete version

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

myhostname = server.littleblue.net
virtual_maps = hash:/etc/postfix/virtusertable
mydestination = /etc/postfix/local-host-names
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = server.littleblue.net, littleblue.net, localhost.localdomain, localhost.localdomain, localhost
relayhost =
mynetworks = 192.168.0.0/24,192.168.1.0/24,127.0.0.0/8
mailbox_command =
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = 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
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
home_mailbox = Maildir/
__________________
jazzgillum: server administrator and nice, chummy guy
Ubuntu 5.10 + ISPConfig 2.2 / ISP-Server Setup - Ubuntu 5.10 "Breezy Badger"
Reply With Quote
  #13  
Old 13th March 2006, 18:29
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,624
Thanks: 793
Thanked 4,996 Times in 3,909 Posts
Default

Please remove this line from your postfix configuration:

Quote:
mydestination = server.littleblue.net, littleblue.net, localhost.localdomain, localhost.localdomain, localhost
and restart postfix:

/etc/init.d/postfix restart
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 13th March 2006, 18:48
jazzgillum jazzgillum is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, done.

Well, now I get an entirely different error. Here is the new returned email message:

Code:
This is the Postfix program at host server.littleblue.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                       The Postfix program

<web1_matt@littleblue.nbmap.com> (expanded from <matt@smallmericles.com>): mail
- Show quoted text -
   for littleblue.nbmap.com loops back to myself


Final-Recipient: rfc822; web1_matt@littleblue.nbmap.com
Original-Recipient: rfc822; matt@smallmericles.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; mail for littleblue.nbmap.com loops back to myself



---------- Forwarded message ----------
From: "Matt Smith" <matt@nbmap.com>
To: rick@ricklynn.com, matt@smallmericles.com
Date: Mon, 13 Mar 2006 11:37:27 -0600
Subject: Mar-13 New Test 1
Here we go, everybody, here we go...
Matt
This is troubling because I changed (or tried to change) my server name from the nbmap.com domain to my littleblue.net domain. (i.e., from littleblue.nbmap.com to server.littleblue.net). I must have missed something since this email claims to be from "Mail Delivery System MAILER-DAEMON@littleblue.nbmap.com>". Where is that coming from? It should be "Mail Delivery System <MAILER-DAEMON@server.littleblue.net>", right?

Thanks for your continued assistance! Seems like we're getting somewhere now.
__________________
jazzgillum: server administrator and nice, chummy guy
Ubuntu 5.10 + ISPConfig 2.2 / ISP-Server Setup - Ubuntu 5.10 "Breezy Badger"
Reply With Quote
  #15  
Old 13th March 2006, 18:49
jazzgillum jazzgillum is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh, and for that matter, this:
Code:
<web1_matt@littleblue.nbmap.com> (expanded from <matt@smallmericles.com>)
should say this:
Code:
<web1_matt@server.littleblue.net> (expanded from <matt@smallmericles.com>)
right?
__________________
jazzgillum: server administrator and nice, chummy guy
Ubuntu 5.10 + ISPConfig 2.2 / ISP-Server Setup - Ubuntu 5.10 "Breezy Badger"
Reply With Quote
  #16  
Old 13th March 2006, 18:50
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,624
Thanks: 793
Thanked 4,996 Times in 3,909 Posts
Default

Please add the domain:

littleblue.nbmap.com

at the end of the file /etc/postfix/local-host-names and restart postfix.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #17  
Old 13th March 2006, 19:12
jazzgillum jazzgillum is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh, sure, that works!

But why does it work? Is it going to cause me any troubles later? Why does Postfix think my server is called littleblue.nbmap.com? Or is that a question for some Postfix forum out there? I'd really like to understand what's going on so I can troubleshoot problems if/when things get out of whack!

Thanks so much!
__________________
jazzgillum: server administrator and nice, chummy guy
Ubuntu 5.10 + ISPConfig 2.2 / ISP-Server Setup - Ubuntu 5.10 "Breezy Badger"
Reply With Quote
  #18  
Old 13th March 2006, 23:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,711
Thanks: 1,900
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by jazzgillum
Is it going to cause me any troubles later?
No.

Quote:
Originally Posted by jazzgillum
Why does Postfix think my server is called littleblue.nbmap.com?
Maybe it's your hostname or in /etc/mailname?
__________________
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
  #19  
Old 14th March 2006, 15:28
jazzgillum jazzgillum is offline
Junior Member
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Maybe it's your hostname or in /etc/mailname?
Bingo. It's /etc/mailname.

Now, after reading up on /etc/mailname I've changed it to littleblue.net and removed littleblue.nbmap.com from local-host-names, just to keep things tidy.

But now email bounces back with:

Code:
This is the Postfix program at host server.littleblue.net.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                       The Postfix program

<web2_rick@littleblue.net> (expanded from <rick@ricklynn.com>): mail for
   littleblue.net loops back to myself


Final-Recipient: rfc822; web2_rick@littleblue.net
Original-Recipient: rfc822; rick@ricklynn.com
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; mail for littleblue.net loops back to myself



---------- Forwarded message ----------
From: "Matt Smith" <matt@nbmap.com>
To: rick@ricklynn.com
Date: Tue, 14 Mar 2006 08:16:52 -0600
Subject: Mar-13 New Test 3
How dry I am, how dry I am...
Matt
...and this from mail.log...

Code:
Mar 14 08:16:47 localhost postfix/smtpd[7479]: connect from wproxy.gmail.com[64.233.184.204]
Mar 14 08:16:47 localhost postfix/smtpd[7479]: CBA6A9004E6: client=wproxy.gmail.com[64.233.184.204]
Mar 14 08:16:48 localhost postfix/cleanup[7484]: CBA6A9004E6: message-id=<1d5962220603140616q3520cec5s973ebac9b8e3dee2@mail.gmail.com>
Mar 14 08:16:48 localhost postfix/qmgr[7464]: CBA6A9004E6: from=<jazzgillum@gmail.com>, size=1348, nrcpt=1 (queue active)
Mar 14 08:16:48 localhost postfix/smtpd[7486]: connect from host44-217.birch.net[216.212.44.217]
Mar 14 08:16:48 localhost postfix/smtp[7485]: warning: host littleblue.net[216.212.44.217] greeted me with my own hostname server.littleblue.net
Mar 14 08:16:48 localhost postfix/smtp[7485]: warning: host littleblue.net[216.212.44.217] replied to HELO/EHLO with my own hostname server.littleblue.net
Mar 14 08:16:48 localhost postfix/smtp[7485]: CBA6A9004E6: to=<web2_rick@littleblue.net>, orig_to=<rick@ricklynn.com>, relay=littleblue.net[216.212.44.217], delay=1, status=bounced (mail for littleblue.net loops back to myself)
Mar 14 08:16:48 localhost postfix/smtpd[7486]: disconnect from host44-217.birch.net[216.212.44.217]
Mar 14 08:16:48 localhost postfix/cleanup[7484]: 633309004E9: message-id=<20060314141648.633309004E9@server.littleblue.net>
Mar 14 08:16:48 localhost postfix/qmgr[7464]: 633309004E9: from=<>, size=3176, nrcpt=1 (queue active)
Mar 14 08:16:48 localhost postfix/qmgr[7464]: CBA6A9004E6: removed
Mar 14 08:16:49 localhost postfix/smtp[7485]: 633309004E9: to=<jazzgillum@gmail.com>, relay=gmail-smtp-in.l.google.com[64.233.185.27], delay=1, status=sent (250 2.0.0 OK 1142345816 33si1531260wra)
Mar 14 08:16:49 localhost postfix/qmgr[7464]: 633309004E9: removed
Ideas? I guess I could set /etc/mailname back to littleblue.nbmap.com or even just nbmap.com, but I want littleblue.net to be my ISP domain name. It feels like I'm missing something obvious now, but I don't know what to try next.
__________________
jazzgillum: server administrator and nice, chummy guy
Ubuntu 5.10 + ISPConfig 2.2 / ISP-Server Setup - Ubuntu 5.10 "Breezy Badger"
Reply With Quote
  #20  
Old 14th March 2006, 15:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,624
Thanks: 793
Thanked 4,996 Times in 3,909 Posts
 
Default

Is littleblue.net in your /etc/postfix/local-host-names file? If not, add it at the end.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 110 25th January 2014 16:58
Relay access denied maxx Installation/Configuration 17 4th April 2011 12:34
relay access denied (i've readen the previous post about this ) jeanjacquesjeanjacques Installation/Configuration 5 21st April 2006 23:34
Relay access denied KamiTsunami Server Operation 6 7th March 2006 10:25
Bug? (postfix refuses mail, relay access denied) st2xo General 2 31st January 2006 16:00


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


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