Dave Patterson
2005-Jun-23 14:37 UTC
[Pkg-exim4-users] Diversion of root messages to maildir_home
Not working here...
Added dc_localdelivery=''maildir_home'' to
/etc/exim4/update-exim4.conf.conf
Appropriate /etc/aliases entry:
dave: real-dave
root: real-dave
ran dpkg-reconfigure exim4-config and restarted.
System messages for root still delivered to /var/mail/dave in mbox
format, /home/dave/Maildir not automagically created.
Manually created with mkdir -p Maildir/{cur,new,tmp}, still no luck,
same behavior.
exim4 -bV shows Configuration file is
/var/lib/exim4/config.autogenerated
This file shows:
.ifndef LOCAL_DELIVERY
LOCAL_DELIVERY=maildir_home
.endif
Googled to no joy so far. Any suggestions?
--
Regards, Dave
Marc Haber
2005-Jun-23 19:27 UTC
[Pkg-exim4-users] Diversion of root messages to maildir_home
On Thu, Jun 23, 2005 at 09:37:23PM +0700, Dave Patterson wrote:> Not working here... > Added dc_localdelivery=''maildir_home'' to > /etc/exim4/update-exim4.conf.conf > Appropriate /etc/aliases entry: > > dave: real-dave > root: real-dave > > ran dpkg-reconfigure exim4-config and restarted. > System messages for root still delivered to /var/mail/dave in mbox > format, /home/dave/Maildir not automagically created. > > Manually created with mkdir -p Maildir/{cur,new,tmp}, still no luck, > same behavior.What does exim -d -bt root say? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Dave Patterson
2005-Jun-23 21:45 UTC
[Pkg-exim4-users] Re: Diversion of root messages to maildir_home
Thanks for the reply, Marc: Here''s the output (truncated). If I''m missing a line you wish to see, let me know type=lsearch key="root" file lookup required for root in /etc/aliases lookup yielded: real-dave expanded: real-dave file is not a filter file parse_forward_list: real-dave extract item: real-dave system_aliases router generated real-dave@localhost.localdomain>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>Considering real-dave@localhost.localdomain>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>routing real-dave@localhost.localdomain --------> hubbed_hosts router <-------- local_part=real-dave domain=localhost.localdomain checking domains checking for local user R: real_local for dave@localhost.localdomain calling real_local router real_local router called for real-dave@localhost.localdomain domain = localhost.localdomain set transport maildir_home queued for maildir_home transport: local_part = dave domain = localhost.localdomain errors_to=NULL domain_data=NULL localpart_data=NULL routed by real_local router envelope to: real-dave@localhost.localdomain transport: maildir_home real-dave@localhost.localdomain <-- root@localhost.localdomain router = real_local, transport = maildir_home -- Regards, Dave --
Marc Haber
2005-Jun-23 21:57 UTC
[Pkg-exim4-users] Re: Diversion of root messages to maildir_home
On Fri, Jun 24, 2005 at 04:45:12AM +0700, Dave Patterson wrote:> router = real_local, transport = maildir_homeThat looks fine. What does exim -bP transport maildir_home say? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
Dave Patterson
2005-Jun-23 22:26 UTC
[Pkg-exim4-users] Re: Diversion of root messages to maildir_home
Here it is: (sorry about thread non-continuance, have this list in
digest mode...)
davescrunch:/home/dave# exim4 -bP transport maildir_home
no_body_only
current_directory debug_print = T: maildir_home for $local_part@$domain
delivery_date_add
no_disable_logging
driver = appendfile
envelope_to_add
group headers_add no_headers_only
headers_remove headers_rewrite home_directory no_initgroups
message_size_limit no_rcpt_include_affixes
retry_use_local_part
return_path return_path_add
shadow_condition shadow_transport transport_filter transport_filter_timeout = 5m
user no_allow_fifo
no_allow_symlink
batch_id batch_max = 1
no_check_group
check_owner
check_string create_directory
create_file = anywhere
directory = $home/Maildir
directory_file = q${base62:$tod_epoch}-$inode
directory_mode = 0700
escape_string file file_format no_file_must_exist
lock_fcntl_timeout = 0s
lock_flock_timeout = 0s
lock_interval = 3s
lock_retries = 10
lockfile_mode = 0600
lockfile_timeout = 30m
mailbox_filecount mailbox_size maildir_format
maildir_quota_directory_regex = ^(?:cur|new|\..*)$
maildir_retries = 10
maildir_tag no_maildir_use_size_file
no_mailstore_format
mailstore_prefix mailstore_suffix message_prefix message_suffix mode = 0600
no_mode_fail_narrower
no_notify_comsat
quota quota_directory quota_filecount quota_is_inclusive
quota_size_regex quota_warn_message quota_warn_threshold no_use_bsmtp
no_use_crlf
use_fcntl_lock
no_use_flock_lock
use_lockfile
--
Regards, Dave
--
Marc Haber
2005-Jun-24 05:18 UTC
[Pkg-exim4-users] Re: Diversion of root messages to maildir_home
On Fri, Jun 24, 2005 at 05:26:11AM +0700, Dave Patterson wrote:> Here it is: (sorry about thread non-continuance, have this list in > digest mode...) > > davescrunch:/home/dave# exim4 -bP transport maildir_homeThanks, that looks fine. Now let''s try echo foo | exim4 -d dave and see what exim actually does when trying to deliver a message. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don''t trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835