[Exim] vacation mode. working for local domains, but not ext…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Derrick MacPherson
Dátum:  
Címzett: 'exim'
Tárgy: [Exim] vacation mode. working for local domains, but not external.
I have vacation working for mail FROM local mail, but not external.

When I sent an email via pine on the server, it worked, but from an external
server, I'm not getting the .vacation.msg back. Is there an issue that I am
missing?

Would there be an easier way to do this? Not all users have home dirs, that
is why it's set to look in /usr/exim/forwards. But I wonder if that is
what's causing the issue...

my config:

userforward:
driver = forwardfile
#file = $local_part
file = $local_part.forward
no_verify
no_expn
check_ancestor
#file_directory = /usr/exim/forwards/$local_part
file_directory = /usr/exim/forwards
# filter
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply

the users $local_part.forward

more /usr/exim/forwards/carma.forward

\carma, "|/usr/bin/vacation -m .vacation.msg carma"

users .vacation.msg

From: carma (at) 120seconds.com
Subject: I am on vacation
Delivered-By-The-Graces-Of: The Vacation program
Precedence: bulk


hi

i'm away in india swimming in the arabian sea and dancing to bhangra
at 3 weddings.

for 120 story ideas and info, please contact david yee -
dyee ( at )cbcr3.com. he will help you out. he's real swell.

namaste,
carma

::

carma livingstone
http://120seconds.com & http://cbcr3.com

:: information needs to be free ::


and the output of a test:

mail# /usr/exim/bin/exim -d 9 -bt carma
Exim version 3.33 debug level 9 uid=0 gid=0
probably Berkeley DB version 1.8x (native mode)
Caller is an admin user
Caller is a trusted user
originator: uid=0 gid=0 login=root name=Charlie Root
sender address = root@???
Address testing: uid=0 gid=0 euid=1 egid=6
>>>>>>>>>>>>>>>>>>>>>>>>

Testing carma@???
search_open: lsearch "/usr/exim/local_domains"
search_find: file="/usr/exim/local_domains"
key="cbcr3.com" partial=-1
LRU list:
7/usr/exim/local_domains
End
internal_search_find: file="/usr/exim/local_domains"
type=lsearch key="cbcr3.com"
file lookup required for cbcr3.com
in /usr/exim/local_domains
lookup yielded:
cbcr3.com in local_domains? yes (matched lsearch;/usr/exim/local_domains)
cbcr3.com in percent_hack_domains? no (end of list)
address carma@???
local_part=carma domain=cbcr3.com
domain is local
>>>>>>>>>>>>>>>>>>>>>>>>

directing carma@???
calling system_aliases director
df_lookup entered: search type = lsearch
system_aliases director: lsearch key=carma@???
file="/etc/aliases"
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="carma@???" partial=-1
LRU list:
7/etc/aliases
7/usr/exim/local_domains
End
internal_search_find: file="/etc/aliases"
type=lsearch key="carma@???"
file lookup required for carma@???
in /etc/aliases
lookup failed
system_aliases director declined for carma:
calling userforward director
userforward director: file = carma.forward
set uid=0 gid=0 euid=516 egid=100
successful stat of /usr/exim/forwards/.
52 bytes read from /usr/exim/forwards/carma.forward
file is not a filter file
parse_extract_addresses: \carma, "|/usr/bin/vacation -m .vacation.msg carma"

extract item: \carma
extract item: |/usr/bin/vacation -m .vacation.msg carma
restored uid=0 gid=0 euid=1 egid=6
userforward director generated |/usr/bin/vacation -m .vacation.msg carma
pipe, file, or autoreply
errors_to=NULL transport=address_pipe
uid=516 gid=100 home=/usr/exim/forwards
generated parent replaced by child
userforward director generated carma@???
errors_to=NULL transport=NULL
uid=unset gid=unset home=NULL
userforward director succeeded for carma
search_open: lsearch "/usr/exim/local_domains"
cached open
search_find: file="/usr/exim/local_domains"
key="cbcr3.com" partial=-1
LRU list:
7/usr/exim/local_domains
7/etc/aliases
End
internal_search_find: file="/usr/exim/local_domains"
type=lsearch key="cbcr3.com"
cached data used for lookup of cbcr3.com
in /usr/exim/local_domains
lookup yielded:
cbcr3.com in local_domains? yes (matched lsearch;/usr/exim/local_domains)
cbcr3.com in percent_hack_domains? no (end of list)
address carma@???
local_part=carma domain=cbcr3.com
domain is local
>>>>>>>>>>>>>>>>>>>>>>>>

directing carma@???
calling system_aliases director
df_lookup entered: search type = lsearch
system_aliases director: lsearch key=carma@???
  file="/etc/aliases"
search_open: lsearch "/etc/aliases"
  cached open
search_find: file="/etc/aliases"
  key="carma@???" partial=-1
LRU list:
  7/etc/aliases
  7/usr/exim/local_domains
  End
internal_search_find: file="/etc/aliases"
  type=lsearch key="carma@???"
cached data used for lookup of carma@???
  in /etc/aliases
lookup failed
system_aliases director declined for carma: 
userforward director skipped: previously directed carma@???
calling localuser director
queued for local_delivery transport: local_part=carma domain=cbcr3.com
  errors_to=NULL
  domain_data=NULL local_part_data=NULL
localuser director succeeded for carma
carma@??? -> |/usr/bin/vacation -m .vacation.msg carma 
carma@???
    <-- carma@???
  deliver to carma in domain cbcr3.com
  director = localuser, transport = local_delivery
search_tidyup called