linux.debian.bugs.dist
[Top] [All Lists]

Bug#403916: popularity-contest should support MTAOPTS

Subject: Bug#403916: popularity-contest should support MTAOPTS
From: Michelle Konzack
Date: Wed, 20 Dec 2006 18:20:10 +0100
Newsgroups: linux.debian.bugs.dist
Package: popularity-contest
Version: 1.28
Severity: wishlist

Wish description:

I am using ssmtp as my MTA and need the MTAOPTS "-au" (auth-user), "-ap"
(auth-pass) plus "-am" (auth-method).  I have added to my config this:

----[ '/etc/popularity-contest.conf' ]------------------------------
# Config file for Debian's popularity-contest package.
#
# To change this file, use:
#        dpkg-reconfigure popularity-contest
#
# You can also edit it by hand, if you so choose.
#
# See /usr/share/popularity-contest/default.conf for more info
# on the options.

MY_HOSTID="7a500ea53cd746e7b10608044eb387a2"
PARTICIPATE="yes"

MAILTO="survey@xxxxxxxxxxxxxxxxx, XXXXXXXXX.XXXXXXX.XXXXX@xxxxxxxxxx"
MAILFROM="XXXXXXXXX.XXXXXXX.XXXXX@xxxxxxxxxx"

MTAOPTS="-au XXXXXXXXX.XXXXXXX.XXXXX@xxxxxxxxxx -ap XXXXXXXX -am cram-md5"
--------------------------------------------------------------------

and then I have modified

----[ '/etc/cron.weekly/popularity-contest' ]-----------------------
do_sendmail()
{
        if [ -n "$MAILFROM" ]; then
                sendmail -oi $MTAOPTS -f "$MAILFROM" $MAILTO
        else
                sendmail -oi $MTAOPTS $MAILTO
        fi
}
--------------------------------------------------------------------

Now it works perfectly.

Please, can you add this to a new version of popularity-contest?

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- System Information
Debian Release: 3.1
Kernel Version: Linux michelle1.private 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 
2005 i686 GNU/Linux


Versions of the packages popularity-contest depends on:
ii  debconf        1.4.30.13      Debian configuration management system
ii  dpkg           1.10.28        Package maintenance system for Debian
exim4   Not installed or no info
ssmtp   Version: 2.61-2 (Provides virtual package mail-transport-agent)
ii  ssmtp          2.61-2         extremely simple MTA to get mail off the sys
        ^^^ (Provides virtual package mail-transport-agent)


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy