2010-09-03 61 views
0

我在Ubuntu機器上設置了Exim4。CodeIgniter Mail + Exim4

我已經開始學習CodeIgniter,並通過電子郵件庫發送電子郵件時,如果我要求調試狀態,我會得到以下內容。看起來不錯,我想,但我從來沒有收到[email protected]的電子郵件。也不適用於[email protected],任何人有一個想法?

220 Concept-IT ESMTP Sendmail 8.14.3/8.14.3/Debian-9.1ubuntu1; Fri, 3 Sep 2010 18:15:59 +0200; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1] 

hello: 250-Concept-IT Hello localhost [127.0.0.1], pleased to meet you 
250-ENHANCEDSTATUSCODES 
250-PIPELINING 
250-EXPN 
250-VERB 
250-8BITMIME 
250-SIZE 
250-DSN 
250-ETRN 
250-AUTH DIGEST-MD5 CRAM-MD5 
250-DELIVERBY 
250 HELP 

from: 250 2.1.0 ... Sender ok 

to: 250 2.1.5 ... Recipient ok 

data: 354 Enter mail, end with "." on a line by itself 

250 2.0.0 o83GFx3a021848 Message accepted for delivery 

quit: 221 2.0.0 Concept-IT closing connection 

Your message has been successfully sent using the following protocol: smtp 

User-Agent: CodeIgniter 
Date: Fri, 3 Sep 2010 18:15:59 +0200 
From: "Concept-IT" 
Return-Path: 
To: [email protected] 
Subject: =?utf-8?Q?Uw_nieuw_wachtwoord_voor_Concept-IT_CRM?= 
Reply-To: "[email protected]" 
X-Sender: [email protected] 
X-Mailer: CodeIgniter 
X-Priority: 3 (Normal) 
Message-ID: <[email protected]> 
Mime-Version: 1.0 


Content-Type: text/plain; charset=utf-8 
Content-Transfer-Encoding: 8bit 

Uw gebruikersnaam is: liesbeth en uw wachtwoord is: 6ZiKJxD. 
+0

我現在看到它仍在使用sendmail(之前安裝過,現在我有Exim4)。但仍然是同樣的問題,它說電子郵件已發送,但我沒有收到任何東西。新的輸出可以在這裏找到:http://pastebin.com/qu9zx074 – Dante 2010-09-04 11:03:21

+0

進一步調查(/var/log/mail.log)瞭解到我的ISP(TELENET)不允許我從我自己的服務器發送郵件。我將介紹如何設置服務器以便通過Google Mail發送郵件。 – Dante 2010-09-04 13:03:12

回答