Cannot get vacation message

I am using JES Messaging server 6.1, I have enable vacation message for the user account. However sender didn't get the auto-reply message. Any log file we can trace in order to debug whether the vacation message did work?Thanks
[243 byte] By [jabbaaa] at [2007-11-27 5:58:27]
# 1

Hi,

Are you really running 6.1? (./imsimta version)

With regards to vacation messages, there can be numerous reasons why it doesn't work.

Usually it comes down to a understanding/expectation issue e.g. they will only receive a vacation message if the TO:/CC: is addressed to the users mail:/mailalternateaddress: and they may not get _another_ vacation message for several days due to the mailAutoReplyTimeout: OR the vacation dates are not being matched ... and I can go on.

If you send an email to the account do you get a vacation message?

For the users LDIF entry, grep -i auto and grep -i vacation, what are these set to e.g.

# ldapsearch -b "o=isp" uid=user001 | grep -i auto

mailAutoReplySubject=Test vacation message : $SUBJECT

mailAutoReplyText=test external

mailAutoReplyTextInternal=Test internal

mailAutoReplyTimeout=0

mailDeliveryOption=autoreply

# ldapsearch -b "o=isp" uid=user001 | grep -i vacation

mailAutoReplySubject=Test vacation message : $SUBJECT

vacationEndDate=20070521140000Z

vacationStartDate=20070510140000Z

Regards,

Shane.

shane_hjortha at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

It is confirm that we are using the Sun Java(tm) System Messaging Server 6.2 (built Dec 2 2004)

I have check that the user mail account ldap entry is set to

mailAutoReplyTimeout=0

mailDeliveryOption=autoreply

Is there any logs we can check for it? We have set the alias for the user account. Will there be any issue related to this?

jabbaaa at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3

Hi,

> It is confirm that we are using the Sun Java(tm)

> System Messaging Server 6.2 (built Dec 2 2004)

You should definitely look at patching your messaging server. There are numerous bugs fixed between the latest 6.2 patch and this revision.

> mailAutoReplyTimeout=0

> mailDeliveryOption=autoreply

That's it? What interface did you use to enable the auto-reply vacation message?

> Is there any logs we can check for it?

You can turn on debug logging but it will be extensive and you need to know what to look for. Where you enable it will depend on whether you are running a back-end/front-end configuration or just a single-host configuration.

> We have set

> the alias for the user account. Will there be any

> issue related to this?

I don't understand what this mean. If you didn't have an alias set before, how did the email get to the user?

If you run the following, do you get the vacation message listed as one of the users filters?

./imsimta test -rewrite -debug -filter <users email address>

e.g.

./imsimta test -rewrite -debug -filter user001@domain1.com

<snip>

Filter: <user> name user:user001@domain1.com [addr user001@domain1.com] [owner user001@domain1.com] (0x000344e0) [0x0015e010] )0x0015d808( {0x001477b0}

header:2000115;0 3 1 :matches 1 "subject" 1 "*" if 9

; set:2000129;0 2 1 "subject" 1 "${1}" else 6 set:2000129;0

2 1 "subject" 1 "" ; header:2000115;0 3 1 :matches 1

"from" 1 "*" if 9 ; set:2000129;0 2 1 "from" 1 "${

1}" else 6 set:2000129;0 2 1 "from" 1 "" ; vacation:2000137;0

5 1 :hours 1 0 1 :subject 1 "Test vacation message :

${subject}" 1 "test external%0A"

Also is this the only user to have the problem or is this a problem for all users if you enable their vacation message?

Regards,

Shane.

shane_hjortha at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 4

Hi,

Actually we are not using Sun Directory for the user store, we use eDirectory for authentication user store. There is no problem on sending/recveing message even login to the JES web mail.

We have developed an external web interface for modifying the LDAP attributes for the vacation message. We have modified the required LDAP attributes for vacation message. The same thing work for the language attribute but it fail for the vacation message.

jabbaaa at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 5

Hi,

> We have developed an external web interface for

> modifying the LDAP attributes for the vacation

> message. We have modified the required LDAP

> attributes for vacation message. The same thing work

> for the language attribute but it fail for the

> vacation message.

I don't see how one relates to the other. You also failed to address any but the first of my earlier questions.

If you have indeed correctly set the users vacation attributes, then as I have already noted above, the "./imsimta test -rewrite -debug -filter <users email address>" command will show that the vacation sieve filter is being called.

If this is not present then you need to go back to square-one and re-evaluate your vacation message provisioning method.

Regards,

Shane.

shane_hjortha at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 6

Hi,

I have tried to user the imsimta command for testing. However I didn't got the expected result. However I found the following message from the result.

Scanning LDAP result.

10:45:34.12:Attribute: mailAutoReplyTextInternal

10:45:34.12:Attribute index: 43

10:45:34.12:Attribute: mailuserstatus

10:45:34.12:Attribute index: 2

10:45:34.12:Attribute: mailAutoReplySubject

10:45:34.12:Attribute index: 41

10:45:34.12:Attribute: mailAutoReplyTimeOut

10:45:34.12:Attribute index: 44

10:45:34.12:Attribute: mailAutoReplyText

10:45:34.12:Attribute index: 42

10:45:34.12:Attribute: vacationEndDate

10:45:34.12:Attribute index: 27

10:45:34.12:Attribute: mailhost

10:45:34.12:Attribute index: 30

10:45:34.12:Attribute: vacationStartDate

10:45:34.12:Attribute index: 26

10:45:34.12:Attribute: mailDeliveryOption

10:45:34.12:Attribute index: 13

10:45:34.12:Attribute: inetuserstatus

10:45:34.12:Attribute index: 1

10:45:34.12:Attribute: preferredLanguage

10:45:34.12:Attribute index: 10

10:45:34.12:Attribute: mail

10:45:34.12:Attribute index: 16

10:45:34.12:Attribute: uid

10:45:34.12:Attribute index: 5

10:45:34.12:Attribute: objectclass

10:45:34.12:Attribute index: 0

10:45:34.12:Scanning complete, begin actions

10:45:34.12:Possible user object classes: inetLocalMailRecipient+inetmailuser

10:45:34.12:Possible group object classes: inetLocalMailRecipient+inetmailgroup

10:45:34.12:Object class: inetOrgPerson

10:45:34.12:Object class didn't match

10:45:34.12:Object class: inetMailGroup

10:45:34.12:Object class match, reference value 2

10:45:34.12:Object class: inetMailUser

10:45:34.12:Object class match, reference value 1

10:45:34.12:Object class: ipUser

10:45:34.12:Object class didn't match

10:45:34.12:Object class: inetLocalMailRecipient

10:45:34.12:Object class match, reference value 18

10:45:34.12:Object class: organizationalPerson

10:45:34.12:Object class didn't match

10:45:34.12:Object class: Person

10:45:34.12:Object class didn't match

10:45:34.12:Object class: ndsLoginProperties

10:45:34.12:Object class didn't match

10:45:34.12:Object class: Top

10:45:34.12:Object class didn't match

10:45:34.12:Object class: userPresenceProfile

10:45:34.12:Object class didn't match

10:45:34.12:User/group index = 1

jabbaaa at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 7

Hi,

> I have tried to user the imsimta command for testing.

> However I didn't got the expected result. However I

> found the following message from the result.

Well I suggest that if this is the case, you start by enabling the users vacation message through the _supported_ interfaces (either UWC or Messenger Express), work out what needs to be changed to get it work, the reverse engineer from there.

Regards,

Shane.

shane_hjortha at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 8
I have re-engineering and created all the required object class and attributes for the vacation message. However I stil got the "Object class didn't match" message when running the imsimta test -rewrite -debug -filter command
jabbaaa at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 9

Hi,

I get the same, yet my filter still works e.g.

14:27:04.43:Object class: nsManagedPerson

14:27:04.43:Object class didn't match

14:27:04.43:Object class: userPresenceProfile

14:27:04.43:Object class didn't match

14:27:04.43:Object class: inetMailUser

So I repeat, use one of the supported interfaces to create the vacation message, get it working this way, THEN reverse engineer that (i.e. compare the working user to the non-working user).

Regards,

Shane.

shane_hjortha at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 10
not sure is this is a clue but i needed to add:*^!autoreply=$M+$D@bitbucketto option.dat.not even sure why this was necessary - but after i added it (and restarted), autoreply worked.
starman7a at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 11

Hi,

It shouldn't be necessary to add that statement unless you have in someway overridden the default DELIVERY_OPTIONS value. Usually the only time you would do that is if you wanted to have autoreply resolved on an MTA relay rather then the store mailhost for the user.

There is a good writeup on all of this at:

http://docs.sun.com/app/docs/doc/819-4428/6n6j42645?a=view

In this particular forum thread, the author hasn't yet shown that autoreply is working/broken when autoreply is enabled for a user using the supported provisioning method (via ME/UWC interface). Once it has been determined that autoreply does work for user X, and it doesn't for the user who they provisioned themselves, then I would ask, what is different/missing between working user X and the custom provisioned user.

Regards,

Shane.

shane_hjortha at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 12

Hi

I think there is some problem with the attribute settings. See the output

mailAutoReplyTimeout=0

mailDeliveryOption=autoreply

The first parameter value should not be equal to 0. I would advice to change the value to any positive integer. Remeber the digit will indicate the number of hours for timeout.

Changing the value to a positive integer should solve your problem.

Regards

Yadwendra

yadwendrava at 2007-7-12 16:33:06 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...