Re: How to control the header cyrus lmtp adds to an e-mail upon delivery
Patrick Boutilier <[email protected]>
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
Do you have MAILSERVER defined in /etc/hosts ? On 05/26/2017 07:30 AM, 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 +0000 >>> >>> 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. >>> >>> ---- >>> 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 ---- 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
boutilpj.vcf
(text/x-vcard, 286 B)
begin:vcard fn:Patrick Boutilier n:Boutilier;Patrick org:;Nova Scotia Department of Education adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada email;internet:[email protected] title:WAN Communications Specialist tel;work:902-424-6800 tel;fax:902-424-0874 version:2.1 end:vcard