Hi guys glad to find a thread with a similar query to my own.
My situation is that I neglected to install courier-pop & etc before installing ISPConfig. I guess the install didn't check for it? I had installed postfix in advance though. Now we've got a dozen sites published and a customer that wants to have serious email support.. so we have to get email working after all.
Check out this code and tell me how screwed up my installation is:
Code:
harvey@ubuntu:~$ telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.domain.ca ESMTP Postfix (Ubuntu)
helo someotherdomain.ca
250 mail.domain.ca
mail from:harvey@domain.ca
250 Ok
rcpt to: info@someotherdomain.ca
250 Ok
data
354 End data with <CR><LF>.<CR><LF>
To: info@someotherdomain.ca
From: harvey@domain.ca
Subject: test only
test onlyi
.
250 Ok: queued as 88F5F480CBD
quit
221 Bye
Connection closed by foreign host.
You have mail in /var/mail/harvey
Code:
harvey@ubuntu:~$ cd /var/mail
harvey@ubuntu:/var/mail$ ls -la
total 12
drwxrwsr-x 2 root mail 4096 2008-04-10 11:54 .
drwxr-xr-x 15 root root 4096 2008-03-16 20:10 ..
-rw------- 1 someotherdomain mail 0 2008-03-28 15:17 someotherdomain
-rw------- 1 harvey mail 2391 2008-04-10 11:54 harvey
-rw------- 1 riccardo mail 0 2008-04-08 08:03 riccardo
-rw------- 1 web2_testuser mail 0 2008-03-26 07:22 web2_testuser
harvey@ubuntu:/var/mail$ cat harvey
From MAILER-DAEMON Thu Apr 10 11:54:59 2008
Return-Path: <>
X-Original-To: harvey@domain.ca
Delivered-To: harvey@domain.ca
Received: by mail.domain.ca (Postfix)
id 98534480CC1; Thu, 10 Apr 2008 11:54:59 -0700 (PDT)
Date: Thu, 10 Apr 2008 11:54:59 -0700 (PDT)
From: MAILER-DAEMON@ubuntu.domain.ca (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: harvey@domain.ca
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="88F5F480CBD.1207853699/mail.domain.ca"
Message-Id: <20080410185459.98534480CC1@mail.domain.ca>
This is a MIME-encapsulated message.
--88F5F480CBD.1207853699/mail.domain.ca
Content-Description: Notification
Content-Type: text/plain
This is the Postfix program at host mail.domain.ca.
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
<info@ubuntu.domain.ca> (expanded from <info@someotherdomain.ca>): Host
or domain name not found. Name service error for name=ubuntu.domain.ca
type=A: Host not found
--88F5F480CBD.1207853699/mail.domain.ca
Content-Description: Delivery report
Content-Type: message/delivery-status
Reporting-MTA: dns; mail.domain.ca
X-Postfix-Queue-ID: 88F5F480CBD
X-Postfix-Sender: rfc822; harvey@domain.ca
Arrival-Date: Thu, 10 Apr 2008 11:54:06 -0700 (PDT)
Final-Recipient: rfc822; info@ubuntu.domain.ca
Original-Recipient: rfc822; info@someotherdomain.ca
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
for name=ubuntu.domain.ca type=A: Host not found
--88F5F480CBD.1207853699/mail.domain.ca
Content-Description: Undelivered Message
Content-Type: message/rfc822
Received: from someotherdomain.ca (localhost [127.0.0.1])
by mail.domain.ca (Postfix) with SMTP id 88F5F480CBD
for <info@someotherdomain.ca>; Thu, 10 Apr 2008 11:54:06 -0700 (PDT)
To: info@someotherdomain.ca
From: harvey@domain.ca
Subject: test only
Message-Id: <20080410185424.88F5F480CBD@mail.domain.ca>
Date: Thu, 10 Apr 2008 11:54:06 -0700 (PDT)
test onlyi
--88F5F480CBD.1207853699/mail.domain.ca--
harvey@ubuntu:/var/mail$
Why would I get the mail in my maildir? it's clearly to another email address.