Re: How to control the header cyrus lmtp adds to an e-mail upon delivery

2017-05-27 Thread Walter H. via Info-cyrus
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

Re: How to control the header cyrus lmtp adds to an e-mail upon delivery

2017-05-26 Thread Michael Hieb
If I change /etc/cyrus.conf to the following then it works correctly. # at least one LMTP is required for delivery lmtpdomain1 cmd="lmtpd -a -C /etc/imap..conf" listen="mail.domain1.com:lmtp" maxchild=-1 maxforkrate=100 Thanks for the clue.. On 05/26/2017 06:30 PM,

Re: How to control the header cyrus lmtp adds to an e-mail upon delivery

2017-05-26 Thread Patrick Boutilier
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

Re: How to control the header cyrus lmtp adds to an e-mail upon delivery

2017-05-26 Thread Michael Hieb
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:

Re: How to control the header cyrus lmtp adds to an e-mail upon delivery

2017-05-26 Thread Leena Heino
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

How to control the header cyrus lmtp adds to an e-mail upon delivery

2017-05-25 Thread Michael Hieb
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