This one time, at band camp, Victor Rodriguez Cortes said: > Hello! > > This is the first time I'm working with exim, please excuse me if I ask something > trivial. > > I'm having trouble with exim v4.44 and OTRS (a web-based trouble ticket > system). It's installed on a Debian sarge and the the configuration is the default for > "Internet Site", as configured by "base-config". Everything is on a single config file. I'm > sending it using a TCP connection to a local IP address (192.168.0.x). > > The application send's mails from different modules and it does NOT add a > "Date" header. Exim doesn't add it neither, so I don't see when the mail was sent by my > app. > > Instead of patching all the modules of OTRS, how can I setup Exim so that it > adds the "Date" header if it is not set by the MUA? > > Thanks a lot for your help! warn condition = ${if !def:h_Date: {1}} hosts = +relay_from_hosts message = Date: $tod_full Should do it for you - fix up the hosts argument to whatever your site policies need. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : sgran@debian.org | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
Attachment:
pgpKvibys7EpC.pgp
Description: PGP signature