Displaying 20 results from an estimated 95 matches for "local_part".
2005 Oct 15
1
Does anyone have SQL working in 1.03?
...rr1 dovecot: Dovecot v1.0.alpha3 starting up
Oct 15 22:51:38 rsrr1 dovecot: auth(default): pgsql: Connected
to vmail
===
and then we die:
===
Oct 15 23:02:07 rsrr1 dovecot: auth(default): sql
(username at domain.com,69.86.67.250): query: SELECT password FROM
accounts WHERE local_part = 'username' AND domain = 'domain.com' AND
active = 'Y' LIMIT 1;
Oct 15 23:02:07 rsrr1 dovecot: auth(default): client out: OK
1 user=username at domain.com
Oct 15 23:02:07 rsrr1 dovecot: auth(default): master in:
REQUEST 24 33278 1...
2005 Oct 10
1
Need help with SQL queries after updating to 1.0a3
I upgraded to 1.0a3 - i have everything in the config migrated over,
but I'm unsure about the way i should be querying postgres
my db handles virtual accounts only, and is set as such:
CREATE TABLE accounts (
local_part VARCHAR(64) NOT NULL,
domain VARCHAR(64) NOT NULL,
password VARCHAR(64) NULL,
home_dir VARCHAR(256) NOT NULL,
uid INTEGER DEFAULT '1003',
gid INTEGER DEFAULT '1003',
active CHAR(1) DEFAULT 'Y'
);
so an entry would be something like:
us...
2006 Feb 21
1
Custom forms and fieldWithErrors tags
...re only
some choices for the domain, so I wrote a helper where the local part of the
email is a text field and the domains is a dropdown list, like:
Select Email: [ my_name ] @ <domain.com>
..which I defined as a helper:
def email_form(tagname, domain_list)
text_field(tagname,"local_part", :size => 15) + " @ " +
select(tagname, "domain_part", domain_list)
end
In the database however I only have one email_address textfield which is the
full email address.
To get that done I added two attr_accessor''s for local_part and domain_part,
so...
2016 Nov 21
2
Exim still accepting emails to nonexistent users
Hi Heiko,
Here is the router:
virtual_aliases:
driver = redirect
debug_print = "R: Check address using virtual_aliases for $local_part@$domain"
allow_fail
allow_defer
hide data = CHECK_VIRTUAL_ALIASES
user = vmail
group = mail
local_user:
debug_print = "R: local_user for $local_part@$domain"
driver = accept
domains = +local_domains
#Dovecot auth check
# check_local_...
2016 Nov 16
2
Exim still accepting emails to nonexistent users
After adding the configuration bit:
deny
message = invalid recipient
domains = +local_domains
!verify = recipient/callout=no_cache
from: http://wiki2.dovecot.org/LMTP/Exim <http://wiki2.dovecot.org/LMTP/Exim> running update-exim4.conf and service exim4 restart
the server is still accepting emails to recipients that do not exist in dovecot.
Any ideas?
2019 Aug 28
2
LMTP Post login script for acl_groups
...er is logged in, so there is no user from
which you can get groups. So i think, my solution is (not really sure,
if this is right, it's a long time ago, i played around) this transport
in exim for local delivery
dovecot_delivery:?????????????
? debug_print = "T: dovecot_delivery_pipe for $local_part@$domain
translates to GET_LOCAL_MAIL"
? driver = pipe???????????????
? command = /usr/lib/dovecot/deliver -d "GET_LOCAL_MAIL"
? message_prefix =
? message_suffix =
? delivery_date_add
? envelope_to_add?????????????
? return_path_add?????????????
? log_output
? user = MAILUSER
? group...
2019 Aug 28
5
LMTP Post login script for acl_groups
...u can get groups. So i think, my solution is (not really sure,
> > if this is right, it's a long time ago, i played around) this transport
> > in exim for local delivery
> >
> > dovecot_delivery:
> > debug_print = "T: dovecot_delivery_pipe for $local_part@$domain
> > translates to GET_LOCAL_MAIL"
> > driver = pipe
> > command = /usr/lib/dovecot/deliver -d "GET_LOCAL_MAIL"
> > message_prefix =
> > message_suffix =
> > delivery_date_add
> > envelope_to_add...
2007 May 29
0
Migration from tpop3d to dovecot - troubles galore!
...gs to the domain,
demo.wananchi.com.
1. This query is what I am using for password_query. I do suspect it is
wrong, but well, this is what it yields from the current DB:
mysql> SELECT CONCAT(domain.path, '/', popbox.mbox_name), popbox.password_hash FROM popbox, domain WHERE popbox.local_part = 'eddie' AND popbox.
domain_name = 'demo.wananchi.com' AND popbox.domain_name = domain.domain_name;
+--------------------------------------------+---------------------------------------+
| CONCAT(domain.path, '/', popbox.mbox_name) | password_hash |...
2006 Sep 09
0
dovecot LDA w/ exim: "dyld: Library not loaded" & "trace trap" errors
...via exim -> dovecot LDA, i see two errors:
(1) dovecot_lda transport output: dyld: Library not loaded:
/usr/local/ssl/lib/libssl.0.9.8.dylib
(2) Child process of dovecot_lda transport (running command
"/usr/local/dovecot/libexec/dovecot/deliver -c
/var/MailServer/Conf/dovecot.conf -d $local_part@$domain") was
terminated by signal 5 (trace trap)
the more i stare at this, the more i think this is a dovecot issue ...
thoughts/suggestions ?
details:
% exim -bV
Exim version 4.63 #1 built 09-Sep-2006 11:58:58
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Sof...
2008 Jun 14
1
Caseless folder delivery?
...how to do this. Is there a way to do that using deliver?
Could there be? Relevant portions of the exim configuration follow.
(And, p.s., am I using the new -a and -m options correctly? Are they used
for anything yet?)
Jay Levitt
## exim.conf
...begin routers
ORIG_FOLDER = ${substr_1:$local_part_suffix}
FOLDER_MAP = /etc/exim/folder-map.$local_part
MAPPED_FOLDER = ${lookup{ORIG_FOLDER}lsearch{FOLDER_MAP}{$value}{ORIG_FOLDER}}
# Mailboxes whose localparts are folders
foldered_mailboxes:
driver = accept
local_part_suffix = +* : -*
local_part_suffix_optional
local_parts = +fold...
2007 May 30
1
Dovecot Authentication Problem (REVISED)
...d I think I am edging closer to getting a solution.
I have done some modifications and now dovecot gives me a different
error message than before....
Here is what I have for the password_query and user_query
password_query = SELECT popbox.cleartext AS password FROM popbox, domain \
WHERE popbox.local_part = 'eddie' AND popbox.domain_name = 'demo.wananchi.com' \
AND popbox.domain_name = domain.domain_name;
+----------+
| password |
+----------+
| boeing8 |
+----------+
user_query = SELECT CONCAT(domain.path, '/', popbox.mbox_name) as home, \
69 as uid, 6 as gid FROM popbox,...
2019 Aug 28
1
LMTP Post login script for acl_groups
...on is (not really sure,
> >>> if this is right, it's a long time ago, i played around) this transport
> >>> in exim for local delivery
> >>>
> >>> dovecot_delivery:
> >>> debug_print = "T: dovecot_delivery_pipe for $local_part@$domain
> >>> translates to GET_LOCAL_MAIL"
> >>> driver = pipe
> >>> command = /usr/lib/dovecot/deliver -d "GET_LOCAL_MAIL"
> >>> message_prefix =
> >>> message_suffix =
> >>> delivery_date_a...
2005 Jul 31
5
Dovecot Deliver?
I guess Dovecot has an LDA called deliver. What is it and how do I use
it? Or is it ready to be used. can't find any docs on it.
--
Marc Perkel - marc at perkel.com
Spam Filter: http://www.junkemailfilter.com
My Blog: http://marc.perkel.com
2005 Jan 06
1
Dovecot Crashing after MySQL Auth
...ess 9 sent handshake: PID
11589
dovecot-auth: Jan 06 12:21:17 Info: Login process 10 connected
dovecot-auth: Jan 06 12:21:17 Info: Login process 10 sent handshake: PID
11590
dovecot-auth: Jan 06 12:21:32 Info: MySQL: Performing query: SELECT
substring(password_hash, 6) AS password FROM popbox WHERE local_part =
'donovan' AND domain_name = 'somedomain.com'
dovecot: Jan 06 12:21:32 Error: login: Authentication process 11585
doesn't exist
imap-login: Jan 06 12:21:32 Info: Internal login failure:
donovan at somedomain.com [127.0.0.1]
dovecot: Jan 06 12:21:32 Error: child 11585 (auth) kil...
2016 Nov 21
0
Exim still accepting emails to nonexistent users
...(Please do not send CC to my private account)
Marti Markov <marti1234 at gmail.com> (Mo 21 Nov 2016 03:52:54 CET):
>
> Here is the router:
>
> virtual_aliases:
?
> hide data = CHECK_VIRTUAL_ALIASES
> local_user:
> debug_print = "R: local_user for $local_part@$domain"
> driver = accept
> domains = +local_domains
> #Dovecot auth check
> # check_local_user
> local_parts = ! root
> transport = dovecot_lmtp
>
> And this is the transport:
>
> dovecot_lmtp:
> driver = lmtp
> socket = /var/run/dovecot/l...
2007 Jan 26
1
Ubuntu, Exim, deliver: permissions/setgid problem
...ms = plain
socket listen {
master {
path = /var/run/dovecot-auth-master
mode = 0660
group = mail
}
}
# ... (other auth config directives here)
}
And the relevent parts of my exim4.conf are as follows:
# in router section:
local_user:
debug_print = "R: local_user for $local_part@$domain"
driver = accept
domains = +local_domains
check_local_user
local_part_suffix = +*
local_part_suffix_optional
local_parts = ! root
transport = dovecot_deliver_user
# in transport section:
dovecot_deliver_user:
debug_print = "T: pipe for $local_part@$domain"
driver =...
2018 Feb 21
2
exim dovecot sieve
...never I recieve a message
Exim writes to dovecot.log as the user who recieves the mail. This
forces me to have that logfile world writeable. I don't
really like that. How do you guys deal with that? Here my transport:
dovecot_delivery:
driver = pipe
# You may or may not want to add -d $local_part@$domain depending on
if you need a userdb lookup done.
command = /usr/libexec/dovecot/dovecot-lda -f $sender_address
message_prefix =
message_suffix =
log_output
delivery_date_add
envelope_to_add
return_path_add
#group = mail
#mode = 0660
temp_errors = 64 : 69 : 70:...
2019 Aug 29
3
[SOLVED] Re: LMTP Post login script for acl_groups
...solution is (not really sure,
>>>> if this is right, it's a long time ago, i played around) this transport
>>>> in exim for local delivery
>>>>
>>>> dovecot_delivery:
>>>> debug_print = "T: dovecot_delivery_pipe for $local_part@$domain
>>>> translates to GET_LOCAL_MAIL"
>>>> driver = pipe
>>>> command = /usr/lib/dovecot/deliver -d "GET_LOCAL_MAIL"
>>>> message_prefix =
>>>> message_suffix =
>>>> delivery_date_add
>...
2009 Oct 16
1
Dovecot can't find users' sieve files
...ath: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: vmail
plugin:
sieve: ~/.dovecot.sieve
(root)~#
And dovecot-sql.conf:
driver = pgsql
connect = host=localhost dbname=postfix user=postfix password = xxxxxxxx
password_query = \
SELECT local_part, password \
FROM mailbox WHERE local_part = '%n' AND active = 't'
user_query = \
SELECT maildir, 5000 AS uid, 5000 gid \
FROM mailbox WHERE local_part = '%n' AND active = 't'
Delivering works perfectly but I can't figure out why it's not able to
find th...
2009 Sep 01
2
Sieve segfault on sieve-before scripts
...no personal scripts found then segfault take place.
here is part of exim log:
2009-09-01 18:43:06 1MiUZA-0005V9-IB ** ivanov_maxim at domain.my
<admin at domain.my> R=localuser T=local_delivery: Child process of
local_delivery transport (running command
"/usr/libexec/dovecot/deliver -d $local_part") was terminated by
signal 11 (Segmentation fault)
Once I remove "keep" from end of latest sieve-before script,
everything goes fine.
Here is latest global sieve script:
# cat /etc/dovecot1.2/sieve-before.d/020-SENT-STORE.sieve
require ["imap4flags"];
if header :contai...