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 7th November 2005, 12:27
jash jash is offline
Junior Member
 
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default External Email Getting Lost

I have followed the fantastic guide for Perfect Setup Fedora Core 4 and have successfully installed ISPConfig.
I can send internal mail and log in via the IMAP method using my email client and this seems to be working correctly (Also via the webmail).
However, I have also configured Fetchmail to collect my external email on some of my external accounts in order to test the sytem. These emails are being collected but are then getting bounced.
My hostname is set as 'linuxserver'
I have setup ISPConfig with a site 'jherrick.co.uk' which I also own as a domain name. I would like to get the whole sytem working correctly and so any help greatly appreciated!

Extract of my maillog

Code:
name=linuxserver.linuxserver type=A: Host not found)
Nov  7 10:55:45 localhost postfix/cleanup[26953]: 1DD2130C14B: message-id=<20051107105545.1DD2130C14B@linuxserver>
Nov  7 10:55:45 localhost imapd[26955]: Login user=web1_jenson host=[192.168.5.6]
Nov  7 10:55:45 localhost postfix/qmgr[26845]: 1DD2130C14B: from=<>, size=3312, nrcpt=1 (queue active)
Nov  7 10:55:45 localhost postfix/qmgr[26845]: A15E230C149: removed
Nov  7 10:55:45 localhost imapd[26955]: Logout user=web1_jenson host=[192.168.5.6]
Nov  7 10:55:45 localhost postfix/smtp[26954]: 1DD2130C14B: to=<web1_jenson@linuxserver.linuxserver>, orig_to=<jenson@jherrick.co.uk>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=linuxserver.linuxserver type=A: Host not found)
Nov  7 10:55:45 localhost postfix/qmgr[26845]: 1DD2130C14B: removed
Nov  7 10:57:04 localhost fetchmail[7014]: awakened at Mon 07 Nov 2005 10:57:04 GMT
Nov  7 10:57:11 localhost fetchmail[7014]: 1 message for jasonherrick@btinternet.com at mail.btinternet.com (1550 octets).
Nov  7 10:57:11 localhost fetchmail[7014]: reading message jasonherrick@btinternet.com@bt1.mail.vip.ukl.yahoo.com:1 of 1 (1020 octets)
Nov  7 10:57:11 localhost postfix/smtpd[26950]: connect from localhost.localdomain[127.0.0.1]
Nov  7 10:57:11 localhost postfix/smtpd[26950]: 346A430C149: client=localhost.localdomain[127.0.0.1]
Nov  7 10:57:11 localhost postfix/cleanup[26953]: 346A430C149: message-id=<20051107105711.346A430C149@linuxserver>
Nov  7 10:57:11 localhost fetchmail[7014]:  flushed
Nov  7 10:57:11 localhost postfix/qmgr[26845]: 346A430C149: from=<jasonherrick@btinternet.com>, size=1475, nrcpt=1 (queue active)
Nov  7 10:57:11 localhost postfix/smtp[26954]: 346A430C149: to=<jason@localhost.linuxserver>, orig_to=<jason@localhost>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=localhost.linuxserver type=A: Host not found)
Nov  7 10:57:11 localhost postfix/cleanup[26953]: 8358A30C14B: message-id=<20051107105711.8358A30C14B@linuxserver>
Nov  7 10:57:11 localhost postfix/qmgr[26845]: 8358A30C14B: from=<>, size=3432, nrcpt=1 (queue active)
Nov  7 10:57:11 localhost postfix/qmgr[26845]: 346A430C149: removed
Nov  7 10:57:11 localhost postfix/smtp[26954]: 8358A30C14B: to=<jasonherrick@btinternet.com>, relay=mx1.bt.mail.yahoo.com[195.50.106.135], delay=0, status=sent (250 ok dirdel)
Nov  7 10:57:11 localhost postfix/qmgr[26845]: 8358A30C14B: removed
Nov  7 10:57:15 localhost fetchmail[7014]: 1 message for enact.freeserve.co.uk at pop.freeserve.net (1560 octets).
Nov  7 10:57:15 localhost fetchmail[7014]: reading message enact.freeserve.co.uk@pop.freeserve.com:1 of 1 (1560 octets)
Nov  7 10:57:15 localhost postfix/smtpd[26998]: connect from localhost.localdomain[127.0.0.1]
Nov  7 10:57:15 localhost postfix/smtpd[26998]: 8A3E130C149: client=localhost.localdomain[127.0.0.1]
Nov  7 10:57:15 localhost postfix/cleanup[26953]: 8A3E130C149: message-id=<20051107105408.29CAD1C01668@mwinf3006.me.freeserve.com>
Nov  7 10:57:15 localhost postfix/qmgr[26845]: 8A3E130C149: from=<jash@enact.freeserve.co.uk>, size=1865, nrcpt=1 (queue active)
Nov  7 10:57:15 localhost fetchmail[7014]:  flushed
Nov  7 10:57:15 localhost postfix/smtp[26954]: 8A3E130C149: to=<jason@localhost.linuxserver>, orig_to=<jason@localhost>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=localhost.linuxserver type=A: Host not found)
Nov  7 10:57:15 localhost postfix/cleanup[26953]: B42A030C14B: message-id=<20051107105715.B42A030C14B@linuxserver>
Nov  7 10:57:15 localhost postfix/qmgr[26845]: B42A030C14B: from=<>, size=3820, nrcpt=1 (queue active)
Nov  7 10:57:15 localhost postfix/qmgr[26845]: 8A3E130C149: removed
Nov  7 10:57:15 localhost postfix/smtpd[26950]: disconnect from localhost.localdomain[127.0.0.1]
Nov  7 10:57:15 localhost postfix/smtpd[26998]: disconnect from localhost.localdomain[127.0.0.1]
Nov  7 10:57:15 localhost fetchmail[7014]: sleeping at Mon 07 Nov 2005 10:57:15 GMT

Last edited by jash; 8th November 2005 at 02:13.
Reply With Quote
Sponsored Links
  #2  
Old 7th November 2005, 13:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

You should put linuxserver.linuxserver and localhost.linuxserver in /etc/hosts. Also put them at the end of /etc/postfix/local-host-names and restart Postfix.
__________________
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
  #3  
Old 7th November 2005, 13:15
jash jash is offline
Junior Member
 
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Post

Falko,
Thanks very much for the quick reply. I have added as described and this has now allowed the mail through....but it has gone to my linux user 'jason' not 'web1_jason' as specified in my /etc/fetchmailrc
Any suggestions ??? Thanks again.

Code:
# /etc/fetchmailrc for system-wide daemon mode
# This file must be chmod 0600, owner fetchmail

# Daemon configuration
# These two are set in /etc/default/fetchmail
set daemon        300                # Poll every 5 minutes
set syslog                        # log through syslog facility
set postmaster  root

set no bouncemail                # avoid loss on 4xx errors
                                # on the other hand, 5xx errors get
                                # more dangerous...

##########################################################################
# Hosts to pool
##########################################################################

# Defaults ================================================= =============
# Set antispam to -1, since it is far safer to use that together with
# no bouncemail
defaults:
timeout 300
antispam -1
batchlimit 100

poll pop.hotpop.com protocol POP3 user "jasonherrick@hotpop.com" there with password "password" is web1_jason here fetchall

poll mail.btinternet.com protocol POP3 user "jasonherrick@btinternet.com" there with password "password" is web1_jason here fetchall

poll pop.freeserve.net protocol POP3 user "enact.freeserve.co.uk" there with password "password" is web1_jason here fetchall

Last edited by jash; 8th November 2005 at 02:13.
Reply With Quote
  #4  
Old 7th November 2005, 13:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in the mail log?
__________________
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 7th November 2005, 17:01
jash jash is offline
Junior Member
 
Join Date: Nov 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My mail log is now:

Code:
Nov  7 15:55:58 localhost fetchmail[7014]: awakened at Mon 07 Nov 2005 15:55:58 GMT
Nov  7 15:56:05 localhost fetchmail[7014]: 1 message for jasonherrick@btinternet.com at mail.btinternet.com (1550 octets).
Nov  7 15:56:05 localhost fetchmail[7014]: reading message jasonherrick@btinternet.com@bt1.mail.vip.ukl.yahoo.com:1 of 1 (1020 octets)
Nov  7 15:56:06 localhost postfix/smtpd[1399]: connect from localhost.localdomain[127.0.0.1]
Nov  7 15:56:06 localhost postfix/smtpd[1399]: 295E330C149: client=localhost.localdomain[127.0.0.1]
Nov  7 15:56:06 localhost postfix/cleanup[1402]: 295E330C149: message-id=<20051107155606.295E330C149@linuxserver>
Nov  7 15:56:06 localhost postfix/qmgr[28652]: 295E330C149: from=<jasonherrick@btinternet.com>, size=1475, nrcpt=1 (queue active)
Nov  7 15:56:06 localhost fetchmail[7014]:  flushed
Nov  7 15:56:06 localhost postfix/local[1403]: 295E330C149: to=<jason@localhost.linuxserver>, orig_to=<jason@localhost>, relay=local, delay=0, status=sent (delivered to mailbox)
Nov  7 15:56:06 localhost postfix/qmgr[28652]: 295E330C149: removed
Nov  7 15:56:10 localhost fetchmail[7014]: 1 message for enact.freeserve.co.uk at pop.freeserve.net (1560 octets).
Nov  7 15:56:10 localhost fetchmail[7014]: reading message enact.freeserve.co.uk@pop.freeserve.com:1 of 1 (1560 octets)
Nov  7 15:56:10 localhost postfix/smtpd[1406]: connect from localhost.localdomain[127.0.0.1]
Nov  7 15:56:10 localhost postfix/smtpd[1406]: 87B5230C149: client=localhost.localdomain[127.0.0.1]
Nov  7 15:56:10 localhost postfix/cleanup[1402]: 87B5230C149: message-id=<20051107155255.06C761C009A9@mwinf3114.me.freeserve.com>
Nov  7 15:56:10 localhost fetchmail[7014]:  flushed
Nov  7 15:56:10 localhost postfix/qmgr[28652]: 87B5230C149: from=<jash@enact.freeserve.co.uk>, size=1865, nrcpt=1 (queue active)
Nov  7 15:56:10 localhost postfix/local[1403]: 87B5230C149: to=<jason@localhost.linuxserver>, orig_to=<jason@localhost>, relay=local, delay=0, status=sent (delivered to mailbox)
Nov  7 15:56:10 localhost postfix/qmgr[28652]: 87B5230C149: removed
Nov  7 15:56:10 localhost postfix/smtpd[1406]: disconnect from localhost.localdomain[127.0.0.1]
Nov  7 15:56:10 localhost fetchmail[7014]: sleeping at Mon 07 Nov 2005 15:56:10 GMT
Nov  7 15:56:10 localhost postfix/smtpd[1399]: disconnect from localhost.localdomain[127.0.0.1]
Nov  7 15:58:19 localhost imapd[1458]: imap service init from 192.168.5.6
Nov  7 15:58:20 localhost imapd[1458]: Login user=web1_jason host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1458]: Logout user=web1_jason host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1459]: imap service init from 192.168.5.6
Nov  7 15:58:20 localhost imapd[1459]: Login user=web1_jason host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1460]: imap service init from 192.168.5.6
Nov  7 15:58:20 localhost imapd[1460]: Login user=web1_jenson host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1460]: Logout user=web1_jenson host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1462]: imap service init from 192.168.5.6
Nov  7 15:58:20 localhost imapd[1462]: Login user=web1_jenson host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1462]: Connection reset by peer, while reading line user=web1_jenson host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1464]: imap service init from 192.168.5.6
Nov  7 15:58:20 localhost imapd[1464]: Login user=jason host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1464]: Command stream end of file, while reading line user=jason host=[192.168.5.6]
Nov  7 15:58:20 localhost imapd[1465]: imap service init from 192.168.5.6
Nov  7 15:58:20 localhost imapd[1465]: Login user=jason host=[192.168.5.6]
Nov  7 15:58:21 localhost imapd[1465]: Connection reset by peer, while reading line user=jason host=[192.168.5.6]
I am using the same fetchmailrc as previouly posted.

Also from another user so internal mail on mail log

Code:
Nov  7 16:09:58 localhost imapd[1736]: imap service init from 192.168.5.6
Nov  7 16:09:58 localhost imapd[1736]: Login user=web1_jenson host=[192.168.5.6]
Nov  7 16:10:21 localhost postfix/smtpd[1749]: connect from unknown[192.168.5.6]
Nov  7 16:10:21 localhost postfix/smtpd[1749]: 78B2E30C149: client=unknown[192.168.5.6]
Nov  7 16:10:21 localhost postfix/cleanup[1752]: 78B2E30C149: message-id=<002601c5e3b5$c1dbf250$1530a8c0@jasons>
Nov  7 16:10:21 localhost postfix/smtpd[1749]: disconnect from unknown[192.168.5.6]
Nov  7 16:10:21 localhost postfix/qmgr[28652]: 78B2E30C149: from=<jenson@jherrick.co.uk>, size=1386, nrcpt=1 (queue active)
Nov  7 16:10:21 localhost imapd[1754]: imap service init from 192.168.5.6
Nov  7 16:10:21 localhost imapd[1754]: Login user=web1_jenson host=[192.168.5.6]
Nov  7 16:10:22 localhost imapd[1754]: Logout user=web1_jenson host=[192.168.5.6]
Nov  7 16:10:32 localhost postfix/local[1753]: 78B2E30C149: to=<web1_jason@linuxserver.linuxserver>, orig_to=<jason@jherrick.co.uk>, relay=local, delay=11, status=sent (delivered to command: /usr/bin/procmail -f-)
Nov  7 16:10:32 localhost postfix/qmgr[28652]: 78B2E30C149: removed
Nov  7 16:10:51 localhost imapd[1813]: imap service init from 192.168.5.6
Nov  7 16:10:51 localhost imapd[1813]: Login user=web1_jason host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1813]: Logout user=web1_jason host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1817]: imap service init from 192.168.5.6
Nov  7 16:10:51 localhost imapd[1817]: Login user=web1_jason host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1817]: Command stream end of file, while reading line user=web1_jason host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1818]: imap service init from 192.168.5.6
Nov  7 16:10:51 localhost imapd[1818]: Login user=jason host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1818]: Logout user=jason host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1819]: imap service init from 192.168.5.6
Nov  7 16:10:51 localhost imapd[1819]: Login user=jason host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1819]: Connection reset by peer, while reading line user=jason host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1820]: imap service init from 192.168.5.6
Nov  7 16:10:51 localhost imapd[1820]: Login user=web1_jenson host=[192.168.5.6]
Nov  7 16:10:51 localhost imapd[1820]: Logout user=web1_jenson host=[192.168.5.6]
Nov  7 16:10:52 localhost imapd[1821]: imap service init from 192.168.5.6
Nov  7 16:10:52 localhost imapd[1821]: Login user=web1_jenson host=[192.168.5.6]
Nov  7 16:10:52 localhost imapd[1736]: Killed (lost mailbox lock) user=web1_jenson host=[192.168.5.6]
Nov  7 16:10:53 localhost imapd[1822]: imap service init from 192.168.5.6
Nov  7 16:10:53 localhost imapd[1822]: Login user=web1_jason host=[192.168.5.6]
Nov  7 16:10:53 localhost imapd[1821]: Command stream end of file, while reading line user=web1_jenson host=[192.168.5.6]
Thanks again....

Last edited by jash; 8th November 2005 at 02:14.
Reply With Quote
  #6  
Old 7th November 2005, 17:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

What's in /etc/postfix/virtusertable?
__________________
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
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
Help forward root email to me domino Technical 10 2nd May 2006 15:01
Howto create email starting with a number DarkBen Installation/Configuration 2 7th February 2006 22:10
Can the squirrelmail webserver different then email server? ejkeebler Server Operation 2 4th November 2005 19:28
Email sent to domain being rejected Lil'Brudder Installation/Configuration 9 25th October 2005 11:17
UebiMiau webmail adding @localhostname to email address except first address. Kamran Shah Installation/Configuration 5 11th October 2005 17:01


All times are GMT +2. The time now is 16:20.


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