Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

looking for "metamail" package

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
syscon
Posts: 13
Joined: 2020-10-24 18:35

looking for "metamail" package

#1 Post by syscon »

I'm looking for a package name "metamail" on debian 10 stable but I can not seems to find it.
That package contains "mailto" I'm using this functions with some programs; is there a replacement or possibility to install it?

User avatar
sunrat
Administrator
Administrator
Posts: 6470
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 117 times
Been thanked: 473 times

Re: looking for "metamail" package

#2 Post by sunrat »

“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

syscon
Posts: 13
Joined: 2020-10-24 18:35

Re: looking for "metamail" package

#3 Post by syscon »

Thanks for quick reply.

I've installed the package but I can not execute "mailto" no such package
Where is it?

Code: Select all

apt-get install mailto
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mailto is already the newest version (1.3.2-3+b2).
On other distros it is in /usr/sbin

User avatar
sunrat
Administrator
Administrator
Posts: 6470
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 117 times
Been thanked: 473 times

Re: looking for "metamail" package

#4 Post by sunrat »

More info needed. Exactly what commands are you using? How are you elevating to admin privileges?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

syscon
Posts: 13
Joined: 2020-10-24 18:35

Re: looking for "metamail" package

#5 Post by syscon »

I'm using osCommerce that uses "mailto" in php code

Code: Select all

 
<td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '"><u>' . $order->customer['email_address'] . '</u></a>'; ?></td>

reinob
Posts: 1196
Joined: 2014-06-30 11:42
Has thanked: 99 times
Been thanked: 47 times

Re: looking for "metamail" package

#6 Post by reinob »

syscon wrote:I'm using osCommerce that uses "mailto" in php code

Code: Select all

 
<td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '"><u>' . $order->customer['email_address'] . '</u></a>'; ?></td>
mailto: is, like http: or https: or ftp: a URI scheme, not a program, let alone a debian package.

It is the browser which decides how to handle a mailto: link. Normally they open a mail program, or ask you what you want to do with it.

In Firefox, you can configure that in the preferences. In my case it says "Use Thunderbird (default)", which is just fine in my case.

Are on the server side or on the client side?
If server, there's nothing you need to do, other than serving the web page.
If client, you should configure your browser as you need.

syscon
Posts: 13
Joined: 2020-10-24 18:35

Re: looking for "metamail" package

#7 Post by syscon »

For example on Gentoo "mailto" is part of the package called: net-mail/metamail
Once installed, the program binary is in: /usr/bin/mailto

My server is using this program.

I think the one I installed on Debian is not correct one. Package info:

Code: Select all

 apt -a list mailto
Listing... Done
mailto/stable,now 1.3.2-3+b2 amd64 [installed]
I can find "mailto" in: /usr/lib/cgi-bin/mailto

Code: Select all

/usr/lib/cgi-bin/mailto
Content-type: text/html

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<!-- mailto v1.3.2 (c) 1994-1999 by Andreas Ley <Andreas.Ley@rz.uni-karlsruhe.de> -->
<HTML>
<HEAD>
<TITLE>WWW Mail Gateway</TITLE>
<LINK REV="made" HREF="mailto:root">
</HEAD>
<BODY>
<H1>WWW Mail Gateway</H1>
<FORM ACTION="/cgi-bin/mailto" METHOD=POST>
<STRONG>Send mail to:</STRONG> <INPUT NAME="To" SIZE=48><BR>
<STRONG>Carbon copy to:</STRONG> <INPUT NAME="Cc" SIZE=48><BR>
<STRONG>Subject:</STRONG> <INPUT NAME="Subject" SIZE=53><BR>
<STRONG>Your eMail address:</STRONG> <INPUT NAME="Reply-To" SIZE=43><BR>
<STRONG>Message:</STRONG><TEXTAREA NAME="Body" COLS=60 ROWS=9></TEXTAREA><BR>
<INPUT TYPE=submit VALUE="Submit">
<INPUT TYPE=reset>
</FORM>
</BODY>
</HTML>
It is not the same package. Running it from the command line gives the the above output.

reinob
Posts: 1196
Joined: 2014-06-30 11:42
Has thanked: 99 times
Been thanked: 47 times

Re: looking for "metamail" package

#8 Post by reinob »

https://bugs.debian.org/cgi-bin/bugrepo ... bug=274451

If I need to automatically send an e-mail with an attachment, I use mpack to prepare the message, and then send it with sendmail (the command, not the package, I use postfix).

Post Reply