1 (edited by saddamhussein 2011-10-03 13:31:30)

Topic: fatal : proxymap service is not configured

hello Mr. Developer
i've get an error when integrating my iredmail with microsoft active directory.. i've follow your wiki about this integration. i've successfully login with user on AD, but, i can't sent email both receive. when i try to check mail.log, i've got something.. here's the error said:

Oct  3 12:11:39 mail postfix/proxymap[13477]: warning: request for unapproved table: "ldap:/etc/postfix/ad_sender_login_maps.cf"
Oct  3 12:11:39 mail postfix/proxymap[13477]: warning: to approve this table for read-only access, list proxy:ldap:/etc/postfix/ad_sender_login_maps.cf in main.cf:proxy_read_maps
Oct  3 12:11:39 mail postfix/smtpd[13587]: fatal: proxymap service is not configured for table "ldap:/etc/postfix/ad_sender_login_maps.cf"
Oct  3 12:11:40 mail postfix/master[5224]: warning: process /usr/lib/postfix/smtpd pid 13587 exit status 1
Oct  3 12:11:40 mail postfix/master[5224]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

and, here's my main.cf file.

#
# Unused iRedMail special settings.
# Set them to empty value OR comment these lines.
#
#virtual_alias_maps =
#sender_bcc_maps =
#recipient_bcc_maps =
my_networks = 192.168.100.0/24
#relay_domains =
#relay_recipient_maps =

#
# Add your mail domain in "smtpd_sasl_local_domain" and "virtual_mailbox_domains".
#
#smtpd_sasl_local_domain = intra.gti.co.id
#virtual_mailbox_domains = intra.gti.co.id

#
# Change some settings.
#
# Transport maps.
transport_maps = hash:/etc/postfix/transport
virtual_transport = lmtp:localhost:2003
alias_maps = hash:/etc/postfix/aliases
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mai
lbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps
$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps

#
# AD query.
#
# Note: We will create these 3 files later.
#
# Used to verify sender.
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ad_sender_login_maps.cf

# Used to query mail users.
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ad_virtual_mailbox_maps.cf

# Used to query mail lists/groups.
virtual_alias_maps = proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf

and, according to the log, the error is in the ad_sender_login_maps.cf. here's my ad_sender_login_maps.cf file.

server_host     = 192.168.100.155
server_port     = 389
version         = 3
bind            = yes
start_tls       = no
bind_dn         = vmail
bind_pw         = my_pass
search_base     = cn=users,dc=intra,dc=gti,dc=co,dc=id
scope           = sub
query_filter    = (&(userPrincipalName=%s)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
result_attribute= userPrincipalName
debuglevel      = 0

i hope it's enough to analyze my problem.

thank you before Mr. developer for your support..

umm.. i forget about my sys identities.
i use iredmail0-73
my OS is ubuntu 10.04 server

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: fatal : proxymap service is not configured

sir, can i get any help??

3

Re: fatal : proxymap service is not configured

saddamhussein wrote:

Oct  3 11:35:00 mail postfix/smtpd[13386]: fatal: proxymap service is not configured for table "ldap:/etc/postfix/ad_sender_login_maps.cf"

You didn't list "smtpd_sender_login_maps" in postfix setting "proxy_read_maps" like below:

proxy_read_maps = $smtpd_sender_login_maps $local_recipient_maps [...OMIT OTHERS HERE...]

Restarting Postfix is required after this change.

4

Re: fatal : proxymap service is not configured

sir, i've try to add smtpd_sender_login_maps to proxy_read_maps, then i find this error on the log.

Oct  5 09:51:51 mail postfix/smtpd[20783]: connect from mail.iredmail.org[127.0.0.1]
Oct  5 09:51:51 mail roundcube: SMTP server does not support authentication ():
Oct  5 09:51:51 mail postfix/smtpd[20783]: disconnect from mail.iredmail.org[127.0.0.1]
Oct  5 09:51:51 mail roundcube: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /usr/share/apache2/roundcubemail-0.5.4/program/steps/mail/func.inc on line 1501 (POST /mail/?_unlock=loading1317783108549?_task=mail&_action=send)

is smtpd connect it to mail.iredmail.org? but its address is 127.0.0.1 that means localhost.
help me again sir.. big_smile thx..

5

Re: fatal : proxymap service is not configured

Did you set your server hostname to "mail.iredmail.org"? that's wrong. It's not a good idea to use other's domain name on your server.

Adding smtpd_sender_login_maps to proxy_read_maps solves your old issue, this is a new one.

saddamhussein wrote:

Oct  5 09:51:51 mail roundcube: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /usr/share/apache2/roundcubemail-0.5.4/program/steps/mail/func.inc on line 1501 (POST /mail/?_unlock=loading1317783108549?_task=mail&_action=send)

Could you please paste output of command "postconf -n" here to help troubleshoot?

6

Re: fatal : proxymap service is not configured

umm.. i solve the problem above, by removing 127.0.0.1 smtp_server at main.inc.php at roundcubemail dir.

another problem was come... my iredmail user mail can sent mail to another same local domain user, but, when it send mail to another domain, i mark as spam. how could i solve this problem?

another problem, i can't receive email from another domain too..

thx b4 for your support. big_smile

7

Re: fatal : proxymap service is not configured

saddamhussein wrote:

my iredmail user mail can sent mail to another same local domain user, but, when it send mail to another domain, i mark as spam. how could i solve this problem?

"I mark as spam"? Do you mean sent mail was marked as spam by your server?
You can try to disable Spam/Virus scanning on your server in Amavisd:
http://iredmail.org/wiki/index.php?titl … oing.Mails

saddamhussein wrote:

another problem, i can't receive email from another domain too..

Cannot receive or it just delayed? I guess it was caused by greylisting. Please check Postfix maillog for more detail.

8

Re: fatal : proxymap service is not configured

sorry for miss-typing. the email from my local mail, marked as spam on gmail, ymail etc. how i solve it? i've check the log. i comes normally.. like mail-log when i try to send a mail to local user.

i think, it's not delayed. i've almost 1 hour, the email wasn't come. but, if the sender is from the local domain, it works..

thx for ur support, Sir.

9

Re: fatal : proxymap service is not configured

You should check mail header in gmail to finger out why it was marked as SPAM. Paste mail header here If you don't know how to check.

If mail was not received on your server, please check maillog first. If there's no maillog at all, check your DNS settings first, then network firewall/router.

10

Re: fatal : proxymap service is not configured

thank you sir. i don't know how to check it, but, nothing eerror on the log.

umm.. there are 3 mail server. localmail, existingmail and externalmail(gmail)

localmail can send email to existing mail (with spam label), and can't send mail to external
existingmail can't send to localmail. it said "connection timeout" on the report "undelivered mail"

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                   The mail system

<tes@intra.gti.co.id>: connect to intra.gti.co.id[67.215.65.132]:25: Connection
    timed out
Reporting-MTA: dns; canopi.gti.co.id
X-iRedMail-Queue-ID: AE6F5316
X-iRedMail-Sender: rfc822; saddam@gti.co.id
Arrival-Date: Wed,  5 Oct 2011 16:31:11 +0700 (WIT)

Final-Recipient: rfc822; tes@intra.gti.co.id
Original-Recipient: rfc822;tes@intra.gti.co.id
Action: failed
Status: 4.4.1
Diagnostic-Code: X-iRedMail; connect to intra.gti.co.id[67.215.65.132]:25:
    Connection timed out

how  can i solve it?

11

Re: fatal : proxymap service is not configured

Please clearly explain which server isciRedMail, and post output of command "postconf -n" to help troubleshoot.

Diagnostic-Code: X-iRedMail; connect to intra.gti.co.id[67.215.65.132]:25:
    Connection timed out

Above error message means iRedMail server cannot connect to server intra.gti.co.id[67.215.65.132], if server intra.gti.co.idc is your mail server, please its firewall rules on server or network firewall/router, make sure you can access server port 25.

12

Re: fatal : proxymap service is not configured

here's my postconf.conf

alias_maps = hash:/etc/postfix/aliases
config_directory = /etc/postfix
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = mail.intra.gti.co.id
myhostname = mail.intra.gti.co.id
myorigin = $mydomain
proxy_read_maps = $smtpd_sender_login_maps $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ad_sender_login_maps.cf
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = proxy:ldap:/etc/postfix/ad_virtual_group_maps.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ad_virtual_mailbox_maps.cf
virtual_transport = lmtp:localhost:2003

.177 is my mail server
.155 is my AD server

if there are no error or miss-configuration, i should pass it to networking-man. i just an application-man.. hehe...

13

Re: fatal : proxymap service is not configured

Is this all configs in /etc/postfix/main.cf? I'm afraid that you don't have a complete config file.

Also, what is "virtual_transport = lmtp:localhost:2003" used for?

14

Re: fatal : proxymap service is not configured

ZhangHuangbin wrote:

Is this all configs in /etc/postfix/main.cf? I'm afraid that you don't have a complete config file.

umm, sir, it's my result for postconf -n

Also, what is "virtual_transport = lmtp:localhost:2003" used for?

i'm not sure. i've got an error before, then, some reading tutor gave it to me, include that lmtp.