ДКИМ в круглом

2334
exussum

При внешнем подключении по протоколу POP3 / IMAP (т. Е. Thunderbird от non localhost) отчет с порта 25, который я получаю,

========================================================== Summary of Results ========================================================== SPF check: pass DomainKeys check: pass DKIM check: pass Sender-ID check: pass SpamAssassin check: ham  ========================================================== Details: ==========================================================  HELO hostname: server.co.uk Source IP: ipaddress mail-from: user@server.co.uk  ---------------------------------------------------------- SPF check details: ---------------------------------------------------------- Result: pass  ID(s) verified: smtp.mailfrom=user@server.co.uk DNS record(s): server.co.uk. SPF (no records) server.co.uk. 86000 IN TXT "v=spf1 a mx ~all" server.co.uk. 86000 IN A ip.address  ---------------------------------------------------------- DomainKeys check details: ---------------------------------------------------------- Result: pass  ID(s) verified: header.From=user@server.co.uk DNS record(s): private._domainkey.server.co.uk. 86000 IN TXT "k=rsa; p=KEYHERE"  ---------------------------------------------------------- DKIM check details: ---------------------------------------------------------- Result: pass (signature verifies; identity doesn't match any headers) ID(s) verified: header.d=server.co.uk Canonicalized Headers: Message-ID:'20'<52E4F9D5.2070006@server.co.uk>'0D''0A' Date:'20'Sun,'20'26'20'Jan'20'2014'20'12:04:37'20'+0000'0D''0A' From:'20'Name'20'Name'20'<user@server.co.uk>'0D''0A' MIME-Version:'20'1.0'0D''0A' To:'20'check-auth@verifier.port25.com'0D''0A' Subject:'20'Authentication'20'Test'0D''0A' Content-Type:'20'text/plain;'20'charset=ISO-8859-1;'20'format=flowed'0D''0A' Content-Transfer-Encoding:'20'7bit'0D''0A' DKIM-Signature:'20'v=1;'20'a=rsa-sha1;'20'c=simple;'20'd=server.co.uk;'20'h='0D''0A' '09'message-id:date:from:mime-version:to:subject:content-type'0D''0A' '09':content-transfer-encoding;'20's=dkim1;'20'bh=O3blcDPl7o3m4jKKiKXmgtMo'0D''0A' '09'LLs=;'20'b=  Canonicalized Body: Thunderbird'0D''0A'   DNS record(s): dkim1._domainkey.server.co.uk. 14400 IN TXT "k=rsa; p=KEY"  Public key used for verification: dkim1._domainkey.server.co.uk (384 bits)  NOTE: DKIM checking has been performed based on the latest DKIM specs (RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for older versions. If you are using Port25's PowerMTA, you need to use version 3.2r11 or later to get a compatible version of DKIM.  ---------------------------------------------------------- Sender-ID check details: ---------------------------------------------------------- Result: pass  ID(s) verified: header.From=user@server.co.uk DNS record(s): server.co.uk. SPF (no records) server.co.uk. 86000 IN TXT "v=spf1 a mx ~all" server.co.uk. 86000 IN A ip.address  ---------------------------------------------------------- SpamAssassin check details: ---------------------------------------------------------- SpamAssassin v3.3.1 (2010-03-16)  Result: ham (-2.0 points, 5.0 required)  pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 

И все вроде нормально.

При использовании Roundcube я получаю следующее

========================================================== Summary of Results ========================================================== SPF check: pass DomainKeys check: neutral DKIM check: fail Sender-ID check: pass SpamAssassin check: ham  ========================================================== Details: ==========================================================  HELO hostname: server.co.uk Source IP: ip.address mail-from: user@server.co.uk  ---------------------------------------------------------- SPF check details: ---------------------------------------------------------- Result: pass  ID(s) verified: smtp.mailfrom=user@server.co.uk DNS record(s): server.co.uk. SPF (no records) server.co.uk. 86000 IN TXT "v=spf1 a mx ~all" server.co.uk. 86000 IN A ip.address  ---------------------------------------------------------- DomainKeys check details: ---------------------------------------------------------- Result: neutral (message not signed) ID(s) verified: header.From=user@server.co.uk DNS record(s):  ---------------------------------------------------------- DKIM check details: ---------------------------------------------------------- Result: fail (signature doesn't verify) ID(s) verified:  Canonicalized Headers: To:'20'<check-auth@verifier.port25.com>'0D''0A' Subject:'20'Check'0D''0A' MIME-Version:'20'1.0'0D''0A' Content-Type:'20'text/plain;'20'charset=UTF-8;'0D''0A' '20'format=flowed'0D''0A' Content-Transfer-Encoding:'20'7bit'0D''0A' Date:'20'Sun,'20'26'20'Jan'20'2014'20'12:05:26'20'+0000'0D''0A' From:'20'USER'20'USER'20'<user@server.co.uk>'0D''0A' Message-ID:'20'<5c4c1902b477246006b9e5c81881fb68@server.co.uk>'0D''0A' DKIM-Signature:'20'v=1;'20'a=rsa-sha1;'20'c=simple;'20'd=server.co.uk;'20'h=to'0D''0A' '09':subject:mime-version:content-type:content-transfer-encoding'0D''0A' '09':date:from:message-id;'20's=dkim1;'20'bh=4kh3s4BsRzvISfGlbXqWNi6G4cg=;'20'b='0D''0A' '09'  Canonicalized Body: Roundcube'0D''0A'   DNS record(s): dkim1._domainkey.server.co.uk. 14400 IN TXT "k=rsa; p=KEY"  Public key used for verification: dkim1._domainkey.server.co.uk (384 bits)  NOTE: DKIM checking has been performed based on the latest DKIM specs (RFC 4871 or draft-ietf-dkim-base-10) and verification may fail for older versions. If you are using Port25's PowerMTA, you need to use version 3.2r11 or later to get a compatible version of DKIM.  ---------------------------------------------------------- Sender-ID check details: ---------------------------------------------------------- Result: pass  ID(s) verified: header.From=user@server.co.uk DNS record(s): server.co.uk. SPF (no records) server.co.uk. 86000 IN TXT "v=spf1 a mx ~all" server.co.uk. 86000 IN A ip.address  ---------------------------------------------------------- SpamAssassin check details: ---------------------------------------------------------- SpamAssassin v3.3.1 (2010-03-16)  Result: ham (-1.9 points, 5.0 required)  pts rule name description ---- ---------------------- -------------------------------------------------- -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 

Из того, что я могу сказать, Roundcube подключается через IMAP, так что я на 100% уверен, что разница в том, чтобы он был правильным внешне, а не из localhost

Что я могу сделать, чтобы заставить Roundcube отправлять сообщения правильно?

редактировать

// use this host for sending mails.  // to use SSL connection, set ssl://smtp.host.com  // if left blank, the PHP mail() function is used  $rcmail_config['smtp_server'] = 'mail.server.co.uk';   // SMTP port (default is 25; 465 for SSL)  $rcmail_config['smtp_port'] = 25;   // SMTP username (if required) if you use %u as the username RoundCube  // will use the current username for login  $rcmail_config['smtp_user'] = '%u';   // SMTP password (if required) if you use %p as the password RoundCube  // will use the current user's password for login  $rcmail_config['smtp_pass'] = '%p';   // SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use  // best server supported one)  $rcmail_config['smtp_auth_type'] = '';   // SMTP HELO host  // Hostname to give to the remote server for SMTP 'HELO' or 'EHLO' messages  // Leave this blank and you will get the server variable 'server_name' or  // localhost if that isn't defined.  $rcmail_config['smtp_helo_host'] = '';   // Log sent messages  $rcmail_config['smtp_log'] = TRUE;  

Элементы конфигурации из круглого куба, относящиеся к SMTP

0
Похоже, вы использовали локальную отправку с RC через LMTP, а не SMTP. В этом случае нет домена отправителя, подпись DKIM вообще не может быть сформирована. Kondybas 10 лет назад 0
Добавлен конфиг. Я уверен, что его отправка по SMTP exussum 10 лет назад 0
Можете ли вы показать конфиг MTA? Kondybas 10 лет назад 0
Его ванильный qmail + http://www.memoryhole.net/qmail/#dkim exussum 10 лет назад 0

0 ответов на вопрос

Похожие вопросы