我已經在 Windows 8 上的 xampp 伺服器上下載並安裝了 Roundcube 0.9.5。
但是,當我從roundcube 中的登入帳戶(例如gmail 或yahoo)發送郵件時,我可以在寄件者的「已傳送」資料夾中看到該郵件,但無法看到郵件出現在收件者的收件匣中,甚至看不到在垃圾郵件資料夾中。
誰能告訴我這可能是什麼問題?我已配置 Roundcube 來佔用郵件傳輸協定和IMAP從使用者登入設置,以便支援使用多個 smtp 伺服器這插件和我的配置資料夾的main.inc.php有這些各自的變數:
// IMAP
// ----------------------------------
$rcmail_config['default_host'] = array (
'ssl://imap.gmail.com:993' => 'Google',
'ssl://imap.mail.yahoo.com:993' => 'Yahoo',
'ssl://imap-mail.outlook.com' => 'Outlook'
);
$rcmail_config['multiple_smtp_server'] = array (
'Google' => 'ssl://smtp.gmail.com:587',
'Yahoo' => 'ssl://smtp.mail.yahoo.com:465',
'Outlook' => 'starttls://smtp-mail.outlook.com:587'
);
// TCP port used for IMAP connections
$rcmail_config['default_port'] = 993;
// IMAP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or null to use
// best server supported one)
$rcmail_config['imap_auth_type'] = 'LOGIN';
// If you know your imap's folder delimiter, you can specify it here.
// Otherwise it will be determined automatically
$rcmail_config['imap_delimiter'] = null;
$rcmail_config['imap_ns_personal'] = null;
$rcmail_config['imap_ns_other'] = null;
$rcmail_config['imap_ns_shared'] = null;
$rcmail_config['imap_force_caps'] = false;
$rcmail_config['imap_force_lsub'] = false;
$rcmail_config['imap_force_ns'] = false;
// IMAP connection timeout, in seconds. Default: 0 (no limit)
$rcmail_config['imap_timeout'] = 0;
// Optional IMAP authentication identifier to be used as authorization proxy
$rcmail_config['imap_auth_cid'] = null;
// Optional IMAP authentication password to be used for imap_auth_cid
$rcmail_config['imap_auth_pw'] = null;
// Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'.
$rcmail_config['imap_cache'] = null;
// Enables messages cache. Only 'db' cache is supported.
$rcmail_config['messages_cache'] = false;
// ----------------------------------
// SMTP
// ----------------------------------
$rcmail_config['smtp_server'] = '';
$rcmail_config['smtp_port'] = 25;
$rcmail_config['smtp_user'] = '';
$rcmail_config['smtp_pass'] = '';
$rcmail_config['smtp_auth_type'] = 'LOGIN';
// Optional SMTP authentication identifier to be used as authorization proxy
$rcmail_config['smtp_auth_cid'] = null;
// Optional SMTP authentication password to be used for smtp_auth_cid
$rcmail_config['smtp_auth_pw'] = null;
$rcmail_config['smtp_helo_host'] = '';
$rcmail_config['smtp_timeout'] = 0;
這些是 sendmail.log 中的條目:
[26-Dec-2013 08:45:52 +0100]: User [email protected] [::1]; Message for [email protected];
[26-Dec-2013 08:57:22 +0100]: User [email protected] [::1]; Message for [email protected];
error.log 中沒有今天的條目
誰能幫我一下並告訴我可能出了什麼問題嗎?
先非常感謝..
答案1
Windows 8 上的 xampp。對於電子郵件來說,這將嚴重失敗,因為許多提供者會因垃圾郵件問題而阻止從家庭 DSL 連線發送的郵件。所以不要這樣做。如果您確實想要自己的郵件伺服器,請購買具有適當郵件設定的廉價 VPS。