1 (edited by derchris 2010-04-02 08:59:25)

Topic: Catchall with LDAP / Outbound Amavis check

Hi,

I now have 0.6.0-rc1 running on Debian SID, with all the latest versions of IMAP, SMTP, ...
Sending/receiving mails, all working.

I'm using the LDAP backend, and tried to setup a catchall Alias.
Have it now working, but without LDAP support, via a Portmap file, added to the virtual_mailbox.

I tried to add a shadowAddress in LDAP like @domain.tld, which seems to work for Postfix.
But in the end, dovecot was not happy, as it couldn't find that eMail in LDAP.

Is there a solution already available for a catchall Alias, using LDAP?

Thanks in advance,
Christian

Edit:

Ok, was not working as expected.
For some reason everything was delivered to the catchall Mailbox, so removed the Portmap for now.
Still looking for a solution to get it working with LDAP though.

And during my further testing, I found another unusual behavior.
When sending Mails via Webmail or from Shell, they are not passed through Amavis, but delivered straight to the eMail address.
Haven't tested from Outside yet, but I checked against my old Setup (0.6.0-beta3 on Lenny), and there they are parsed through Amavis first.
Checked the Postfix/Amavis config files, and they both look identical.
Maybe someone can help me with this?

2

Re: Catchall with LDAP / Outbound Amavis check

Well, here it is:
http://www.iredmail.org/wiki/index.php? … /Catch-all

3

Re: Catchall with LDAP / Outbound Amavis check

Ah, in the wiki.
I was always looking if it was mentioned in the FAQ, which it isn't.
Working fine, thanks wink

Would you be able to also help me troubleshoot my last error, with Outbound emails not checked with Amavis.
Can't seem to find the problem, as config is both the same on 0.6.0-beta3 and 0.6.0-rc1.

4

Re: Catchall with LDAP / Outbound Amavis check

Ok, everything is working now.
I was even able to get Domainkey signing to work with the help of dk-filter.
If you need help getting this to work with Debian unstable/testing, using the latest versions of PHP5, Amavis, Postfix, Dovecot, let me know.
With all the tweaking I might be able to help wink

5

Re: Catchall with LDAP / Outbound Amavis check

derchris wrote:

was even able to get Domainkey signing to work with the help of dk-filter.

How about share your steps in forum/wiki? smile

6

Re: Catchall with LDAP / Outbound Amavis check

derchris wrote:

Ok, everything is working now.
I was even able to get Domainkey signing to work with the help of dk-filter.
If you need help getting this to work with Debian unstable/testing, using the latest versions of PHP5, Amavis, Postfix, Dovecot, let me know.
With all the tweaking I might be able to help wink

When you send email to Yahoo, in Yahoo, the email wound show both Domainkey and DKIM ?

7

Re: Catchall with LDAP / Outbound Amavis check

shake wrote:
derchris wrote:

Ok, everything is working now.
I was even able to get Domainkey signing to work with the help of dk-filter.
If you need help getting this to work with Debian unstable/testing, using the latest versions of PHP5, Amavis, Postfix, Dovecot, let me know.
With all the tweaking I might be able to help wink

When you send email to Yahoo, in Yahoo, the email wound show both Domainkey and DKIM ?

I have both, DK and DKIM working.
Not tried it with sending mails to Yahoo, as I don't have an account.
But all Reflector tests were showing both working.

I will write a howto later, needs some sleep wink

8

Re: Catchall with LDAP / Outbound Amavis check

derchris wrote:

Not tried it with sending mails to Yahoo, as I don't have an account.

send to me , I help you test

chenshake@yahoo.cn

whether have both.

9

Re: Catchall with LDAP / Outbound Amavis check

Sorry, forgot about this.
Tested, and working with Yahoo.
Showing as DK and DKIM verified.
Will put the steps required in the Wiki.

10

Re: Catchall with LDAP / Outbound Amavis check

derchris wrote:

Sorry, forgot about this.
Tested, and working with Yahoo.
Showing as DK and DKIM verified.
Will put the steps required in the Wiki.

thanks, because I also test dk-filter,but not show DK and DKIM verified in yahoo.

11

Re: Catchall with LDAP / Outbound Amavis check

Here is the wiki entry wink

http://www.iredmail.org/wiki/index.php? … Domainkeys

12

Re: Catchall with LDAP / Outbound Amavis check

derchris wrote:

Here is the wiki entry wink

http://www.iredmail.org/wiki/index.php? … Domainkeys

Thanks very much for your tutorial smile
I will test it later