How to remove attachments from many mails on Cyrus-IMAP Store?
Hello, my energy supplier sends a daily mail about the electricity power consumption of the previous day; these mails have two attachment - one .csv and one .xml I'd like to remove the .xml attachments from the mails already stored in the cyrus database, as these are bigger and really not needed; how would I achieve this? (how to delete these from each file in the database is not problem) why I would like to do this: saving storage ... the directory has these files: 1. 2. 3. ... 10007. 10008. cyrus.cache cyrus.header cyrus.index cyrus.squat my system: CentOS 6, Cyrus v2.3.16-Fedora-RPM-2.3.16-15.el6 Thanks, Walter Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
strange behaviour authenticating to IMAP server with squirrelmail
Hello, when setting in squirrelmail $imap_auth_mech = 'cram-md5'; or $imap_auth_mech = 'digest-md5'; then the following is logged in /etc/maillog Oct 8 14:59:41 imap-host imaps[2042]: accepted connection Oct 8 14:59:41 imap-host imaps[2042]: imapd:Loading DH parameters from file Oct 8 14:59:41 imap-host imaps[2042]: SSL_accept() incomplete -> wait Oct 8 14:59:41 imap-host imaps[2042]: SSL_accept() succeeded -> done Oct 8 14:59:41 imap-host imaps[2042]: starttls: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits new) no authentication Oct 8 14:59:42 imap-host imaps[2042]: badlogin: host-running-squirrel [IPv6-running-squirrel] DIGEST-MD5 [SASL(-13): user not found: no secret in database] but, when setting in squirrelmail $imap_auth_mech = 'login'; then the following is logged and it works ... Oct 8 18:37:16 imap-host imaps[10530]: accepted connection Oct 8 18:37:16 imap-host imaps[10530]: imapd:Loading DH parameters from file Oct 8 18:37:16 imap-host imaps[10530]: SSL_accept() incomplete -> wait Oct 8 18:37:16 imap-host imaps[10530]: SSL_accept() succeeded -> done Oct 8 18:37:16 imap-host imaps[10530]: starttls: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits new) no authentication Oct 8 18:37:17 imap-host imaps[10530]: login: host-running-squirrel [IPv6-running-squirrel] walter plaintext+TLS User logged in even /etc/imapd.conf is this: allowanonymouslogin: no allowplaintext: no <-- altnamespace: no configdirectory: /var/lib/imap partition-default: /var/spool/imap admins: cyrus sievedir: /var/lib/imap/sieve sendmail: /usr/sbin/sendmail servername: storage.mail hashimapspool: true sasl_pwcheck_method: saslauthd sasl_mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5 tls_cert_file: /etc/pki/cyrus-imapd/tls.crt/mail-host.crt tls_key_file: /etc/pki/cyrus-imapd/tls.key/mail-host.key tls_ca_file: /etc/pki/cyrus-imapd/tls.crt/server-chain-sslca.crt quotawarn: 95 sasldblistusers2 shows this: cyrus@imap-host: userPassword why I am unable to use digest-md5 or cram-md5? or: what do I have to do to use digest-md5? adding a user with saslpasswd2? what is the 'appname'? Im using Centos 6 and the RPM packages of CentOS Thanks, Walter smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: IDN - Need help
Are you sure he's talking about the right thing as he mentioned this: "The sender in question uses a @gmail address." please first declare the part of E-mail address you are talking of ... name @ domain in case you're are talking about the 'name' part, there is not any character besides [0-9a-z\.\-_] defined (see RFC 2821) and in case you're talking about the 'domain' part, there is used Punycode, which results in the same character set; On 19.06.2017 02:31, Nicola Nye wrote: Hi Per, Your mail has generated a lot of discussion in the FastMail office about the state of Cyrus's international character support. The short answer is that you are correct: Cyrus lmtp does not offer SMTPUTF8. We have added this to the roadmap as something we want to address in the short-medium term. The plan is to write a bunch of tests and see where Cyrus has gaps, then we'll know how much work we have to do to provide support. (If anyone wants to join in this effort, let us know: we love getting more folks involved, and it means you get the features you want, faster) https://github.com/cyrusimap/cyrus-imapd/issues/1647 Cheers, Nicola On Sun, Jun 18, 2017, at 10:00 PM, Per olof Ljungmark wrote: I am re-posting this - would really like some help here. We need Cyrus to accept mail with international characters in sender address. If someone have experience please share, thanks! This is what Postfix reports when it tries to deliver to Cyrus: (SMTPUTF8 is required, but was not offered by host XXX [/var/imap/socket/lmtp]) (can't see anything relevant in the log from Cyrus) We want it to be delivered but I cannot figure out how - the sender address has a "ü" in it. Really grateful for a hint. Thanks, //per smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: IDN - Need help
On 18.06.2017 14:35, Per olof Ljungmark wrote: On 6/18/2017 2:07 PM, Walter H. via Info-cyrus wrote: On 18.06.2017 14:00, Per olof Ljungmark wrote: I am re-posting this - would really like some help here. We need Cyrus to accept mail with international characters in sender address. If someone have experience please share, thanks! This is what Postfix reports when it tries to deliver to Cyrus: (SMTPUTF8 is required, but was not offered by host XXX [/var/imap/socket/lmtp]) (can't see anything relevant in the log from Cyrus) We want it to be delivered but I cannot figure out how - the sender address has a "ü" in it. Really grateful for a hint. Thanks, IDN domains are internally like xn--. see here ... https://www.verisign.com/en_US/channel-resources/domain-registry-products/idn/idn-conversion-tool/index.xhtml and I don't see a reason why not acceptingxn--toxh-47747djia.com Yes, I know about the format, what I do not understand is how it is supposed to be implemented. Postfix is delivering via lmtp as "ü", not converted to Punycode. Are you saying that it should arrive to our mx's already converted? are you talking about TCP/IP connections, DNS-resolutions or Mail content? The sender in question uses a @gmail address. gmail is *NOT* IDN smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: IDN - Need help
On 18.06.2017 14:00, Per olof Ljungmark wrote: I am re-posting this - would really like some help here. We need Cyrus to accept mail with international characters in sender address. If someone have experience please share, thanks! This is what Postfix reports when it tries to deliver to Cyrus: (SMTPUTF8 is required, but was not offered by host XXX [/var/imap/socket/lmtp]) (can't see anything relevant in the log from Cyrus) We want it to be delivered but I cannot figure out how - the sender address has a "ü" in it. Really grateful for a hint. Thanks, IDN domains are internally like xn--. see here ... https://www.verisign.com/en_US/channel-resources/domain-registry-products/idn/idn-conversion-tool/index.xhtml and I don't see a reason why not acceptingxn--toxh-47747djia.com smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Error in /var/log/maillog ...
On 12.06.2017 20:02, Adam Tauno Williams wrote: Quoting "Walter H. via Info-cyrus" <info-cyrus@lists.andrew.cmu.edu>: on my CentOS6 I see this error Jun 12 08:02:33 mail master[1941]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted It is normal-ish. It might be useful to look at /etc/security/limits.conf and ulimits in general. /etc/security/limits.conf is empty (everything is commented out) /etc/security/limits.d/90-nproc.conf is this <90-nproc.conf> # Default limit for number of user's processes to prevent accidental fork bombs. # See rhbz #432903 for reasoning. * softnproc 1024 root softnproc unlimited smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Error in /var/log/maillog ...
Hello, on my CentOS6 I see this error Jun 12 08:02:33 mail master[1941]: setrlimit: Unable to set file descriptors limit to -1: Operation not permitted what is causing this? Thanks, Walter Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: How to control the header cyrus lmtp adds to an e-mail upon delivery
do you use postfix as MTA? there you can set in main.cf lmtp_lhlo_name = On 26.05.2017 12:30, Michael Hieb wrote: Hmmm.. servername is clearly set in /etc/imapd.conf and lmtp is clearly using the result of gethostname(). Do you know if there is there somewhere else that I need to define servername? On 05/26/2017 06:27 PM, Leena Heino wrote: Hi, The lmtp received line is defined in imap/lmtpengine.c: p += sprintf(p, " by %s", config_servername); The lmtp should use the servername setting or gethostname() if servername is unset. On Fri, 26 May 2017, Michael Hieb wrote: Does anyone know how to control the header cyrus lmtp adds to an e-mail upon delivery? I see following added to headers of e-mail received via cyrus lmtp from postfix Received: from mail.domain1.net (mail.domain1.net [192.168.1.75]) by MAILSERVER (Cyrus v2.4.18) with LMTPA; Fri, 26 May 2017 00:26:03 + I would like to change "MAILSERVER (Cyrus v2.4.18) with LMTPA" to show FQDN "imap.domain1.com (Cyrus v2.4.18) with LMTPA". Configuration as follows: Here is my configuration in /etc/cyrus.com # at least one LMTP is required for delivery lmtpdomain1 cmd="lmtpd -a" listen="mail.domain1.com:lmtp" maxchild=-1 maxforkrate=100 I have servename set in /etc/imapd.conf (and this does appear correctly in the banner when a client connects to imap - I realize this is independent from lmtp) servername: imap.domain1.com Here is the delivery in /etc/postfix/main.cf relay_transport = lmtp:mail.celoso.net:2003 Let me know what other information you require. Appreciate any clue or advice. smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: sslv3 alert certificate unknown in SSL_accept() -> fail
On 21.05.2017 17:01, Henrique de Moraes Holschuh wrote: On Sun, 21 May 2017, Anton via Info-cyrus wrote: Problem looks like java app cannot validate new cert. Check ssl_store for your java based mail gate. Are there CA and Intermediate SSL Certificates for your new 256ssl cert in mail gate ssl store? Some java versions can take https stapling *really* seriously. You could check if the OCSP URL, and any other URLs inside the certificate itself are all https... these URLs mustn't be https, as these is a never ending certificate validating story ... smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: Asterisk problem in Sieve Script
Hello, with the, there is not any match ... '.*' would be a regular expression matching anything, but sieve filter language doesn't support regular expressions, or does it? I did a workaround on the other side, I did a reverse DNS lookup, and most times there is a DNS name instead of an IP address, and with this I didn't find any sample that doesn't work ... Greetings, Walter On 17.05.2017 14:41, Eric W. Bates wrote: Try: elsif header :matches "subject" "[proxy] File-URL (.*) detected" On 5/16/2017 9:53 AM, Walter H. via Info-cyrus wrote: Hello, I've got the following in the sieve script elsif header :matches "subject" "[proxy] File-URL (*) detected" { fileinto "INBOX._Info.ftpFileURLs"; } else { fileinto "INBOX._Info"; } when the subject is e.g. [proxy] File-URL (Media-PC) detected then the if is true, this correct when the subject is e.g. [proxy] File-URL (2001:dead:beef:123::1234:5678) detected then the if is also true, this is correct when there is an IPv4 address e.g. [proxy] File-URL (192.168.0.122) detected this matches also, but why doesn't the following match: [proxy] File-URL (2001:dead:beef:123::12:3456:7890) detected [proxy] File-URL (2001:dead:beef:123:0:12:3456:7890) detected Thanks, Walter smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Asterisk problem in Sieve Script
Hello, I've got the following in the sieve script elsif header :matches "subject" "[proxy] File-URL (*) detected" { fileinto "INBOX._Info.ftpFileURLs"; } else { fileinto "INBOX._Info"; } when the subject is e.g. [proxy] File-URL (Media-PC) detected then the if is true, this correct when the subject is e.g. [proxy] File-URL (2001:dead:beef:123::1234:5678) detected then the if is also true, this is correct when there is an IPv4 address e.g. [proxy] File-URL (192.168.0.122) detected this matches also, but why doesn't the following match: [proxy] File-URL (2001:dead:beef:123::12:3456:7890) detected [proxy] File-URL (2001:dead:beef:123:0:12:3456:7890) detected Thanks, Walter Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: strange sieve problem
Hello, Oh, didn't change waldinet.local to my.local I found out why I had problems, the 2nd worked, the first not ... in /var/lib/imap/sieve there I had 2 folders: global and w/walter and both contained a sieve script, the one under w/walter was older and didn't handle the 2nd mail, and I guess that the other in global didn't come to work ... I did the following service cyrus-imapd stop rm -rf w/walter mv global w/walter service cyrus-imapd start and this solved it, but I don't know why there were 2 sieve scripts - one global and for user walter (me) when I update my sieve script I do the following: sieveshell --authname=cyrus --user=walter localhost and there put filter.script quite strange how this happened; Greetings, Walter On Tue, April 4, 2017 12:15, Patrick Boutilier wrote: > Is it the second email sample that does not work? If so the To: on that > one is walter@waldinet.local and I don't see any rules for > walter@waldinet.local. Also, where does the mail that doesn't work end up? > > > On 04/04/2017 03:00 AM, Walter H. via Info-cyrus wrote: >> Hello, >> >> I've found a Sieve Tester, where everything works as I expect >> >> https://www.fastmail.com/cgi-bin/sievetest.pl >> >> but Cyrus Sieve doesn't >> >> here the Sieve-Script >> >> >> # Sieve filter >> >> require ["fileinto", "relational"]; >> >> if not exists ["from"] >> { >> discard; >> } >> elsif allof (address :all :is "from" "sq...@proxy.my.local", >> address :all :is "to" "walter@my.local") >> { >> if header :matches "subject" "[proxy] Video-URL (*) detected" >> { >> fileinto "INBOX._Info.hbbtvVideoURLs"; >> } >> elsif header :matches "subject" "[proxy] File-URL (*) detected" >> { >> fileinto "INBOX._Info.ftpFileURLs"; >> } >> else >> { >> fileinto "INBOX._Info"; >> } >> } >> elsif allof (address :all :is "from" "cla...@mail.my.local", >> address :all :is "to" "walter@my.local") >> { >> if header :matches "subject" "[mail] Virus detected in E-mail" >> { >> fileinto "INBOX._Alert"; >> } >> } >> elsif header :matches "list-id" "*" >> { >> fileinto "INBOX._MailLists._CENTOS"; >> } >> elsif header :is "precedence" "bulk" >> { >> fileinto "INBOX.Trash"; >> } >> else >> { >> keep; >> } >> >> >> and this is the Mail >> >> >> Return-Path: <sq...@proxy.my.local> >> Received: from storage.mail ([unix socket]) >> by storage.mail (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with >> LMTPA; >> Mon, 03 Apr 2017 21:27:35 +0200 >> X-Sieve: CMU Sieve 2.3 >> Received: from proxy.host by storage.mail (Postfix) with ESMTP id >> 19B2C79235 >> Received: by proxy.host (Postfix, userid 23) id EB81D2B0BE >> Date: Mon, 03 Apr 2017 21:27:34 +0200 >> To: walter@my.local >> Subject: [proxy] File-URL (PC) detected >> User-Agent: Heirloom mailx 12.4 7/29/08 >> MIME-Version: 1.0 >> Content-Type: text/plain; charset=us-ascii >> Content-Transfer-Encoding: 7bit >> Message-Id: <20170403192734.eb81d2b...@proxy.my.local> >> From: sq...@proxy.my.local (Squid) >> >> The following information came from the Squid proxy virtual machine. >> >> --[ Data submitted >> ]--- >> >> File-URL: ftp://ftp.adobe.com/lbtest.txt >> >> >> >> this Mail is sorted correct by the sieve script >> >> >> Return-Path: <cla...@mail.my.local> >> Received: from storage.mail ([unix socket]) >> by storage.mail (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with LMTPA; >> Sun, 05 Feb 2017 19:14:15 +0100 >> X-Sieve: CMU Sieve 2.3 >> Received: from filter.mail by storage.mail (Postfix) with ESMTP id >> 5634078BA8 >> Received: by filter.mail (Postfix) id 48F198E9 >> Delivered-To: r...@filter.mail >> Received: from filter.mail [local] by filter.mail (Postfix) with ESMTP >> id >> 35E838E8 >> Received: by filter.mail (Postfix, userid 496) id 2A20D8E9 >> From: ClamAV <cla...@mail.my.local> >> To: walter@waldinet.
Re: strange sieve problem
On Tue, April 4, 2017 08:42, ellie timoney wrote: >> Received: from storage.mail ([unix socket]) >> by storage.mail (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with >> LMTPA; >> Mon, 03 Apr 2017 21:27:35 +0200 >> X-Sieve: CMU Sieve 2.3 > > Wild guess, is your script using sieve features that are not available > in 2.3.16? can't imagine, because when you look at the samples below, you see, that one works and the other not, but why? and there is used the same feature inside the script for both ... > 2.3.16 was released in 2009. its the release that comes with CentOS 6 Thanks, Walter Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
strange sieve problem
Hello, I've found a Sieve Tester, where everything works as I expect https://www.fastmail.com/cgi-bin/sievetest.pl but Cyrus Sieve doesn't here the Sieve-Script # Sieve filter require ["fileinto", "relational"]; if not exists ["from"] { discard; } elsif allof (address :all :is "from" "sq...@proxy.my.local", address :all :is "to" "walter@my.local") { if header :matches "subject" "[proxy] Video-URL (*) detected" { fileinto "INBOX._Info.hbbtvVideoURLs"; } elsif header :matches "subject" "[proxy] File-URL (*) detected" { fileinto "INBOX._Info.ftpFileURLs"; } else { fileinto "INBOX._Info"; } } elsif allof (address :all :is "from" "cla...@mail.my.local", address :all :is "to" "walter@my.local") { if header :matches "subject" "[mail] Virus detected in E-mail" { fileinto "INBOX._Alert"; } } elsif header :matches "list-id" "*" { fileinto "INBOX._MailLists._CENTOS"; } elsif header :is "precedence" "bulk" { fileinto "INBOX.Trash"; } else { keep; } and this is the Mail Return-Path:Received: from storage.mail ([unix socket]) by storage.mail (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with LMTPA; Mon, 03 Apr 2017 21:27:35 +0200 X-Sieve: CMU Sieve 2.3 Received: from proxy.host by storage.mail (Postfix) with ESMTP id 19B2C79235 Received: by proxy.host (Postfix, userid 23) id EB81D2B0BE Date: Mon, 03 Apr 2017 21:27:34 +0200 To: walter@my.local Subject: [proxy] File-URL (PC) detected User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20170403192734.eb81d2b...@proxy.my.local> From: sq...@proxy.my.local (Squid) The following information came from the Squid proxy virtual machine. --[ Data submitted ]--- File-URL: ftp://ftp.adobe.com/lbtest.txt this Mail is sorted correct by the sieve script Return-Path: Received: from storage.mail ([unix socket]) by storage.mail (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with LMTPA; Sun, 05 Feb 2017 19:14:15 +0100 X-Sieve: CMU Sieve 2.3 Received: from filter.mail by storage.mail (Postfix) with ESMTP id 5634078BA8 Received: by filter.mail (Postfix) id 48F198E9 Delivered-To: r...@filter.mail Received: from filter.mail [local] by filter.mail (Postfix) with ESMTP id 35E838E8 Received: by filter.mail (Postfix, userid 496) id 2A20D8E9 From: ClamAV To: walter@waldinet.local Subject: [mail] Virus detected in E-mail Message-Id: <20170205181415.2a20d...@mail.my.local> Date: Sun, 5 Feb 2017 19:14:15 +0100 (CET) X-AV-Scanned: ClamAV using ClamSMTP (filter.mail) The following information came from the Mail filter virtual machine. --[ Data submitted ]--- Virus name: Heuristics.Phishing.Email.SpoofedDomain Sender: rte+ne-null-b1cb1a01203481e6zubgcse...@sellernotifications.amazon.com Quarantined to: /var/lib/clamd.clamsmtp/virus.XeKpYL --[ E-Mail header ] ... can someone give me a hint, what is wrong, Thanks, Walter Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: imapd.conf configuration - Received Mail Header
On 10.12.2015 18:06, Jan Kowalsky wrote: Am 10.12.2015 um 17:02 schrieb Walter H. via Info-cyrus: Hello Jan, On 10.12.2015 16:29, Jan Kowalsky wrote: Hi Walter, Am 08.12.2015 um 19:23 schrieb Walter H. via Info-cyrus: Received: from mail.local ([unix socket]) by storage.mail (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with LMTPA; Tue, 08 Dec 2015 18:35:12 +0100 if I set servername: myserver.domain in imapd.conf it does exactly this. Overwrite the system hostname with the servername provided by this attribute. It doesn't for you? only one part; look at the above Received-Header entry, only that storage.mail comes from there, mail.local not, which I want it to be the same ... sorry, of course. I think the "Received: from" part comes from your mta. So maybe you can configure an individual hostname on your mta (what do you use?). Postfix e.g. uses the fdn. Regards Jan Yes, I'm using postfix; just tested this: I added the following to postfix's main.cf lmtp_bind_address = 127.0.0.1 lmtp_bind_address6 = ::1 lmtp_lhlo_name = storage.mail and that was it; Thanks, Walter smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Re: imapd.conf configuration - Received Mail Header
Hello Jan, On 10.12.2015 16:29, Jan Kowalsky wrote: Hi Walter, Am 08.12.2015 um 19:23 schrieb Walter H. via Info-cyrus: Received: from mail.local ([unix socket]) by storage.mail (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with LMTPA; Tue, 08 Dec 2015 18:35:12 +0100 if I set servername: myserver.domain in imapd.conf it does exactly this. Overwrite the system hostname with the servername provided by this attribute. It doesn't for you? only one part; look at the above Received-Header entry, only that storage.mail comes from there, mail.local not, which I want it to be the same ... how would I achieve that? Walter smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
imapd.conf configuration - Received Mail Header
Hello, does anybody know if it is possible to prevent Cyrus adding a Received-Line in the mail header at my Cyrus this looks like Received: from mail.local ([unix socket]) by storage.mail (Cyrus v2.3.16-Fedora-RPM-2.3.16-13.el6_6) with LMTPA; Tue, 08 Dec 2015 18:35:12 +0100 instead of mail.local there is adds my real server name; from where does this come? can I also just change it here, without renaming anything? like "storage.mail", which come from /etc/imapd.conf "servername: storage.mail" I'd like either instead of mail.local a user defined value or no Received-line at all; is this possible, if yes, how? Thanks, Walter smime.p7s Description: S/MIME Cryptographic Signature Cyrus Home Page: http://www.cyrusimap.org/ List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/ To Unsubscribe: https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus