About ispamn with postfix, courier and sqwebmail, a few tips

"Marco Carcano" <mcarcano-IvpIpsuCVxdWk0Htik3J/[email protected]> Sat, 12 Mar 2005 09:12:45 +0100
Newsgroups gmane.comp.isp.ispman.user
Message-ID <000901c526db$45a85440$0400000a@pc01>
Hi all,
One thing I'd like to share with you:

I noticed that although I correctly set up  ispamn with postfix and courier (beeing able to create account from ispman and send and receive email obviously) I tried to use it with sqwebmail. Once setup correctly it (I could login succesfully into webmail and read and send email) I expereienced these 2 problems:
1) When I try to send an email I got the error "Who Are you" (generated by sendmail because it cant figure my identity only by uid)
2) Email are delivered only to my hosted domains, not outside

Solutions

1) edit /etc/nsswitch.conf and set

passwd:    files ldap
shadow:    files ldap
group:    files ldap

2) this was because I am using TLS authentication for outside recipients, so sqwebmail can't authenticate against the SMTP
I set a rule into postfix to permit "mynetworks" to send email autside, edit /etc/postfix/mynetworks and issue the command postmap /etc/postfix/mynetworks

That's it

Bye