I have a .forward file containing an exim-filter script which works. The reply message ends up in the mail queue. However, due to the smarthost that is used, the message is never sent. This appears to be because the envelope from is null, that is <>. I can''t seem to find a way to set this to be the same as the from address I''m setting. Can anyone advise? Thanks. Regards Neil -- Neil Briscoe Adelix Ltd neil.briscoe at adelix.com web: www.adelix.com tel: 0845 230 9592 / fax: 0845 230 9591 / main office: 0845 230 9590 snail: The Old Post Office, Bristol Rd, Hambrook, Bristol BS16 1RY. UK. skype: stonefish001 MSN: nbriscoeuk at hotmail.co.uk Adelix Ltd is a registered company in England & Wales No. 4232156 VAT registration number 779 4232 91 Adelix Ltd is BS EN ISO 9001:2000 Certified (No. GB 12763) Any views expressed in this email communication are those of the individual sender, except where the sender specifically states them to be the views of a member of Adelix Ltd. Adelix Ltd. does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors or interference. ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com
On Thu, Feb 28, 2008 at 11:25:36AM +0000, Neil S. Briscoe wrote:> I have a .forward file containing an exim-filter script which works. > > The reply message ends up in the mail queue. > > However, due to the smarthost that is used, the message is never sent. > > This appears to be because the envelope from is null, that is <>. > > I can''t seem to find a way to set this to be the same as the from > address I''m setting.The vacation/mail mechanism of exim''s filters always send with an empty envelope to avoid mail loops just in case the vacation message itself would bounce. I am afraid that you either need to arrange with your smarthost operator to have them allow empty envelope (which they need to do to be RFC compatible, but they''ll say spam bot security yadda yadda), or generate your messages with a different mechanism. 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
Marc Haber wrote:> On Thu, Feb 28, 2008 at 11:25:36AM +0000, Neil S. Briscoe wrote: >> I have a .forward file containing an exim-filter script which works. >> >> The reply message ends up in the mail queue. >> >> However, due to the smarthost that is used, the message is never sent. >> >> This appears to be because the envelope from is null, that is <>. >> >> I can''t seem to find a way to set this to be the same as the from >> address I''m setting. > > The vacation/mail mechanism of exim''s filters always send with an > empty envelope to avoid mail loops just in case the vacation message > itself would bounce. > > I am afraid that you either need to arrange with your smarthost > operator to have them allow empty envelope (which they need to do to > be RFC compatible, but they''ll say spam bot security yadda yadda), or > generate your messages with a different mechanism. > > Greetings > Marc >Thanks Marc, I had arrived at that conclusion after reading the docs Bruno pointed me at. I''m afraid it was a pipe to a bit of Perl script in the end. Regards Neil -- Neil Briscoe Adelix Ltd neil.briscoe at adelix.com web: www.adelix.com tel: 0845 230 9592 / fax: 0845 230 9591 / main office: 0845 230 9590 snail: The Old Post Office, Bristol Rd, Hambrook, Bristol BS16 1RY. UK. skype: stonefish001 MSN: nbriscoeuk at hotmail.co.uk Adelix Ltd is a registered company in England & Wales No. 4232156 VAT registration number 779 4232 91 Adelix Ltd is BS EN ISO 9001:2000 Certified (No. GB 12763) Any views expressed in this email communication are those of the individual sender, except where the sender specifically states them to be the views of a member of Adelix Ltd. Adelix Ltd. does not represent, warrant or guarantee that the integrity of this communication has been maintained nor that the communication is free of errors or interference. ------------------------------------------------------------------------------------ Scanned for viruses, spam and offensive content by CensorNet MailSafe Professional Web & E-mail Filtering from www.censornet.com