Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
2 total  XML / RSS feed 

Changing your hostname which your mail server sends out

Occassionaly you have a internal mailserver on a machine which has a hostname like machine.example but for mail purposes your machine is known to the outside world as mail.example.com one can use the following helo_data on in your transports for exim to announce yourself as mail.example.com:

remote_smtp:
  driver = smtp
  helo_data = mail.example.com

exim router for relaying via a smarthost

User the "begin routers" section add:

route_append:
    driver = manualroute
    domains = *
    transport = remote_smtp
    route_data = "smarthost.host.name byname"
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed