Re: Difficulty getting domain keys to work with Squirrelmail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Tomas Kuliavas wrote:
>>>>> I have a qmail server correctly configured for domain keys. This
>>>>> domain
>>>>> (mtnlion.com) successfully passes the sa-test@xxxxxxxxxxxx domain key
>>>>> test if I send the mail using Thunderbird through my normal qmail
>>>>> smtp.
>>>>> If I use the smtp option in Squirrelmail, the domain key is not added
>>>>> to
>>>>> the email. I also tried using the qmail sendmail binary with the same
>>>>> result. A suggestion from the qmail admin list was to make sure that
>>>>> the
>>>>> environment vairables needed by my smtp script were set. I verified
>>>>> they
>>>>> were, but still no domain key.
>>>>>
>>>>> This is a serious issue since I have users that need squirrelmail and
>>>>> if
>>>>> I turn off "test" in my domainkey dns records, their mail will be
>>>>> bounced by domains that do domain key checking. Am I missing
>>>>> something?
>>>>>
>>>>>
>>>> Have you showed your smtp environment variables (/etc/tcp.smtp or some
>>>> other file) to qmail admin list?
>>>>
>>>> qmail domainkeys HOWTO talks about modifying 10.0.0.2 or global
>>>> settings.
>>>> It does not say anything about 127.0.0.1 environment.
>>>>
>>>> Have you tried turning off SquirrelMail's Received header?
>>>>
>>>> Please note that you have restarted debugging of your issue on
>>>> different
>>>> mailing list and haven't provided any useful information about your
>>>> setup.
>>>> Is SMTP auth used in SquirrelMail? Is SMTP server local or remote one?
>>>>
>>>> --
>>>> Tomas
>>>>
>>>>
>>> I have communicated on the qmail list. There are no issues with the
>>> domain keys setup. All of my mail services are on the same server.
>>> There
>>> is no auth on relay for squirrelmail because it is on the localhost. We
>>> are strictly speaking about sending mail from squirrelmail. I have a
>>> script that creates a file with the env variables when I send from
>>> squirrelmail. At the time the script runs (it just sets env's and then
>>> writes the current environment to a file then runs
>>> /var/qmail/bin/sendmail). The domain key environment variables are set.
>>> The same smtp server correctly relays domain key mail from a
>>> thunderbird
>>> client. That is why I wrote this list. I need to understand a bit more
>>> about how squirrelmail sends mail.
>>>
>>
>> SquirrelMail can use SMTP or /usr/sbin/sendmail. Depends on selected
>> configuration. SMTP is used by default.
>>
>> Please show link to qmail admin mailing list archives or you might get
>> same questions that are already asked on other mailing list. If qmail
>> admin list is not public, make sure that Thunderbird and SquirrelMail
>> gets
>> same environment. Thunderbird is remote email program. SquirrelMail is
>> local email program. They connect from different addresses and
>> environment
>> is set in different tcp server lines. Please understand that I won't
>> trust
>> your claims that environment is the same, if I don't see tcp server
>> environment lines.
>>
>> If you want to remove SquirrelMail received header, check 'Header
>> encryption key' option in SMTP/Sendmail settings.
>>
>>
>>
> Here are the environment vairables
> uid=65534(nobody) gid=65534(nobody) groups=65534(nobody)
> DKQUEUE=/var/qmail/bin/qmail-queue
> HOME=/root
> LANG=en_US.ISO8859-1
> LANGUAGE=en_US.ISO8859-1
> LC_ALL=en_US.ISO8859-1
> LC_NUMERIC=C
> LD_LIBRARY_PATH=/usr/local/apache2/lib:
> LOGNAME=root
> PATH=/usr/bin:/bin
> QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue
> SHELL=/bin/sh
> USER=root
>
> This came from this file which squirrelmail called instead of sendmail
>
> #!/bin/sh
>     export QMAILQUEUE=/var/qmail/bin/qmail-scanner-queue
>     export DKQUEUE=/var/qmail/bin/qmail-queue
>     id > /tmp/env.out
>     env | sort >> /tmp/env.out
>     exec /var/qmail/bin/sendmail -i -t
>
> Is that enough data to give you an idea what is going on?

start SquirrelMail configuration utility (conf.pl), select '2. Server
settings', select 'B' option and show displayed screen.

if you use sendmail in third option, try using smtp.

-- 
Tomas

-------------------------------------------------------------------------
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

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux