I am so sorry if this has been answered before but I would like to know if there is a simple way of setting the HELO in a standard Debian Exim install? I understand that the best way to do it is by fixing the hostname but there are times when that''s not simple either. I have spent 2 hours trying all sorts of things in update-exim4.conf.conf but I couldn''t set the helo Anyway, just asking :-) TIA Sim -- Simon Faulkner - Staffordshire Moorlands
On Thu, 2010-01-07 at 13:38 +0000, Simon Faulkner wrote:> I am so sorry if this has been answered before but I would like to know > if there is a simple way of setting the HELO in a standard Debian Exim > install? > > I understand that the best way to do it is by fixing the hostname but > there are times when that''s not simple either. > > I have spent 2 hours trying all sorts of things in > update-exim4.conf.conf but I couldn''t set the helo > > Anyway, just asking :-)I am using the many-files configuration and have defined among my custom macros: REMOTE_SMTP_HELO_DATA = srv.math.concordia.ab.ca which is then apparently used by conf.d/transport/30_exim4-config_remote_smtp: .ifdef REMOTE_SMTP_HELO_DATA helo_data=REMOTE_SMTP_HELO_DATA .endif Andreas -- Andreas J. Guelzow Concordia University College of Alberta
Andreas J Guelzow wrote:> On Thu, 2010-01-07 at 13:38 +0000, Simon Faulkner wrote: > >> I am so sorry if this has been answered before but I would like to know >> if there is a simple way of setting the HELO in a standard Debian Exim >> install? >> >> I understand that the best way to do it is by fixing the hostname but >> there are times when that''s not simple either. >> >> I have spent 2 hours trying all sorts of things in >> update-exim4.conf.conf but I couldn''t set the helo >> >> Anyway, just asking :-) >> > > I am using the many-files configuration and have defined among my custom > macros: > > REMOTE_SMTP_HELO_DATA = srv.math.concordia.ab.ca > > which is then apparently used by > conf.d/transport/30_exim4-config_remote_smtp: > .ifdef REMOTE_SMTP_HELO_DATA > helo_data=REMOTE_SMTP_HELO_DATA > .endif > > > > Andreas > >Thank you Andreas, I am sure it is ''something'' like this but Sadly this does not work for me: debian:~# dpkg-reconfigure exim4-config /etc/exim4/update-exim4.conf.conf: line 33: REMOTE_SMTP_HELO_DATA: command not found Simon -- Simon Faulkner - Staffordshire Moorlands
On Thu, Jan 07, 2010 at 04:22:59PM +0000, Simon Faulkner wrote:> Sadly this does not work for me: > > debian:~# dpkg-reconfigure exim4-config > /etc/exim4/update-exim4.conf.conf: line 33: REMOTE_SMTP_HELO_DATA: > command not foundYou cannot define custom macros in ue4cc. RTFM README.Debian chapter 2.1.3. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
On Thu, 2010-01-07 at 23:17 +0100, Marc Haber wrote:> On Thu, Jan 07, 2010 at 04:22:59PM +0000, Simon Faulkner wrote: > > Sadly this does not work for me: > > > > debian:~# dpkg-reconfigure exim4-config > > /etc/exim4/update-exim4.conf.conf: line 33: REMOTE_SMTP_HELO_DATA: > > command not found > > You cannot define custom macros in ue4cc. RTFM README.Debian chapter > 2.1.3.Well, I believe you can create a /etc/exim4/conf.d/main/00_my_custom_macros and then put things like REMOTE_SMTP_HELO_DATA = srv.math.concordia.ab.ca into it. Andreas -- Andreas J. Guelzow, PhD, FTICA Mathematical & Computing Sciences Concordia University College of Alberta
Andreas J. Guelzow wrote:> On Thu, 2010-01-07 at 23:17 +0100, Marc Haber wrote: > >> On Thu, Jan 07, 2010 at 04:22:59PM +0000, Simon Faulkner wrote: >> >>> Sadly this does not work for me: >>> >>> debian:~# dpkg-reconfigure exim4-config >>> /etc/exim4/update-exim4.conf.conf: line 33: REMOTE_SMTP_HELO_DATA: >>> command not found >>> >> You cannot define custom macros in ue4cc. RTFM README.Debian chapter >> 2.1.3. >> > > Well, I believe you can create a > /etc/exim4/conf.d/main/00_my_custom_macros > and then put things like > > REMOTE_SMTP_HELO_DATA = srv.math.concordia.ab.caTested this and it doesn''t seem to work :-(
Marc Haber wrote:> On Thu, Jan 07, 2010 at 04:22:59PM +0000, Simon Faulkner wrote: > >> Sadly this does not work for me: >> >> debian:~# dpkg-reconfigure exim4-config >> /etc/exim4/update-exim4.conf.conf: line 33: REMOTE_SMTP_HELO_DATA: >> command not found >> > > You cannot define custom macros in ue4cc. RTFM README.Debian chapter > 2.1.3. > > Greetings > Marc > >Ah, OK, I have tried primary_hostname and REMOTE_SMTP_HELO_DATA but these don''t seem to change anything helo wise Any other suggestions? Sim -- Simon Faulkner 01538 303 900 http://dpnet.co.uk Dedicated Programmes Limited Staffordshire Moorlands
On Thu, Jan 07, 2010 at 04:18:14PM -0700, Andreas J. Guelzow wrote:> On Thu, 2010-01-07 at 23:17 +0100, Marc Haber wrote: > > On Thu, Jan 07, 2010 at 04:22:59PM +0000, Simon Faulkner wrote: > > You cannot define custom macros in ue4cc. RTFM README.Debian chapter > > 2.1.3. > > Well, I believe you can create a > /etc/exim4/conf.d/main/00_my_custom_macros > and then put things like > > REMOTE_SMTP_HELO_DATA = srv.math.concordia.ab.ca > > into it.Yes, that is correct, and that''s what I wrote in the README. /etc/exim4/conf.d/main/00_my_custom_macros is not /etc/exim4/update-exim4.conf.conf. Your solution will only work for split config though. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
On Fri, Jan 08, 2010 at 08:04:19AM +0000, Simon Faulkner wrote:> I have tried primary_hostname and REMOTE_SMTP_HELO_DATA but these don''t > seem to change anything helo wiseWhat exactly did you write in which file? And what''s the contents of your update-exim4.conf.conf? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190