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
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 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
Re: imapd.conf configuration - Received Mail Header
Hi Walter, Am 08.12.2015 um 19:23 schrieb Walter H. via Info-cyrus: > 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" > 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? Kind regards Jan 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