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
Re: imapd.conf configuration - Received Mail Header
Dear Walter, I think some part of your configuration there's a socket option, problably if you change this socket to listen for real ip server instead of loopback and also change cyrus to connect in this real ip server the information mail.local would be replaced for what you want. See you -- Miguel Mucio Santos Moreira Analista - LPIC 1 Linux Professional Institute Certified GRE - Gerência de Redes (31)3339-1401 PRODEMGE - Companhia de Tecnologia da Informação do Estado de Minas Gerais Aviso: Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a quem é dirigida, podendo conter informação confidencial e legalmente protegida. Se você não for destinatário dela, desde já fica notificado de abster-se a divulgar, copiar, distribuir, examinar ou, de qualquer forma, utilizar a informação contida nesta mensagem, por ser ilegal. Caso você tenha recebido por engano, pedimos que responda essa mensagem informando o acontecido. Em 08/12/2015 16:23:33, Walter H. via Info-cyrus escreveu: > 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 > 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 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