Displaying 20 results from an estimated 26 matches for "virtual_domains".
2010 Jan 12
1
Best way of dealing with Case-Sensitive Issues in Dovecot
...args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: static
args: uid=5000 gid=5000 home=/vmail/%Ld/%Ln allow_all_users=yes
In dovecot-sql.conf:
password_query = select concat(virtual_users.user, '@',
virtual_domains.name) AS user, virtual_users.password as password \
from virtual_users LEFT JOIN virtual_domains ON
virtual_users.domain_id=virtual_domains.id \
where virtual_users.user='%Ln' and virtual_domains.name='%Ld'
and virtual_users.status = 1 and virtual_domains.statu...
2020 Jul 03
0
Mail replication fails between v2.2.27 and v2.3.4.1
...st=127.0.0.1 dbname=mailer user=mailer password=***reducted***
default_pass_scheme = PLAIN-MD5
user_query = SELECT '/home/vmail/%d/%n' as home, 'vmail' as uid, 'vmail' as gid, mailbox as mail, 'tcps:mx1.example.com:12345' as mail_replica FROM virtual_users LEFT JOIN virtual_domains ON virtual_users.domain_id = virtual_domains.id WHERE virtual_users.user='%n' AND virtual_domains.name='%d';
password_query = SELECT password FROM virtual_users LEFT JOIN virtual_domains ON virtual_users.domain_id = virtual_domains.id WHERE virtual_users.user='%n' AND virtu...
2009 Sep 12
1
1.2.4 Maildir Quota Issues
...:User quota
quota_rule: *:storage=2G
Customized Use Configurations at the Mysql level:
user_query = SELECT 5000 AS uid,5000 AS gid,'/vmail/%d/%n' as home, \
concat('*:storage= ', virtual_users.quota_kb) AS
quota_rule \
from virtual_users LEFT JOIN virtual_domains ON
virtual_users.domain_id=virtual_domains.id \
where virtual_users.user='%n' and virtual_domains.name='%d'
When I change quota at the SQL level (per user), that quota becomes
active once Dovecot is restarted. Until then it keeps the previous quota
assigned. I do no...
2010 Jul 30
4
OT dovecot w/postfix, mysql , postfix does unnecessary lookups
...nswer
that it is "not a local domain" response.
(this msg is an extract from what I sent to WV some time ago, with him
showing absolutely no interest, I got bored tonight so thought I'd throw
it on this list since the question remains valid today)
30 Query SELECT 1 FROM virtual_domains WHERE
name='example.net' AND active ='1'
31 Query SELECT destination FROM view_aliases WHERE
email='someuser at example.net'
Should that not have ended its lookups at Q30 and not gone on to ask Q31
which it now knows is not local?
Secondly, it seems to do &qu...
2005 Jun 06
1
maildirmake
It is possibile to call maildirmake at login-time?
My final goal is to create maildir at login time (like courier-imapd) or
at least to create .INBOX.Trash, .INBOX.Drafts, .INBOX.Sent dir for
virtual user
/home/vmail/domains/$virtual_domain/$virtual_user/ .... with already
exsistant Maildir (created by postfix)
Thanks in advance
2011 Aug 31
1
Multiple domains to one inbox and temporary redirects...
Hi
Can anyone point me to a howto to arrange for multiple domains to deliver to one inbox with Dovecot? For example, user1 at example.com and user1 at example.net should both be delivered to /var/spool/mail/virtual/example.net/user1
Currently, I have the dovecot LDA set as:
dovecot unix - n n - - pipe
flags=DRhu user=mailsystem argv=/usr/lib/dovecot/deliver
2012 Nov 01
1
dovecot dimensioning
...spamassassin for years but always with few users.
Now i must build a server for 1500 users,
they will use various email software (thunderbird, outlook, ..)
the webmail (i'm not sure if squirrelmail or roundcube)
and blackberry devices (with the BIS service).
There will be around 1000 domains (virtual_domains) and postfix will read its users and domains from mysql.
Let's say that they will send and receive around 5000 emails per hour (10K in total per hour).
I was thinking to use karspersky server instead of clamav.
I already have the hardware, it is a server with 4 physical cpu (Intel Xeon E5504...
2015 Feb 27
1
postfix ldap unknown user
...:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = gatekeeper.marche.be
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_aliases.cf
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_recipients.cf
virtual_transport = dovecot
My ldap_virtual_recipients.cf (same in ldap-citoyen.cf and in
ldap_virtual_aliases.cf)
server_host = ldap.marche.be
search_base = ou=Users,ou=Citoyens,dc=marche,dc=be
scope = sub
bind = no
vers...
2013 Aug 01
2
misconception in uid and gid
...d and gid with every query, even though all virtual users use the same uid and gid. The query, that works, is:
user_query = SELECT mail, 'vmail' AS uid, 'vmail' AS gid, home, CONCAT('*:storage=', quota_MB*1024) AS quota_rule \
FROM virtual_users AS V LEFT JOIN virtual_domains AS D ON V.domain_id=D.id WHERE V.user='%n' AND D.name='%d'
Nevertheless, if I remove the segments "'vmail' AS uid, 'vmail' AS gid" and modify the file conf.d/10-mail.conf to show
mail_uid = vmail
mail_gid = vmail
I get this error:
dovecot: auth: Erro...
2020 May 29
1
Operation not permitted - fchown() failed for /run/dovecot/login
...postfix
myhostname = mail.my-domain.com
mynetworks = 127.0.0.0/8
message_size_limit = 30720000
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /var/mail/domains
virtual_uid_maps = static:102
virtual_gid_maps = static:105
smtpd_sasl_type = dovecot
smtpd_sasl_path = /var/spool/postfix/private/auth
smtpd_sasl_auth_enable = yes
broken_sasl_aut...
2013 Apr 12
4
Dovecot / Postfix
..._interfaces = all
html_directory = /usr/share/doc/postfix/html
message_size_limit = 30720000
virtual_alias_domains =
virtual_alias_maps =
proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_sasl_authenticated_header = yes
smtpd_recipient_restrictio...
2008 May 05
1
dovecot + exim + verify recipient / reject bad recipient at SMTP time
...is
time.
Is there any way to configure exim to reject non-existing user /asking dovecot lda/
at SMTP time. The standard exim configuration in ACL section do not work:
--- cut ---
require message = e-mail address is not valid ($local_part@$domain / $recipient_verify_failure)
domains = +virtual_domains
verify = recipient
--- cut ---
Please, have any work working example ? This setup work good witch cyrus-imap and LMTP.
best regards
Peter Hudec
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peter_hudec.vcf
Type: text/x-vcard
Size: 269 bytes
Desc: n...
2008 Feb 22
0
Postfix on one host/Dovecot (mailboxes) on another - How?
Hi,
I'm using Dovecot 1.0.5 on OpenSUSE 10.3.
I run postfix/amavis/clamav on one host, postfix uses LDAP to identify whether or not users exist. On this same machine I was running dovecot, so I used dovecot LDA on Postfix master.cf (as mentioned on http://heinous.org/wiki/Virtual_Domains,_Postfix,_Dovecot_LDA,_and_LDAP#Postfix).
Now I want to run Dovecot on another machine, how should I configure postfix on that first machine?
first machine: the domain my users know/use; webmail; postfix/amavis/clamav; mx record for domain all users have mail addresses; imapproxy (pointing to t...
2007 Mar 09
0
Vexim with LDA delivery
...the wiki, I wanted to ask before I put a full page up
for integration with Vexim in particular. Should I do this, or just
throw bits and peices where they seem relevant?
This was on FreeBSD, hence the /usr/local/etc/ stuff.
Exim's 'configure' file:
================================
virtual_domains:
#file_transport = virtual_delivery
file_transport = dovecot_virtual_delivery
virtual_domains_catchall:
#file_transport = virtual_delivery
file_transport = dovecot_virtual_delivery
dovecot_virtual_delivery:
driver = pipe
command = /usr/local/libexec/dovecot/deliver...
2008 Jul 02
0
[PATCH][2/3] XenAPI: Add Direct PCI Assignment (DPCI) Support
Add direct pci device assignment support.
This patch depends on the previous patch (1/3).
-----------------------------------------
Fields for DPCI class:
(RO_inst) VM
PPCI
hotplug_slot <- same as vslot param of pci-attach/detach.
(RO_run) virtual_domain
virtual_bus
virtual_slot
virtual_func
virtual_name <- domain:bus:slot:func
2013 Nov 05
1
Config problem: want SSL + local roundcube
...config:
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 7.2 ext3
auth_default_realm = artfulrobot.com
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/virtual/%d/%n
mail_privileged_group = mail
passdb {
args = username_format=%n /etc/exim4/virtual_domains/%d/passwords
driver = passwd-file
}
protocols = imap
service auth {
unix_listener auth-client {
group = Debian-exim
mode = 0660
}
user = root
}
service imap-login {
inet_listener imap {
port = 0
}
}
ssl = required
ssl_cert = </etc/ssl/certs/mail.artfulrobot.com-w...
2015 Mar 02
0
Connect failed to database
...calhost as anonymous on
221 Query select @@version_comment limit 1
150302 9:18:33 221 Query show databases
150302 9:18:38 221 Query SELECT DATABASE()
221 Init DB servermail
221 Query show databases
221 Query show tables
221 Field List virtual_aliases
221 Field List virtual_domains
221 Field List virtual_users
150302 9:18:43 221 Query show tables
150302 9:18:50 222 Connect usermail at localhost as anonymous on servermail
222 Connect Access denied for user 'usermail'@'localhost' (using password: YES)
223 Connect usermail at localhost as anony...
2015 Feb 27
0
postfix ldap unknown user
...:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = gatekeeper.marche.be
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_aliases.cf
virtual_mailbox_domains = hash:/etc/postfix/virtual_domains
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_recipients.cf
virtual_transport = dovecot
My ldap_virtual_recipients.cf (same in ldap-citoyen.cf and in
ldap_virtual_aliases.cf)
server_host = ldap.marche.be
search_base = ou=Users,ou=Citoyens,dc=marche,dc=be
scope = sub
bind = no
vers...
2007 Oct 19
1
Dovecot v1.0.3 -> Sieve "redirect" command returning Sendmail exit status 75
...local.net): sieve_execute_bytecode(/srv/mail/local.net/me/.dovecot.sievec) failed
deliver(me at local.net): msgid=<20071018222643.55kjplbxdq80o8kg at webmail.isp.net>: saved mail to INBOX
exim[31013]: 2007-10-18 22:27:04 1IihZU-000843-Gb => /srv/mail/local.net/me <me at local.net> R=virtual_domains T=virtual_delivery
exim[31013]: 2007-10-18 22:27:04 1IihZU-000843-Gb Completed
exim[31000]: 2007-10-18 22:27:04 1IihZU-00083y-90 => me <me at local.net> R=dspam_router T=dspam_spamcheck
exim[31000]: 2007-10-18 22:27:04 1IihZU-00083y-90 Completed
-------------- next part --------------
A no...
2014 Feb 19
1
Dovecot, mysql, and quota
...h postfix uses. It
looks like this:
CREATE TABLE `virtual_users` (
`id` int(11) NOT NULL auto_increment,
`domain_id` int(11) NOT NULL,
`password` varchar(128) NOT NULL,
`email` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`),
FOREIGN KEY (domain_id) REFERENCES virtual_domains(id) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
and a user looks like:
INSERT INTO `mail`.`virtual_users` (
`id` ,
`domain_id` ,
`password` ,
`email`
)
VALUES (
'1', '1', SHA2( 'PasswordGoesHere', 512) , 'username at domain.com'
);
plugin {
#...