# Configuration for the fact check system

# The main address pattern sent out as the From address on fact check emails
# If we ever want to change this format, we'll need to support some notion of
# legacy formats, so we still pick up emails to old addresses
subject_prefix: <%=ENV.fetch("FACT_CHECK_SUBJECT_PREFIX", "") %>
reply_to_address: <%=ENV.fetch("FACT_CHECK_REPLY_TO_ADDRESS", "factcheck+dev@alphagov.co.uk") %>
reply_to_id: <%=ENV.fetch("FACT_CHECK_REPLY_TO_ID", nil) %>

fetcher:
  address: <%=ENV.fetch("FACT_CHECK_ADDRESS", "imap.gmail.com") %>
  port: <%=ENV.fetch("FACT_CHECK_PORT", 993) %>
  user_name: <%=ENV["FACT_CHECK_USERNAME"] %>
  password: <%=ENV["FACT_CHECK_PASSWORD"] %>
  enable_ssl: true

# Configuration for the fact check system

# The main address pattern sent out as the From address on fact check emails
# If we ever want to change this format, we'll need to support some notion of
# legacy formats, so we still pick up emails to old addresses
subject_prefix: <%=ENV.fetch("FACT_CHECK_SUBJECT_PREFIX", "") %>
reply_to_address: <%=ENV.fetch("FACT_CHECK_REPLY_TO_ADDRESS", "factcheck@dev.gov.uk") %>
reply_to_id: <%=ENV.fetch("FACT_CHECK_REPLY_TO_ID", nil) %>

fetcher:
  address: <%=ENV.fetch("FACT_CHECK_ADDRESS", "imap.gmail.com") %>
  port: <%=ENV.fetch("FACT_CHECK_PORT", 993) %>
  user_name: <%=ENV["FACT_CHECK_USERNAME"] %>
  password: <%=ENV["FACT_CHECK_PASSWORD"] %>
  enable_ssl: true

Remove alphagov.co.uk from fallback email address
Remove alphagov.co.uk from fallback email address

This removes the reference to alphagov.co.uk - as it is a source of
confusion whether this project uses that host - and uses the more common
dev hostname of dev.gov.uk.
