Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#4465 - extra:msmtp - missing config file + wrong config dir

Attached to Project: Arch Linux
Opened by Mircea Bardac (IceRAM) - Saturday, 15 April 2006, 23:10 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 21 April 2006, 05:33 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.1 Noodle
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Before:
* the config file is searched in /usr/etc (see "msmtp --version")
* there is no config file

The build function for msmtp should look like this, IMO:

build() {
cd $startdir/src/$pkgname-$pkgver
./configure --sysconfdir=/etc --prefix=/usr --with-ssl=gnutls ##### changed
make || return 1
make prefix=$startdir/pkg/usr install
mkdir -p $startdir/pkg/etc/ ##### new
install -m644 $startdir/src/$pkgname-$pkgver/doc/msmtprc-system.example $startdir/pkg/etc/msmtprc ##### new
}
This task depends upon

Closed by  Tobias Kieslich (tobias)
Sunday, 04 June 2006, 23:15 GMT
Reason for closing:  Won't implement
Comment by Mircea Bardac (IceRAM) - Saturday, 15 April 2006, 23:55 GMT
/etc/msmtprc should also be in the backup=(...) line
Comment by Tobias Kieslich (tobias) - Monday, 29 May 2006, 06:43 GMT
The problem I have ith that approach, is that it leaves the user with a systemwide config file containing bogus. msmtp will never be able to work out of the box because that package can not know the smtp account of the user. I will fix the sysconfdir though. But primary configuration is still meant to happen in ~/.msmtprc
Comment by Mircea Bardac (IceRAM) - Monday, 29 May 2006, 08:08 GMT
Then, maybe the config file should be put in the package as "/etc/msmtprc.example" and an install note could be used.

The backup line should be there nonetheless.
Comment by Tobias Kieslich (tobias) - Sunday, 04 June 2006, 03:01 GMT
This example file isn't much useful, It's missing the user and password part and alls tuff mentioned there are way better explained in msmtps manpage. Honestly, this thing is more confusing than helpful

Loading...