[rt-users] rt-crontool not sending mail, no errors

Fredrik Nyström Fredrik.Nystrom at prevas.se
Fri May 22 07:03:22 EDT 2015


Hi,

I'm trying to use rt-crontool, to send out reminders when a ticket expires due date.



The command and output is like this, but no mail is sent:



[root@<server> ~]# /opt/rt4/bin/rt-crontool --search RT::Search::FromSQL \

>         --search-arg 'Queue = "The Queue" and (Status = "open" or Status = "new")' \

>         --condition RT::Condition::BeforeDue \

>         --condition-arg 0d2h3m1s \

>         --action RT::Action::NotifyGroup \

>         --action-arg 'mail at domain.se' \

>         --transaction first \

>         --template 'Reminder due soon' \

>         --verbose \

>         --log debug

[3011] [Wed May 20 06:53:26 2015] [debug]: The RTAddressRegexp option is not set in the config. Not setting this option results in additional SQL queries to check whether each address belongs to RT or not. It is especially important to set this option if RT recieves emails on addresses that are not in the database or config. (/opt/rt4/bin/../lib/RT/Config.pm:505)

18079:

        Using transaction #111037...

18331:

        Using transaction #113770...



Does anyone know, what could be the problem here?



And, yes, mailing works, when you for exapmle resolve a ticket from the web interface.



BR

Fredrik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20150522/3050d46a/attachment.htm>


More information about the rt-users mailing list