On Tuesday 29 August 2006 11:55, Tomas Kuliavas wrote: > > Hi, > > > > I am searching around to figure out why squirrelmail is sending out all > > my mail in double ( twice ). The strange part is that this occures only > > in squirrelmail. I have tested with squirrelmail 1.4.7, and 1.4.8. I have > > disabled anti-spam/anti-virus so i can pinpoint the problem and it's now > > down > > to squirellmail and my configuration. > > > >>From standard email clients mail gets routed proprely only once. From the > > > > shell samething everything is alright. > > > > I created a small php script that sends an email and i hosted it into > > apache's > > document root. I executed it via the shell, everything is ok, via a > > browser, > > i got my test email only once so everything is fine there. > > > > What i see in my logs is 2 smtp connections when i click the "send" > > button this is why i am thinking about a squirrelmail configuration > > error. > > > > I have a setup with postfixadmin and mysql and squirrelmail using virtual > > domain and some kickass ldap authentication. But his doesn't affect much > > outgoing mail :) > > > > > > Has anyone ever had this problem ? > > I will be around all day if you want to see parts of my configuration. > > 1. SquirrelMail does not use PHP mail() function. If you want to test > email sending "SquirrelMail way", feed email with popen() to > /usr/sbin/sendmail or with fsockopen() to smtp server. ok so squirrelmail sends it just like i do in the shell ( sort of ) i do echo "test" | mail -s "test" user@domain > 2. Please provide information about webserver OS, PHP safe_mode setting > and disabled PHP functions. I use freebsd 6.x with php 5.1.4 safe_mode = Off disable_functions = > 3. If you use Fedora, RHEL or CentOS, check your SELinux logs and > configuration. No selinux here :) Thanks -- Charles Lacroix, Administrateur UNIX. Service des télécommunications et des technologies Cégep de Sainte-Foy (418) 659-6600 # 4266 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users