Hello there,
I´m complete newbie, I´m testing OTRS and I have this problem:
In the OTRS log (Admin tab) this error is repeated again and again:
Can't create PID PostMasterMailbox, because it's already running (otrs/22327)!
After some googling, I found post in which someone says to delete some row from DB
(delete from process_id where process_name = 'PostMasterMailbox';) and then to try
/opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
So I issued command
[root@otrs ~]# sudo -u otrs /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
But it displays error in the subject.
How do I find which sender it is trying to send e-mail as?
JZ
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Hello,
thanks for reply.
„What email address?“
„First determine what the "From" address is that is causing this issue“
That´s what I´d like to know :-)
My system email addresses are:
otrs@localhost (default)
I created „NOTIFICATION“ queue into which are incoming emails moved by PostMaster Filter.
This queue has outso...@oksystem.impl set as sender address.
(This email adress was used during initial configuration as OTRS´s mailbox and was successfully verified by the installation script.)
And then I created Notification (events) linked with this „NOTIFICATION“ queue (but there is no definition for sender address).
JZ
OK, I changed both sender e-mail addresses for the system to outso...@oksystem.impl
but it´s still not working.
System log (Admin tab in web GUI) does not say anything about e-mail address and
/opt/otrs/var/log contains only TicketCount.log
Regards
Fetch is working fine.
Problem is sending (the notification I guess).
„provide better information on what doesn't work“
I´d like to, but the error message I posted is all I can find. If there are any other log files
besides /opt/otrs/var/log, I don´t know where.
„If you're encountering exactly the same error messages as before, you didn't change anything relevant to what is the problem“
Yes, but what should I try then?
„for instance, you are using SMTP auth and aren't allowed to spoof/relay“
As I wrote, the installation script http://localhost/otrs/installer.pl found e-mail address outso...@oksystem.impl as suitable for both send/receive.
Anyway, I appreciate your try to help. Thank you. It just seems that OTRS is no go for us.
System address of the NOTIFICATION queue is outso...@oksystem.impl
Yes, I have a queue named NOTIFICATION but the default queue for incoming e-mails is Raw.
S pozdravem
Jiří Zemánek
That error is coming from the remote SMTP server. There should be a message logged on their side as to what address you are actually sending in the SMTP envelope and the address it’s coming from. Contact your SMTP provider and ask them for that data and what IP ranges from which you are authorized to send. Are you using SPF records in your DNS? If so, then default config of modern versions of sendmail enforces SPF declared mail servers. I doubt that your new OTRS server is declared as a legitimate source of email if you’re in early testing.
That error is coming from the remote SMTP server. There should be a message logged on their side as to what address you are actually sending in the SMTP envelope and the address it’s coming from. Contact your SMTP provider and ask them for that data and what IP ranges from which you are authorized to send. Are you using SPF records in your DNS? If so, then default config of modern versions of sendmail enforces SPF declared mail servers. I doubt that your new OTRS server is declared as a legitimate source of email if you’re in early testing.
The same. outsourcing@....
Regards
JZ
From: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org]
On Behalf Of Gerald Young
Sent: Thursday, February 21, 2013 5:53 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
what is the system email address for Raw?
Hello,
unfortunatelly, there is no error. The the last entry in SMTP log (of Exchange server) is successfull authentication and that´s all.
Besides, the install script http://localhost/otrs/installer.pl found IMAPS and SMTPS is working fine….
Regards
JZ
From: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org]
On Behalf Of David Boyes
Sent: Thursday, February 21, 2013 5:36 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
That error is coming from the remote SMTP server. There should be a message logged on their side as to what address you are actually sending in the SMTP envelope and the address it’s coming from. Contact your SMTP provider and ask them for that data and what IP ranges from which you are authorized to send. Are you using SPF records in your DNS? If so, then default config of modern versions of sendmail enforces SPF declared mail servers. I doubt that your new OTRS server is declared as a legitimate source of email if you’re in early testing.
Account used for authentication to SMTP server is this outsourcing@..... So it has the permission.
Regards
JZ
I have not configured autoreply, only the notification (in Notifications (Event) in the Admin menu) which the agent is not receiving.
(As far as I can remember, everything is at defaults from installer.pl script. I have just created Queues, one agent (me), System addresses and PostMaster Filter.) OTRS 3.1.12.
Here are the last few entries from OTRS Log (admin menu):
Fri Feb 22 13:50:02 2013 notice OTRS-otrs.GenericAgent.pl-10 Run GenericAgent Job 'Tickets_to_NOTIFICATION_queue' from db.
Fri Feb 22 13:50:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31904)!
Fri Feb 22 13:45:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31904)!
Fri Feb 22 13:40:02 2013 notice OTRS-otrs.GenericAgent.pl-10 Run GenericAgent Job 'Tickets_to_NOTIFICATION_queue' from db.
Fri Feb 22 13:40:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31904)!
Fri Feb 22 13:35:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31904)!
Fri Feb 22 13:30:02 2013 notice OTRS-otrs.GenericAgent.pl-10 Run GenericAgent Job 'Tickets_to_NOTIFICATION_queue' from db.
Fri Feb 22 13:30:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31904)!
Fri Feb 22 13:25:01 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31904)!
Fri Feb 22 13:20:17 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 New Ticket [2013022210000144/TEST 3 - komple] created (TicketID=36,Queue=NOTIFICATION,Priority=3 normal,State=new)
Fri Feb 22 13:20:17 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Filter: 'zemanek' Stopped filter processing because of used 'StopAfterMatch' (Message-ID: <11B5DF5A92B652418B8B6...@implmail.oksystem.impl>)
Fri Feb 22 13:20:17 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Filter: 'zemanek' Set param 'X-OTRS-Queue' to 'NOTIFICATION' (Message-ID: <11B5DF5A92B652418B8B6...@implmail.oksystem.impl>)
Fri Feb 22 13:20:02 2013 notice OTRS-otrs.GenericAgent.pl-10 Run GenericAgent Job 'Tickets_to_NOTIFICATION_queue' from db.
Fri Feb 22 13:20:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Removed PID (PostMasterMailbox/otrs/31592, because 1 hour old!
Fri Feb 22 13:15:01 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31592)!
Fri Feb 22 13:10:02 2013 notice OTRS-otrs.GenericAgent.pl-10 Run GenericAgent Job 'Tickets_to_NOTIFICATION_queue' from db.
Fri Feb 22 13:10:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31592)!
Fri Feb 22 13:05:01 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31592)!
Fri Feb 22 13:00:02 2013 notice OTRS-otrs.GenericAgent.pl-10 Run GenericAgent Job 'Tickets_to_NOTIFICATION_queue' from db.
Fri Feb 22 13:00:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31592)!
Fri Feb 22 12:55:02 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Can't create PID PostMasterMailbox, because it's already running (otrs/31592)!
Oh, and I created one job moving the rest (passed through PostMaster Filter) from Raw to NOTIFICATION queue
JZ
[root@otrs ~]# sudo -u otrs /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
NOTICE: PostMasterMailbox.pl is already running but is starting again!
IMAPS: Message 1/2 (okimpl\outsourcing/implmail.oksystem.impl)
Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
at /opt/otrs/Kernel/System/Email/SMTPTLS.pm line 172
(in cleanup) Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
at /opt/otrs/Kernel/System/Email/SMTPTLS.pm line 172
They maybe should but they obviously don´t. Maybe I have to set some verbosity for the logs, but where?
S pozdravem
Jiří Zemánek
unfortunatelly, there is no error. The the last entry in SMTP log (of Exchange server) is successfull authentication and that´s all.
Besides, the install script http://localhost/otrs/installer.pl found IMAPS and SMTPS is working fine….
Then the problem is in the list of hosts that that SMTP server(s) are allowed to relay. You may be allowed to authenticate, but that doesn’t mean that the SMTP server will relay your mail.
After issuing command:
[root@otrs ~]# sudo -u otrs /opt/otrs/bin/otrs.PostMasterMailbox.pl -f 1
IMAPS: Message 1/2 (okimpl\outsourcing/implmail.oksystem.impl)
Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
at /opt/otrs/Kernel/System/Email/SMTPTLS.pm line 172
(in cleanup) Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
at /opt/otrs/Kernel/System/Email/SMTPTLS.pm line 172
this appears in the OTRS log:
Mon Feb 25 10:22:01 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 New Ticket [2013022510000013/TEST 3 - komple] created (TicketID=97,Queue=NOTIFICATION,Priority=3 normal,State=new)
Mon Feb 25 10:22:01 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Filter: 'zemanek' Stopped filter processing because of used 'StopAfterMatch' (Message-ID: <11B5DF5A92B652418B8B6...@implmail.oksystem.impl>)
Mon Feb 25 10:22:01 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Filter: 'zemanek' Set param 'X-OTRS-Queue' to 'NOTIFICATION' (Message-ID: <11B5DF5A92B652418B8B6...@implmail.oksystem.impl>)
Mon Feb 25 10:22:00 2013 notice OTRS-otrs.PostMasterMailbox.pl-10 Removed PID (PostMasterMailbox/otrs/19209, because 1 hour old!
In the ticket history is only NewTicket, CustomerUpdate, EmailCustomer (e-mail added). Nothing about sending…..
Thank you, finally solved. The problem was that I had SMTPTLS configured and while the installer.pl script did not find anything wrong, something WAS wrong.
After changing to SMTP without authentication, all works :-)
The error message was misleading….
Regards
JZ
From: otrs-b...@otrs.org [mailto:otrs-b...@otrs.org]
On Behalf Of David Boyes
Sent: Friday, February 22, 2013 4:57 PM
To: User questions and discussions about OTRS.
Subject: Re: [otrs] Couldn't send mail: 550 5.7.1 Client does not have permissions to send as this sender
unfortunatelly, there is no error. The the last entry in SMTP log (of Exchange server) is successfull authentication and that´s all.
Besides, the install script http://localhost/otrs/installer.pl found IMAPS and SMTPS is working fine….
Then the problem is in the list of hosts that that SMTP server(s) are allowed to relay. You may be allowed to authenticate, but that doesn’t mean that the SMTP server will relay your mail.