Bug#605678: exim4-config: Add another local mail option that forwards everything to external email address

Ole Laursen olau at iola.dk
Thu Dec 2 11:16:40 UTC 2010


Package: exim4-config
Version: 4.72-2
Severity: wishlist

Hi!

This is a wishlist - I think it might be convenient if the debconf had 
an extra local mail option where it doesn't try to send mail to external 
adresses, except for local mail which is delivered it to some address 
specified by the user.

I have two use cases:

1. I got exim installed on my laptop but I don't want it to actually do 
anything else than collecting local mail. I use mail apps that talk 
directly to other smarthosts (e.g. gmail or my ISP). However, some 
daemons on the laptop, like cron and smartmontool, sometimes send me 
mail when there's a problem. I'd like to get that mail rather than 
letting it rot in a local mailbox that I never check.

2. I run a web-based company with some servers. One of them runs a mail 
server with internet delivery. The others I don't want to ever try to 
send mail, to simplify management and because some of them are test 
servers where I don't want the possibility of some mail accidentally 
escaping from a test run on a script that works with real data. However, 
I'd still like to get local mail from cron and smartmontools.


So exim should only listen on the loopback interface, external adresses 
get rejected, and any local mail is simply forwarded to some external 
address I specify. Is this feasible? Maybe it's already possible right 
now?

Ole


-- Package-specific info:
Exim version 4.72 #1 built 30-Oct-2010 13:38:48
Copyright (c) University of Cambridge, 1995 - 2007
Berkeley DB: Berkeley DB 4.8.30: (April  9, 2010)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Size of off_t: 8
GnuTLS compile-time version: 2.8.6
GnuTLS runtime version: 2.8.6
Configuration file is /var/lib/exim4/config.autogenerated

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages exim4-config depends on:
ii  adduser                       3.112      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.36     Debian configuration management sy

exim4-config recommends no packages.

exim4-config suggests no packages.

-- Configuration Files:
/etc/exim4/passwd.client [Errno 13] Permission denied: u'/etc/exim4/passwd.client'

-- debconf information:
  exim4/dc_smarthost:
  exim4/dc_relay_domains:
  exim4/dc_relay_nets:
* exim4/mailname: beta.iola.dk
* exim4/dc_localdelivery: Maildir format in home directory
* exim4/dc_local_interfaces: 127.0.0.1
* exim4/dc_minimaldns: false
* exim4/dc_other_hostnames: beta.iola.dk
* exim4/dc_eximconfig_configtype: local delivery only; not on a network
  exim4/no_config: true
  exim4/hide_mailname:
  exim4/dc_postmaster: arj
  exim4/dc_readhost:
* exim4/use_split_config: false
  exim4/exim4-config-title:





More information about the Pkg-exim4-maintainers mailing list