Hi why make mailfolder for virtualuser iredmail is ect./vmail/u/s/e/r/1/user1 ???? how can i full reconfigur for normal mos ect./vmail/user1?
Re: fetchmail and procmail for iRedMail 0.8.3 how to
[Solved] Changing LDAP Passwords
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in backend (LDAP):
- Linux/BSD distribution name and version: CentOS 6.3
====
Hello Zhang,
Thanks again for the wonderful product. I'm trying to setup a backup mail server, but am running into problems with the LDAP piece. I have imported my LDIF backup as described in the wiki (http://www.iredmail.org/wiki/index.php? … _LDIF_file), but when I try to update the passwords for vmail and vmail admin in phpldapadmin, I get:
Could not perform ldap_modify operation.
LDAP said: Server is unwilling to perform
Error number: 0x35 (LDAP_UNWILLING_TO_PERFORM)
Description: The LDAP server refused to perform the operation.
Not wanting to throw in the towel, I tried changing the password at the command line:
ldappasswd -s <vmailPasswd> -D "cn=Manager,dc=mydomain,dc=com" \
-w <ManagerPasswd> -x cn=vmail,dc=mydomain,dc=com
This returns:
Result: Server is unwilling to perform (53)
Additional info: shadow context; no update referral
I have tried looking in /var/log/openldap.log for additional information, but it is empty, even after changing log level to -1 in slapd.conf and restarting the service.
However, the service is running:
# service slapd status
slapd (pid 14275) is running...
And there are no issues with connecting to phpldapadmin and viewing the imported data. I simply can't login to any user accounts. (Presumably because the vmail password is incorrect)
Here's a snippet of the /var/log/maillog file during a connection attempt:
Jan 30 11:12:44 ruthie postfix/proxymap[13349]: warning: dict_ldap_lookup: Search error 50: Insufficient access
Jan 30 11:12:44 ruthie postfix/proxymap[13349]: warning: dict_ldap_lookup: Search error 50: Insufficient access
Jan 30 11:12:44 ruthie postfix/proxymap[13349]: warning: dict_ldap_lookup: Search error 50: Insufficient access
Jan 30 11:12:44 ruthie postfix/trivial-rewrite[14606]: fatal: proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf(0,lock|fold_fix): table lookup problem
Jan 30 11:12:45 ruthie postfix/qmgr[14469]: warning: problem talking to service rewrite: Success
Jan 30 11:12:45 ruthie postfix/master[13307]: warning: process /usr/libexec/postfix/trivial-rewrite pid 14606 exit status 1
Jan 30 11:12:45 ruthie postfix/master[13307]: warning: /usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Jan 30 11:13:25 ruthie roundcube: IMAP Error: Login failed for ted@heroesinc.us from 75.70.227.211. LOGIN: Temporary authentication failure. in /var/www/roundcubemail-0.8.2/program/include/rcube_imap.php on line 191 (POST /mail/?_task=login&_action=login)
Obviously nothing works so long as I can't update these passwords. Any idea what I'm doing wrong?
Thanks!
Ted
Deleted iredadmin folder from /var/www/ now getting server misconfigur
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Mysql
- Linux/BSD distribution name and version: RHEL6.2
- Related log if you're reporting an issue:
====
Now I have downloaded the iredadmin panel, need to know what configuration do i have to change and in which files. Please help me out.
Sending mail from outlook vDomain2 to vDomain1 fails
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.4.1
- Related log if you're reporting an issue: postconf -n
====
Hello,
I have set up a iRedMail server on a new vanilla Ubuntu Server.
The hostname (fqdn) is mail.domain1.com
I have set up 2 domains on it: domain1.com and domain2.com
When i user Roundcube everything works great, but if i user Outlook from different locations with different IPs i have the following situation:
Sender Receiver Result
domain1.com domain1.com ok
domain2.com domain2.com ok
domain1.com domain2.com ok
domain2.com domain1.com NOK
domain2.com google.com ok
I receive an instant messagelike this:
From: System Administrator
Sent: Wednesday, January 30, 2013 1:21 PM
To: user@domain2.com
Subject: Undeliverable: {Subject}Your message did not reach some or all of the intended recipients.
Subject: FW: {Subject}
Sent: 1/30/2013 1:21 PM
The following recipient(s) cannot be reached:
User (user@domain1.com) on 1/30/2013 1:21 PM
Server error: '554 5.7.1 <user@domain1.com>: Recipient address rejected: Invalid HELO/EHLO; Must be a FQDN or an address literal, not 'ALEXANDRAPC''
User2 (user2@domain1.com) on 1/30/2013 1:21 PM
Server error: '554 5.7.1 <user2@domain1.com>: Recipient address rejected: Invalid HELO/EHLO; Must be a FQDN or an address literal, not 'ALEXANDRAPC''
ALEXANDRAPC is the computername of the client.
Does anyone have knowledge how to solve this?
Thank you very much!
BR,
Horia
PS: This is "postconf -n":
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
allow_min_user = no
append_dot_mydomain = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
delay_warning_time = 0h
disable_vrfy_command = yes
dovecot_destination_recipient_limit = 1
enable_original_recipient = no
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = ipv4
mailbox_command = /usr/lib/dovecot/deliver
mailbox_size_limit = 0
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
message_size_limit = 15728640
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname, domain1.com, domain2.com
mydomain = domain1.com
myhostname = mail.domain1.com
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = mail.domain1.com
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
queue_run_delay = 300s
readme_directory = no
recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cf
relayhost =
sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf
smtp-amavis_destination_recipient_limit = 1
smtp_data_init_timeout = 240s
smtp_data_xfer_timeout = 600s
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, check_policy_service inet:127.0.0.1:10031, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = ./dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_CAfile = /etc/ssl/certs/iRedMail_CA.pem
smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem
smtpd_tls_key_file = /etc/ssl/private/postfix.pem
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf, proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/catchall_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = dovecot
virtual_uid_maps = static:1001
Re: [Solved] Changing LDAP Passwords
Okay, I figured out the logging problem. So LDAP is showing logs now. Here is the logs when I try to commit the password change:
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on 1 descriptor
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on:
Jan 30 13:04:51 myserver slapd[16377]:
Jan 30 13:04:51 myserver slapd[16377]: slap_listener_activate(7):
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=7 busy
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=8 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=9 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=10 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: >>> slap_listener(ldap:///)
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=11 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: listen=7, new connection on 15
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on 1 descriptor
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on:
Jan 30 13:04:51 myserver slapd[16377]:
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=7 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=8 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=9 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=10 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=11 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on 1 descriptor
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on:
Jan 30 13:04:51 myserver slapd[16377]: 15r
Jan 30 13:04:51 myserver slapd[16377]:
Jan 30 13:04:51 myserver slapd[16377]: daemon: read active on 15
Jan 30 13:04:51 myserver slapd[16377]: daemon: added 15r (active) listener=(nil)
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 fd=15 ACCEPT from IP=127.0.0.1:37221 (IP=0.0.0.0:389)
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=7 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=8 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=9 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=10 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=11 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on 1 descriptor
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on:
Jan 30 13:04:51 myserver slapd[16377]:
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=7 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=8 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=9 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=10 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=11 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: connection_get(15)
Jan 30 13:04:51 myserver slapd[16377]: connection_get(15): got connid=1019
Jan 30 13:04:51 myserver slapd[16377]: connection_read(15): checking for input on id=1019
Jan 30 13:04:51 myserver slapd[16377]: op tag 0x60, time 1359576291
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=0 do_bind
Jan 30 13:04:51 myserver slapd[16377]: >>> dnPrettyNormal: <cn=Manager,dc=mydomain,dc=com>
Jan 30 13:04:51 myserver slapd[16377]: <<< dnPrettyNormal: <cn=Manager,dc=mydomain,dc=com>, <cn=manager,dc=mydomain,dc=com>
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=0 BIND dn="cn=Manager,dc=mydomain,dc=com" method=128
Jan 30 13:04:51 myserver slapd[16377]: do_bind: version=3 dn="cn=Manager,dc=mydomain,dc=com" method=128
Jan 30 13:04:51 myserver slapd[16377]: ==> bdb_bind: dn: cn=Manager,dc=mydomain,dc=com
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=0 BIND dn="cn=Manager,dc=mydomain,dc=com" mech=SIMPLE ssf=0
Jan 30 13:04:51 myserver slapd[16377]: do_bind: v3 bind: "cn=Manager,dc=mydomain,dc=com" to "cn=Manager,dc=mydomain,dc=com"
Jan 30 13:04:51 myserver slapd[16377]: send_ldap_result: conn=1019 op=0 p=3
Jan 30 13:04:51 myserver slapd[16377]: send_ldap_result: err=0 matched="" text=""
Jan 30 13:04:51 myserver slapd[16377]: send_ldap_response: msgid=1 tag=97 err=0
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=0 RESULT tag=97 err=0 text=
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on 1 descriptor
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on:
Jan 30 13:04:51 myserver slapd[16377]:
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=7 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=8 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=9 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=10 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=11 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on 1 descriptor
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on:
Jan 30 13:04:51 myserver slapd[16377]: 15r
Jan 30 13:04:51 myserver slapd[16377]:
Jan 30 13:04:51 myserver slapd[16377]: daemon: read active on 15
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=7 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=8 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=9 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=10 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=11 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: connection_get(15)
Jan 30 13:04:51 myserver slapd[16377]: connection_get(15): got connid=1019
Jan 30 13:04:51 myserver slapd[16377]: connection_read(15): checking for input on id=1019
Jan 30 13:04:51 myserver slapd[16377]: op tag 0x63, time 1359576291
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=1 do_search
Jan 30 13:04:51 myserver slapd[16377]: >>> dnPrettyNormal: <cn=vmailadmin,dc=mydomain,dc=com>
Jan 30 13:04:51 myserver slapd[16377]: <<< dnPrettyNormal: <cn=vmailadmin,dc=mydomain,dc=com>, <cn=vmailadmin,dc=mydomain,dc=com>
Jan 30 13:04:51 myserver slapd[16377]: SRCH "cn=vmailadmin,dc=mydomain,dc=com" 0 0
Jan 30 13:04:51 myserver slapd[16377]: 0 0 0
Jan 30 13:04:51 myserver slapd[16377]: begin get_filter
Jan 30 13:04:51 myserver slapd[16377]: AND
Jan 30 13:04:51 myserver slapd[16377]: begin get_filter_list
Jan 30 13:04:51 myserver slapd[16377]: begin get_filter
Jan 30 13:04:51 myserver slapd[16377]: PRESENT
Jan 30 13:04:51 myserver slapd[16377]: end get_filter 0
Jan 30 13:04:51 myserver slapd[16377]: end get_filter_list
Jan 30 13:04:51 myserver slapd[16377]: end get_filter 0
Jan 30 13:04:51 myserver slapd[16377]: filter: (&(objectClass=*))
Jan 30 13:04:51 myserver slapd[16377]: attrs:
Jan 30 13:04:51 myserver slapd[16377]: *
Jan 30 13:04:51 myserver slapd[16377]: +
Jan 30 13:04:51 myserver slapd[16377]:
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=1 SRCH base="cn=vmailadmin,dc=mydomain,dc=com" scope=0 deref=0 filter="(&(objectClass=*))"
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=1 SRCH attr=* +
Jan 30 13:04:51 myserver slapd[16377]: => bdb_search
Jan 30 13:04:51 myserver slapd[16377]: bdb_dn2entry("cn=vmailadmin,dc=mydomain,dc=com")
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: search access to "cn=vmailadmin,dc=mydomain,dc=com" "entry" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: search access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: base_candidates: base: "cn=vmailadmin,dc=mydomain,dc=com" (0x00000003)
Jan 30 13:04:51 myserver slapd[16377]: => test_filter
Jan 30 13:04:51 myserver slapd[16377]: AND
Jan 30 13:04:51 myserver slapd[16377]: => test_filter_and
Jan 30 13:04:51 myserver slapd[16377]: => test_filter
Jan 30 13:04:51 myserver slapd[16377]: PRESENT
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: search access to "cn=vmailadmin,dc=mydomain,dc=com" "objectClass" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: search access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: <= test_filter 6
Jan 30 13:04:51 myserver slapd[16377]: <= test_filter_and 6
Jan 30 13:04:51 myserver slapd[16377]: <= test_filter 6
Jan 30 13:04:51 myserver slapd[16377]: => send_search_entry: conn 1019 dn="cn=vmailadmin,dc=mydomain,dc=com"
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "entry" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (objectClass)
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on 1 descriptor
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on:
Jan 30 13:04:51 myserver slapd[16377]:
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "objectClass" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=7 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=8 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result was in cache (objectClass)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result was in cache (objectClass)
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=9 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=10 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: daemon: epoll: listen=11 active_threads=0 tvp=zero
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (cn)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "cn" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (sn)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "sn" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (uid)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "uid" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (userPassword)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "userPassword" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (structuralObjectClass)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "structuralObjectClass" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (entryUUID)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "entryUUID" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (creatorsName)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "creatorsName" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (createTimestamp)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "createTimestamp" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (entryCSN)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "entryCSN" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (modifiersName)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "modifiersName" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (modifyTimestamp)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "modifyTimestamp" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (entryDN)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "entryDN" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result was in cache (entryDN)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (subschemaSubentry)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "subschemaSubentry" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result was in cache (subschemaSubentry)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result not in cache (hasSubordinates)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access to "cn=vmailadmin,dc=mydomain,dc=com" "hasSubordinates" requested
Jan 30 13:04:51 myserver slapd[16377]: <= root access granted
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: read access granted by manage(=mwrscxd)
Jan 30 13:04:51 myserver slapd[16377]: => access_allowed: result was in cache (hasSubordinates)
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=1 ENTRY dn="cn=vmailadmin,dc=mydomain,dc=com"
Jan 30 13:04:51 myserver slapd[16377]: <= send_search_entry: conn 1019 exit.
Jan 30 13:04:51 myserver slapd[16377]: send_ldap_result: conn=1019 op=1 p=3
Jan 30 13:04:51 myserver slapd[16377]: send_ldap_result: err=0 matched="" text=""
Jan 30 13:04:51 myserver slapd[16377]: send_ldap_response: msgid=2 tag=101 err=0
Jan 30 13:04:51 myserver slapd[16377]: conn=1019 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on 1 descriptor
Jan 30 13:04:51 myserver slapd[16377]: daemon: activity on:
Jan 30 13:04:51 myserver slapd[16377]: 15r
Re: [Solved] Changing LDAP Passwords
Okay! I figured it out. I had tried to setup replication earlier, but hadn't been able to make it work due to issues with the TLS certs. I had to remove the sync directive.
move iredmail to new server
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend MySQL
Hello Guy
I use iredmail 0.7.3 would like to move to new server iredmail 0.8.3
how do i do? can you tell me step by step
Thank you
Re: move iredmail to new server
This should help you http://www.iredmail.org/wiki/index.php? … ail.Server
Re: fetchmail and procmail for iRedMail 0.8.3 how to
try this....
1. create a dummy account in your iRedMail server and use fetchmail to download all your external mail to that dummy email account
2. use sieve to filter/forward the mails as you like...you can do that in roundcubemail, Settings -> Filters
Re: Webmail Sent mail
As far as I know sent items that use POP3 on 3rd party email client will not be available in the server...
You have to use IMAP to allow the sent item to be store in server
Or you can enable Per Domain/User Sender/Recipient BCC Address to have a copy of the send/receive email on a dummy account...you can do that in the iRedAdmin-Pro version...
Re: How to copy messages from iRedMail server?
show us your /var/vmail/vmail1/$DOMAIN/$USERNAME/Maildir/cur...
below is part of my cur's content...
-rw------- 1 vmail vmail 12493 Jan 30 09:38 1359509911.M476125P29776.xxx,S=12493,W=12677:2,RS
-rw------- 1 vmail vmail 17992 Jan 30 17:12 1359537151.M460001P2789.xxx,S=17992,W=18248:2,RS
-rw------- 1 vmail vmail 7114 Jan 30 18:40 1359542406.M586383P3552.xxx,S=7114,W=7228:2,RS
-rw------- 1 vmail vmail 7562 Jan 31 08:54 1359593645.M873110P11799.xxx,S=7562,W=7682:2,RS
Installation error
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: RHEL 6.2
- Related log if you're reporting an issue:
====
[root@one iRedMail-0.8.3]# bash iRedMail.sh
<<< SKIP >>> Skip function: check_new_iredmail.
< INFO > Clean metadata of yum repositories.
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Cleaning repos: InstallMedia iRedMail
3 metadata files removed
1 sqlite files removed
0 metadata files removed
< INFO > Generating yum repository ...
<<< SKIP >>> Skip function: fetch_misc.
<<< SKIP >>> Skip function: check_md5.
< INFO > Install package: dialog.x86_64
< INFO > Installing package(s): dialog.x86_64
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
iRedMail | 951 B 00:00
iRedMail/primary | 38 kB 00:00
iRedMail 83/83
Setting up Install Process
No package dialog.x86_64 available.
Error: Nothing to do
< ERROR > Installation failed, please check the terminal output.
< ERROR > If you're not sure what the problem is, try to get help in iRedMail
< ERROR > forum: http://www.iredmail.org/forum/
Re: Can't add any Domains/Users
I found the Bug, when you change the Password from the user postmaster..... nothing works anymore only rouncubemail
Re: Can't add any Domains/Users
It's a bug in iRedAdmin-Pro-MySQL-1.5.1, May i know which version of iRedAdmin do you use? iRedAdmin-Pro-MySQL?
I can send you the development edition if you want.
Re: Installation error
Updating certificate-based repositories.
iRedMail | 951 B 00:00
iRedMail/primary | 38 kB 00:00
iRedMail 83/83
Setting up Install Process
No package dialog.x86_64 available.
A official yum repo is required. If you're running RHEL, please create a repo with your installation media (CD/DVD, or ISO images), otherwise a valid subscription of RHN is required.
Re: Sending mail from outlook vDomain2 to vDomain1 fails
I receive an instant messagelike this:
From: System Administrator
Sent: Wednesday, January 30, 2013 1:21 PM
To: user@domain2.com
Subject: Undeliverable: {Subject}Server error: '554 5.7.1 <user@domain1.com>: Recipient address rejected: Invalid HELO/EHLO; Must be a FQDN or an address literal, not 'ALEXANDRAPC''
1) iRedMail won't send non-delivery notification with these mail headers.
2) If you configure the Outlook to perform SMTP login before sending email, then client FQDN check will be bypassed.
So this is not rejected by iRedMail at all. Please check whether it was connecting to a different mail server while you sending mail from domain2.com to domain1.com, maybe caused by DNS cache in local network. For example, check DNS response with command "nslookup", "dig", etc.
domain2.com domain1.com NOK
Re: Deleted iredadmin folder from /var/www/ now getting server misconfigur
You can find all required info (accounts, passwords, etc) in iRedMail installation directory. e.g. /root/iRedMail-0.8.3/iRedMail.tips.
Modified PostFix
==== Required information ====
- iRedMail version: iRedMail-0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS release 5.9 (Final)
- Related log if you're reporting an issue:
====
I have a modified version of Postfix that I would like to use. Can I modify the script to use my new PostFix RPM? I'm okay if I need to host my own repo/RPMS. Any assistance would be greatly appreciated.
Thanks!
Large I/O on server (DDoS or whatever...)
- iRedMail version: from 0.7.0 updated to 0.8.3
- Store mail accounts in which backend (MySQL):
- Linux/BSD distribution name and version: Debian Squeeze
====
Today I was faced with strange problem. Catastrophic response from my server.
iostat showed me a large I/O. Tps on disk (600-800) and avg-cpu %idle parameter high CPU usage (0.03). That situation was constantly for hours.
$ iostat
avg-cpu: %user %nice %system %iowait %steal %idle
42.93 0.00 42.35 14.69 0.00 0.03Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 727.68 3763.78 8132.43 17387617 37569536
I checked incoming sources to my server and was terrified. 50+ IPs from around the world sending requests. (it is impossible to be a visitors, because the web presentation is from small country with local domain and have 5-15 visits per day)
$ netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -n
1 108.23.241.78
1 113.208.32.112
1 115.114.58.8
1 12.154.55.40
1 12.34.246.167
1 130.206.18.132
1 138.141.100.73
1 158.109.36.179
1 174.132.149.218
1 193.222.78.6
1 193.222.84.70
1 193.38.113.62
1 195.186.227.50
1 195.186.99.50
1 199.250.129.2
1 200.230.71.10
1 200.230.71.55
1 205.166.218.186
1 205.178.149.7
1 205.188.100.58
1 205.188.159.42
1 205.188.190.2
1 205.188.59.193
1 207.115.17.26
1 207.172.157.20
1 207.46.163.30
1 208.36.123.165
1 208.70.88.10
1 208.91.197.128
1 209.145.111.61
1 209.33.205.5
1 212.166.70.250
1 212.170.233.86
1 212.59.199.125
1 213.221.143.235
1 213.46.255.200
1 213.55.128.8
1 213.55.128.9
1 216.99.131.15
1 216.99.131.16
1 217.114.0.53
1 217.76.128.34
1 220.181.15.194
1 50.19.104.123
1 62.14.4.83
1 62.201.1.2
1 64.12.90.34
1 64.12.90.65
1 64.12.90.97
1 64.12.90.98
1 65.205.78.58
1 65.55.39.12
1 65.55.92.136
1 66.232.205.163
1 66.246.235.44
1 66.40.20.29
1 67.220.48.93
1 68.232.135.213
1 69.64.147.249
1 72.167.238.201
1 72.9.240.201
1 74.54.41.162
1 80.64.32.18
1 80.67.172.24
1 82.98.86.161
1 82.98.86.167
1 89.108.104.4
1 94.189.240.125
1 98.139.214.154
1 Address
1 servers)
2
2 12.102.252.75
2 205.188.103.1
2 205.188.103.2
2 205.188.146.193
2 205.188.156.193
2 209.202.254.14
2 212.40.2.32
2 212.82.111.207
2 213.133.98.98
2 64.12.137.162
2 64.12.90.33
2 64.38.116.12
2 71.74.56.244
2 77.238.177.9
3 205.188.155.110
3 213.133.100.100
3 64.12.137.161
3 65.54.188.110
3 65.55.37.104
3 65.55.37.120
3 65.55.37.88
3 65.55.92.152
3 65.55.92.184
3 71.74.56.243
3 77.238.184.241
3 80.57.35.169
4 204.127.208.75
4 205.188.146.194
4 64.12.139.193
4 65.54.188.126
4 65.55.37.72
5 65.54.188.72
5 65.54.188.94
6 65.55.92.168
8 68.1.17.3
11 61.19.251.167
13 115.78.225.198
13 68.6.19.3
13 98.138.206.39
14 173.194.70.27
14 66.216.129.171
16 115.115.125.50
18 98.136.217.192
23 190.69.78.140
57 91.119.178.10
So after I tried to stop apache, turn off server for a while, drop packets from couple IPs:
$ /sbin/iptables -I INPUT -s x.x.x.x -p tcp -j DROP
$ /sbin/iptables -I INPUT -s x.x.x.x -p udp -j DROP
result was the same.
I installed iRedMail 15 days ago, so I decided to try uninstall and to my surprise that solved a problem tps on disk (2.07) and avg-cpu %idle parameter high CPU usage (97.81).
Really liked iRedMail solution so I would like to consult with someone on this forum about which configuration of iRedMail could cause this situation at all.
Can I request some clarification on hosting mail for multiple domains
==== Required information ====
- iRedMail version: 0.8.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04 LTS
- Related log if you're reporting an issue:
====
Hi all, firstly, a great thank you to all involved in iRedMail, I absolutely love it.
I have a question regarding hosting emails for multiple domains,Amavis and Spamassasin .. apologies if I overdo the background, I want to make sure I cover as much as possible.
For simplicity, I have two domains: domain1.com and domain2.co.uk
iRedMail is hosted on domain1.com, and Apache is set up with virtual hosts for both domains, with files located in /srv/www/domain1.com and /srv/www/domain2.co.uk
I recently transferred a previous version of iRedMail from a VPS running 10.04. I followed this guide : http://www.iredmail.org/wiki/index.php? … ail.Server
I now run 12.04 and the latest version of iRedMail.
I also used scp to transfer the actual websites from /srv/www/
Everything went pretty much according to plan. However, we noticed that info@domain2.co.uk started getting a lot of spam, whereas before it received none.
This includes the expected emails selling little blue pills but also emails "from" (in theory) info@domain2.co.uk to info@domain2.co.uk and none were being marked as ***SPAM*** in the subject and the headers only contained "X-Virus-Scanned: Debian amavisd-new at mail.domain1.com" but no X-Spam-Score etc
So having searched through this forum, I found that I can edit /etc/amavis/conf.d/50-user and change
@local_domains_maps = ['mail.domain1.com' , 'domain1.com']
so it included "domain2.co.uk"
Having done that, and set
$sa_tag_level_deflt = -1000;
to ensure all flags are being displayed and finally
rewrite_subject 1
in /etc/spamassassin/local.cf to make sure the header was being marked as spam.
So my question is, is it normal to have to manually set the domain in local_domains_map? I never had to do this with my previous set up, so I wondered if maybe something has changed or possibly something isn't quite configured correctly?
Apologies for such a long winded post.