mailer-config is on the way

As slarti announced a few days ago, mailer-config is on its way to ~arch.

We have commited several packages using the new scheme. This is a package.mask excerpt:

# mask these until the new mailwrapper/mailer-config scheme is ready
# it is secure to unmask them to test
net-mail/mailer-config
=net-mail/mailwrapper-0.2.1-r1
=mail-mta/nbsmtp-0.98-r1
=mail-mta/msmtp-1.4.0-r1
=mail-mta/ssmtp-2.61-r1
=mail-mta/esmtp-0.5.0-r2

It is safe to unmask them to start testing. The *big* mailers to come soon; I’m currently working on postfix and I’ll probably have it by tonight or tomorrow.

A few ‘shots’ to show it working:

posidon root # mailer-config -l
[1] default *
[2] esmtp-0.5.0
[3] nbsmtp-0.98
[4] ssmtp-2.61
posidon root # mailer-config -s 2
 * New default profile is: esmtp-0.5.0
posidon root # mailq
Mail queue is empty
posidon root # mailer-config -s 3
 * New default profile is: nbsmtp-0.98
posidon root # mailq
Showing queued mails in /root/.nbsmtp/.queue:

posidon root # mailer-config -s 4
 * New default profile is: ssmtp-2.61
posidon root # mailq
mailq: Mail queue is empty
posidon root # mailer-config -s 3
 * New default profile is: nbsmtp-0.98
posidon root # mailer-config -l  
[1] default
[2] esmtp-0.5.0
[3] nbsmtp-0.98 *
[4] ssmtp-2.61
posidon root # 

As you can see, three completely different behaviors of mailq, each one depending on which mailer profile you are using. This is great stuff ! We would like to hear your opinion about it.

Cheers,
Ferdy