Sitemap
Kontakt
Links
+++ erd.trabant +++

+++ erd.trabant +++

blablabla

blablabla

Exim4 - VHost/PGSQL/SA/VScan Configuration

  1. #main
  2. #sql makros
  3. #acl rcpt
  4. #acl data
  5. #router
  6. #transports
  7. #retry
  8. #rewrite
  9. #auth

#transports Exim4.6 Config

#################################################################
# TRANSPORTS #
#################################################################
begin transports


dummy_transport:
driver = pipe
command = "echo "
return_output = false
user = exim
group = exim

#spamcheck transport for use with spamassassin spamc
spamcheck:
debug_print = "T: spamcheck for $local_part@$domain"
driver = pipe
command = "/home/Exim/bin/exim -oMr spam-scanned -bS"
use_bsmtp
# = true
transport_filter = "/usr/bin/spamc -u $local_part@$domain"
path = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
home_directory = "/tmp"
current_directory = "/tmp"
user = exim
group = exim
log_output = true
return_fail_output = true
return_path_add = false
message_prefix =
message_suffix =


send_autorespond:
debug_print = "T: send_autorespond for $local_part@$domain"
driver = autoreply
once = /home/Exim/spool/autorespond_once-$local_part-$domain.dbm
once_repeat = 1d
once_file_size = 10
from = "${local_part}@${domain}"
reply_to = "${local_part}@${domain}"
to = ${sender_address}
#bcc = "${local_part}@${domain}"
subject = ${escape:${lookup pgsql {SQL_AUTORESPOND_SUBJECT}{ $value - autoRE: $h_subject } \
{Automagische Antwort ${local_part}@${domain}}}}
text = ${lookup pgsql {SQL_AUTORESPOND_TEXT}{$value}}
log = /home/LOGS/Exim/exim_transportlog

send_autorespond_alias:
debug_print = "T: send_autorespond_alias for $local_part@$domain"
driver = autoreply
once = /home/Exim/spool/autorespond_once-$local_part-$domain.dbm
once_repeat = 1d
once_file_size = 10
from = "${local_part}@${domain}"
reply_to = "${local_part}@${domain}"
to = ${sender_address}
#bcc = "${local_part}@${domain}"
subject = ${escape:${lookup pgsql {SQL_AUTORESPOND_SUBJECT_ALIAS}{ $value - autoRE: $h_subject } \
{Automagische Antwort ${local_part}@${domain}}}}
text = ${lookup pgsql {SQL_AUTORESPOND_TEXT_ALIAS}{$value}\
{Vielen Dank fuer Ihre Nachricht!}}
log = /home/LOGS/Exim/exim_transportlog


backup_delivery:
driver = appendfile
directory = /home/MAILDIR2/BACKUP/$domain/$local_part
directory_file = $message_id
delivery_date_add
envelope_to_add
return_path_add
create_directory = true
directory_mode = 700
user = exim
group = exim
# maildir_format
mode = 0660

archiv_delivery:
driver = appendfile
directory = /home/MAILDIR2/ARCHIV/
directory_file = $message_id
delivery_date_add
envelope_to_add
return_path_add
create_directory = true
directory_mode = 700
user = exim
group = exim
# maildir_format
mode = 0660
# shadow_transport = store_incoming_message_to_db


store_incoming_message_to_db:
driver = pipe
command = "/home/Exim/scr/storemail.php in $sender_address $local_part\@$domain $message_id $message_headers $h_subject $local_part $domain $message_size"
return_output = false
user = exim
group = exim


remote_smtp:
debug_print = "T: remote_smtp"
driver = smtp
interface = 217.175.253.115
connection_max_messages=15
headers_remove = "X-SA-Do-Not-Run:X-SA-Exim-Scanned:X-SA-Exim-Version"

amavis:
driver = pipe
command = "/home/Amavis/sbin/amavis -f ${sender_address} -d ${pipe_addresses}"
return_output = true
return_path_add = false
check_string =
escape_string =
user = exim
group = exim
path = "/bin:/sbin:/usr/bin:/usr/sbin"
current_directory = "/var/amavis"

#spamcheck:
# driver = pipe
# command = "/usr/local/bin/spamcheck.sh ${sender_address} ${pipe_addresses}"
# return_output = false
# return_path_add = false
# check_string =
# escape_string =
# user = exim
# group = exim
# path = "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
# current_directory = "/tmp"

local_delivery:
driver = appendfile
create_directory = true
directory_mode = 700
directory = /home/2nd/spool/Maildir/.localhost/${local_part}/
user = exim
group = $local_part
maildir_format
mode = 0660
delivery_date_add
envelope_to_add
return_path_add
# shadow_transport = backup_delivery
# shadow_transport = store_incoming_message_to_db

local_alias_delivery:
debug_print = "T: local_alias_delivery for $local_part@$domain"
driver = appendfile
create_directory = true
directory_mode = 700
directory =/${lookup pgsql{SQL_HOME_LOCAL_ALIAS}{$value}fail}/${lookup pgsql{SQL_MAILDIR_LOCAL_ALIAS}{$value}fail}/
user = exim
group = exim
maildir_format
mode = 0660
delivery_date_add
envelope_to_add
return_path_add
# shadow_transport = backup_delivery
# shadow_transport = store_incoming_message_to_db

virtual_delivery:
debug_print = "T: virtual_delivery for $local_part@$domain"
driver = appendfile
create_directory = true
directory_mode = 700
directory = /${lookup pgsql{SQL_HOME_VUSER}{$value}fail}/${lookup pgsql{SQL_MAILDIR_VUSER}{$value}fail}/
user = exim
group = exim
maildir_format
mode = 0660
delivery_date_add
envelope_to_add
return_path_add
.include_if_exists /home/Exim4/etc/quota.conf
# shadow_transport = backup_delivery
# shadow_transport = store_incoming_message_to_db

virtual_alias_delivery:
debug_print = "T: virtual_alias_delivery for $local_part@$domain"
driver = appendfile
create_directory = true
directory_mode = 700
directory =/${lookup pgsql{SQL_HOME_VUSER_ALIAS}{$value}fail}/${lookup pgsql{SQL_MAILDIR_VUSER_ALIAS}{$value}fail}/
user = exim
group = exim
maildir_format
mode = 0660
delivery_date_add
envelope_to_add
return_path_add
.include_if_exists /home/Exim4/etc/quota.conf
# shadow_transport = backup_delivery
# shadow_transport = store_incoming_message_to_db

virtual_catchall_delivery:
debug_print = "T: virtual_catchall_delivery for $local_part@$domain"
driver = appendfile
create_directory = true
directory_mode = 700
directory = /${lookup pgsql{SQL_HOME_VUSER_CATCHALL}{$value}fail}/${lookup pgsql{SQL_MAILDIR_VUSER_CATCHALL}{$value}fail}/
user = exim
group = exim
maildir_format
mode = 0660
delivery_date_add
envelope_to_add
return_path_add
.include_if_exists /home/Exim4/etc/quota_catchall.conf
# shadow_transport = backup_delivery
# shadow_transport = store_incoming_message_to_db


address_pipe:
driver = pipe
return_output

address_file:
driver = appendfile
delivery_date_add
envelope_to_add
return_path_add

address_reply:
driver = autoreply


>>PopUP / Drucken / Print<<
blablabla