search for: from_us

Displaying 20 results from an estimated 129 matches for "from_us".

Did you mean: from_s
2013 Jan 24
0
Again ACL Postgres dict trouble, no update and raw backtrace
...t says: 2013-01-23 16:33:20 master: Info: Dovecot v2.1.13 (6eabf0c738d7) starting up but I do not get no core dumps. The last SQL statement executed by Posgres is (log level debug5): 2013-01-24 11:09:59 CET DEBUG: StartTransactionCommand 2013-01-24 11:09:59 CET STATEMENT: SELECT dummy,to_user,from_user FROM user_shares 2013-01-24 11:09:59 CET DEBUG: StartTransaction 2013-01-24 11:09:59 CET STATEMENT: SELECT dummy,to_user,from_user FROM user_shares 2013-01-24 11:09:59 CET DEBUG: name: unnamed; blockState: DEFAULT; state: INPROGR, xid/subid/cid: 0/1/0, nestlvl: 1, children: 2013-01-24 1...
2012 Aug 29
1
ACL MySQL dict: to_user==from_user entries
...at domain sets the ACL of his INBOX to the same value it was set before (reading it from the server after this idempotent write changed the order but none of the flags). But after "SETACL INBOX user at domain lrwstipekxacd" I see a new entry in my imap_acl_shares table where to_user and from_user both contain the value "user at domain". As far as I can see, this entry does not make much sense in the database, because every user should be able so see its own folders. But adding this line may blow up the database especially according to the full table scan problem for acl dict r...
2012 Jul 16
0
ACL with MySQL dict => full table scans
...#39;m just installing ACL support on 2.1.6. When a user changes these ACLs, this results in a full table scan on the dictionary, that tells dovecot who shares with whom. Here's what queries I see when I run $ doveadm acl delete -u user1 shared/user2/folder user=user1 1: SELECT dummy,to_user,from_user FROM imap_acl_shares 2: SELECT dummy,from_user FROM imap_acl_anyone 3: BEGIN 4: DELETE FROM imap_acl_shares WHERE to_user = 'user1' AND from_user = 'user1' 5: INSERT INTO imap_acl_shares (dummy,to_user,from_user) VALUES ('1','user1','user1') ON DUPLICATE KE...
2009 Apr 07
2
Is there any more detailed docs about dict configuration
Hi, I am looking for some help on dict configration. I'm trying to config shared and public mailbox, and use sql as acl backend. Here is my config: table: CREATE TABLE `shared_dict` ( `id` int(10) NOT NULL AUTO_INCREMENT, `from_user` char(50) NOT NULL, `to_user` char(50) NOT NULL, `status` int(10) NOT NULL DEFAULT '1', PRIMARY KEY (`id`), KEY `from_user` (`from_user`), KEY `to_user` (`to_user`) ) dovecot-dict-sql.conf map { pattern = shared/shared-boxes/user/$from/$to table = shared_dict val...
2006 Mar 17
2
How do I use ''reply-to'' with Action Mailer
...9;'t seem to find it. I''m building a site and I want a way for one user to contact another. Simple enough. The problem lies in the fact I want the email to ''come from'' the user, and not from my system. In my ActionMailer class if I do the following: @from = "#{from_user.display_name} <notifier@mydomain.com>" it works just fine. But I really want is: @from = "#{from_user.display_name} <bob@bobsdomain.com>" If I do that though, the email never gets delivered. So I guess my question is can someone tell me how to make this work correct...
2015 Jul 24
0
possible patch for ACL SQL ERROR: duplicate key value violates unique constraint "user_shares_pkey"
...hen someone changed ACLs, actually for some reason some users, who get permission from other users, get this error quite often: dict: Error: sql dict: commit failed: ERROR: duplicate key value violates unique constraint "user_shares_pkey" (query: INSERT INTO user_shares (dummy,to_user,from_user) VALUES ('1','user1','user2')) It looks like that this error is triggered, when a MUA is connecting to Dovecot after ACLs had been changed and opens several mailboxes at once. So two or parallel Dovecot instances try to insert the record simultaneously. With a similia...
2016 Sep 23
2
PJSIP and P-Asserted-Identity
...caller id is DID at customer IP address. When caller id is present, the From must be the caller id number at ipitimi ip address and caller id is DID at customer IP address. The P-Asserted-Identity must be the DID at ipitimi ip address. For the endpoint, I have... from_domain = ipitimi ip address from_user = DID send_pai = yes If no caller id is present, calls go through IPitimi to my cell phone. However, if caller id is present, the P-Asserted-Identity is the caller id. Based on conversations with IPitimi and some other SIP products, this is incorrect. The P-Asserted-Identity should be the fro...
2014 Dec 16
2
PJSIP configuration question
...ct entry would be 192.168.0.0/24. > One minor detail, we are using ip authentication. When Vitelity changed > my account from user based authentication to IP based authentication, they > stopped including a user for the account. > > > > Should these settings work without the from_user (IP based authentication) > or do I need to get the account name from Vitelity? > > You definitely need the master account login username. If you has this working with chan_sip, then try the 'fromuser' from sip.conf and user is from_user. > > > Have a great day! &gt...
2023 Jun 08
1
Problem with pjsip
Hello everyone. I allow myself to submit a problem that I can not solve with my VOIP provider Orange in France [2023-06-08 13:19:03] ERROR[185091]: res_pjsip/pjsip_configuration.c:1044 from_user_handler: Error configuring endpoint 'Biv_Sortie' - 'from_user' field contains invalid character '@' [2023-06-08 13:19:03] ERROR[185091]: config_options.c:798 aco_process_var: Error parsing from_user=75B55BTQUHSG at orange-obs.fr at line 0 of   == chan_pjsip.so => (...
2014 Dec 16
3
PJSIP configuration question
...act = sip:64.2.142.93 [outbound.vitelity.net] type = endpoint context = TestApp transport = transport1 aors = outbound.vitelity.net dtmf_mode = rfc4733 force_rport = yes rtp_symmetric = yes rewrite_contact = yes send_rpid = yes trust_id_inbound = yes disallow = all allow = ulaw direct_media = no *from_user=<your main vitelity account name> ; Not subaccount* [outbound.vitelity.net] type = identify endpoint = outbound.vitelity.net match = 64.2.142.93 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/...
2014 Dec 16
4
PJSIP configuration question
...t; > >> One minor detail, we are using ip authentication. When Vitelity changed >> my account from user based authentication to IP based authentication, they >> stopped including a user for the account. >> >> >> >> Should these settings work without the from_user (IP based >> authentication) or do I need to get the account name from Vitelity? >> >> > You definitely need the master account login username. If you has this > working with chan_sip, then try the 'fromuser' from sip.conf and user is > from_user. > > &gt...
2018 Nov 02
3
[PULL] vhost: cleanups and fixes
...i, Nov 02, 2018 at 09:14:51AM -0700, Linus Torvalds wrote: > On Fri, Nov 2, 2018 at 6:04 AM Michael S. Tsirkin <mst at redhat.com> wrote: > > > > I've tried making access_ok mask the parameter it gets. > > PLEASE don't do this. Okay. > Just use "copy_to/from_user()". Just for completeness I'd like to point out for vhost the copies are done from the kernel thread. So yes we can switch to copy_to/from_user but for e.g. 32-bit userspace running on top of a 64 bit kernel it is IIUC not sufficient - we must *also* do access_ok checks on control path...
2018 Nov 02
3
[PULL] vhost: cleanups and fixes
...i, Nov 02, 2018 at 09:14:51AM -0700, Linus Torvalds wrote: > On Fri, Nov 2, 2018 at 6:04 AM Michael S. Tsirkin <mst at redhat.com> wrote: > > > > I've tried making access_ok mask the parameter it gets. > > PLEASE don't do this. Okay. > Just use "copy_to/from_user()". Just for completeness I'd like to point out for vhost the copies are done from the kernel thread. So yes we can switch to copy_to/from_user but for e.g. 32-bit userspace running on top of a 64 bit kernel it is IIUC not sufficient - we must *also* do access_ok checks on control path...
2016 Apr 04
2
Is it possible to have two trunks between two Asterisk boxes ?
Hello, For lab testing, I'm trying to build two differents PJSIP trunks between two Asterisk 13.8.0enabled boxes. I thought I could set up both trunks like this: Box A/port 5060 <------ Trunk1 -----> Box B/port 5060 Box A/port 5062 <------ Trunk2 -----> Box B/port 5062 and declare trunks like this: [foobar1] type=endpoint transport=simpletrans context=from-customer
2017 Dec 13
2
Is it possible to have two endpoints to the same IP address where one uses IP based authentication and the other requires asterisk to register to that system?
...ort1] type = transport bind = 0.0.0.0 protocol = udp [1002] type = aor remove_existing = yes contact = sip:1002 at xxx.xxx.xxx.xxx [1002] type = endpoint context = mycontext transport = transport1 accountcode = 6 dtmf_mode = inband device_state_busy_at = 48 force_rport = no identify_by = username from_user = 1002 disallow = all allow = ulaw acl = acl1 [identify112] type = identify endpoint = 1002 match = 1002 at xxx.xxx.xxx.xxx I setup the registration and the endpoint. [286] type = aor remove_existing = yes contact = sip:286 at xxx.xxx.xxx.xxx qualify_frequency = 60 [auth8] type = auth usernam...
2010 Jun 10
1
Shared Mailbox Questions
...ict: proxy::acl dict: acl: sqlite:/etc/dovecot/acl-shared-dict.conf acl-shared-dict.conf looks like this: connect = /home/staff/dovecot/acl-shared-ns.sqlite map { table = acl_shared_ns pattern = shared/shared-boxes/user/$to/$from value_field = has_visible_folders fields { from_user = $from to_user = $to } } /home/staff/dovecot/acl-shared-ns.sqlite is set 0666, and I can add records to it from the sqlite command line as a normal user. The table was created with: CREATE TABLE acl_shared_ns (from_user, to_user, has_visible_folders, PRIMARY KEY (from_user) ON CONFL...
2014 Dec 16
0
PJSIP configuration question
I corrected my local_net setting (based on advice from network admin). I have tried several different values for the from_user and still have the same problem. Asterisk receives the OK from Vitelity. Asterisk sends the ACK (without a Contact header). Vitelity doesn?t seem to process it, so they send an OK again. The OK receive, Transmit ACK occurs 4 times. A short while later, Vitelity hangs up on my cell phone. Aster...
2014 Dec 16
0
PJSIP configuration question
...correct entry would be 192.168.0.0/24<http://192.168.0.0/24>. One minor detail, we are using ip authentication. When Vitelity changed my account from user based authentication to IP based authentication, they stopped including a user for the account. Should these settings work without the from_user (IP based authentication) or do I need to get the account name from Vitelity? You definitely need the master account login username. If you has this working with chan_sip, then try the 'fromuser' from sip.conf and user is from_user. Have a great day! Da From: asterisk-users-bounce...
2009 Jun 25
2
Dovecot v1.2rc6 dict-server socket path problem & pgsql crash
...01]: Error: acl: dict commit failed 2009-06-25 14:27:03 dovecot: Error: child 29802 (dict) killed with signal 11 (core dumps disabled) My sql-dict.conf is: connect = host=localhost dbname=dovecot user=dovecot # password=pass [CUT samples for quota & expire] # CREATE TABLE user_shares ( # from_user varchar(100) not null, # to_user varchar(100) not null, # primary key (from_user, to_user) # ); map { pattern = shared/shared-boxes/user/$to/$from table = user_shares fields { from_user = $from to_user = $to } } ================== So I changed the connect line into:...
2018 Nov 02
2
[PULL] vhost: cleanups and fixes
On Fri, Nov 02, 2018 at 11:46:36AM +0000, Mark Rutland wrote: > On Thu, Nov 01, 2018 at 04:06:19PM -0700, Linus Torvalds wrote: > > On Thu, Nov 1, 2018 at 4:00 PM Kees Cook <keescook at chromium.org> wrote: > > > > > > + memset(&rsp, 0, sizeof(rsp)); > > > + rsp.response = VIRTIO_SCSI_S_FUNCTION_REJECTED; > > > + resp =