SHARE
TWEET

Untitled

a guest Jun 19th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@siteed:/etc/exim4/conf.d/router# cat 350-exim4-config_virtualhosts
  2. # This router matches virtualhosts mailboxes
  3.  
  4. virtual_aliases:
  5.     debug_print = "R: virtual_aliases for $local_part@$domain"
  6.     driver = redirect
  7.     domains = dsearch;/etc/exim4/virtual
  8.     data = ${expand:${lookup{$local_part}lsearch*@{/etc/exim4/virtual/$domain.aliases}}}
  9.  
  10. virtual_hosts:
  11.     debug_print = "R: virtual_hosts for $local_part@$domain"
  12.     driver = redirect
  13.     domains = dsearch;/etc/exim4/virtual
  14.     data = ${expand:${lookup{$local_part}lsearch*@{/etc/exim4/virtual/$domain}}}
  15.     directory_transport = virtual_delivery
  16.     cannot_route_message = "$local_part@$domain is not a valid email address"
  17.     no_more
  18. root@siteed:/etc/exim4/conf.d/router#
  19.  
  20.  
  21. root@siteed:/etc/exim4/conf.d/transport# cat 30_exim4-config_maildir_virtual
  22. virtual_delivery:
  23.     driver = appendfile
  24.     user = courier
  25.     maildir_format
  26.     directory = /home/courier/$domain/$local_part
  27.     create_directory
  28.     delivery_date_add
  29.     envelope_to_add
  30.     return_path_add
  31.     group = courier
  32.     mode = 0660
  33. root@siteed:/etc/exim4/conf.d/transport#
  34.  
  35. root@siteed:/etc/exim4/virtual# cat siteed.net
  36. admin: admin@siteed.net
  37. root@siteed:/etc/exim4/virtual#
  38.  
  39. root@siteed:/etc/exim4/virtual# cat siteed.net.aliases
  40. test: admin@siteed.net
  41. alias: admin@siteed.net
  42. root@siteed:/etc/exim4/virtual#
  43.  
  44.  
  45.  
  46.  
  47. #######################################
  48. 2010-10-06 17:23:07 H=mail-px0-f182.google.com [209.85.212.182] F=<deeeed@gmail.com> rejected RCPT <admin@siteed.net>: Unrouteable address
  49.  
  50.  
  51.  
  52.  5683 R: virtual_aliases for alias@siteed.net
  53.  5683 R: virtual_aliases for admin@siteed.net
  54.  5683 R: virtual_hosts for admin@siteed.net
  55.  5683 R: virtual_aliases for admin@siteed.net
  56.  5683 R: system_aliases for admin@siteed.net
  57.  5683 LOG: MAIN REJECT
  58.  5683   H=mail-pv0-f182.google.com [74.125.83.182] F=<deeeed@gmail.com> rejected RCPT <alias@siteed.net>: Unrouteable address
  59.  5683 LOG: smtp_connection MAIN
  60.  5683   SMTP connection from mail-pv0-f182.google.com [74.125.83.182] closed by QUIT
  61. ^C
RAW Paste Data
Top