I'm rather new to exim having dealt with sendmail and postfix for
several years and I have an issue. The setup I have is inherited and
isn't as organized as I'd like it to be, but that's not the problem.
The problem is getting exim to use procmail on my mailbox. I have an
/etc/aliases-virtual/ercbroadband.org file in it, with this line:
mhaney:mhaney@localhost
To point to my mailbox on that machine. Now when running exim4 -d+all
-bt mhaney@??? here's the output I get:
16:09:48 4561 expanding: ${home}/.procmailrc
16:09:48 4561 result: /home/localhost/mhaney/.procmailrc
16:09:48 4561 file check: ${home}/.procmailrc
16:09:48 4561 expanded file: /home/localhost/mhaney/.procmailrc
16:09:48 4561 stat() yielded -1
16:09:48 4561 errno = 2
16:09:48 4561 procmail router skipped: file check
Now, what I don't understand is this, when running this command against
another email address exim does this:
16:23:20 5397
route_check_access(/home/domain.org/louis/.procmailrc,608,1001,4)
16:23:20 5397 stat /home
16:23:20 5397 stat /home/louis
16:23:20 5397 stat /home/louis/.procmailrc
16:23:20 5397 route_check_access() succeeded
16:23:20 5397 file check: +/usr/bin/procmail
16:23:20 5397 expanded file: /usr/bin/procmail
16:23:20 5397 stat() yielded 0
16:23:20 5397 route_check_access(/usr/bin/procmail,608,1001,4)
16:23:20 5397 stat /usr
16:23:20 5397 stat /usr/bin
16:23:20 5397 stat /usr/bin/procmail
16:23:20 5397 route_check_access() succeeded
16:23:20 5397 ---0 Get 0x8120d50 8 string.c 349
16:23:20 5397 ---0 Get 0x8120d58 16 string.c 349
16:23:20 5397 ---0 Get 0x8120d68 16 string.c 349
16:23:20 5397 ---0 Get 0x8120d78 16 string.c 349
16:23:20 5397 calling procmail router
16:23:20 5397 procmail router called for louis@???
16:23:20 5397 domain = domain.org
Now for some explanation, in the above output the email address
originally is lou@???, but exim goes through the
ercbroadband.org alias-virtual file and locates the fact that his email
is aliased to lou@??? and not localhost.
So my question is, why does it work for his email address and fails for
mine? Does any of this make sense?
--
Mark Haney
Systems Administrator
ERC Broadband