ike an issue with mailx or
> sendmail (I use exim4).
> The reason i derive at at is because the whole thing works the moment i
> disable selinux.
>
> What i wonder is why selinux is not complaining about the failure ? No
> logs whatsoever ...
>
> On Mon, Aug 21, 2023 at 12:58
Thanks Nicholas
However, it doesnt to my knowledge looks like an issue with mailx or
sendmail (I use exim4).
The reason i derive at at is because the whole thing works the moment i
disable selinux.
What i wonder is why selinux is not complaining about the failure ? No logs
whatsoever ...
On Mon
pients found in headers"? And compare with the headers generated by the
successful mail.
It might help tell if it's a bug or working as designed ;-) or maybe a
mailx issue not sendmail.
A quick ltrace says
> ```
> 1qXia0-000BPb-0a Failed to create spool file
> /var/spool/exim4//input//
ow to get this to work ? has anyone got mailx
working with selinux on their system ?
are at the top of the message, then following substitutions
# should work reliably.
sed '0,/^Subject: =?utf-8?q?apt-listchanges=3A_changelogs_for_vps?=$/
s//Subject: apt-listchanges: changelogs for vps/' | \
sed '0,/^From: root$/ s//From: nore...@example.com (VPS)/' | \
r
nges.py
> and sends the mail using mailx? Modify the apt_listchanges.py?
> Something else?
This is what I use on Devuan (and Debian previously):
# aptitude show bsd-mailx;echo;dpkg -L bsd-mailx;ls -lart
/etc/alternatives/mailx
Tue 4 Jun 04:27:41 AEST 2019 -- show bsd-mailx
Package:
with "email_address" configuration option. Now
> when I upgrade a package which has NEWS/changelog present, then I get
> the "apt-listchanges: The mail frontend needs an installed 'sendmail',
> using pager" error message. This is because I don't have
which has NEWS/changelog present, then I get
the "apt-listchanges: The mail frontend needs an installed 'sendmail',
using pager" error message. This is because I don't have
/usr/sbin/sendmail binary installed. I prefer to use mail/mailx and an
external MTA.
What could be
On Wed, Sep 6, 2017 at 12:10 AM, John Conover wrote:
>
> Anytime mailx is envoked, it does a core dump:
>
> mail: mu_wordsplit failed: missing closing quote
> Segmentation fault
>
> Any suggestions?
>
It would be nice to document the problem first with full
Anytime mailx is envoked, it does a core dump:
mail: mu_wordsplit failed: missing closing quote
Segmentation fault
Any suggestions?
Thanks,
John
--
John Conover, cono...@rahul.net, http://www.johncon.com/
On Thu 13 Jul 2017 at 10:22:35 (-0400), Greg Wooledge wrote:
> On Thu, Jul 13, 2017 at 09:09:14AM -0500, David Wright wrote:
> > That may depend on how you installed Debian. bsd-mailx appears to be
> > Priority: optional in stretch, but if you upgraded from jessie, it
> > sho
On Thu, Jul 13, 2017 at 09:09:14AM -0500, David Wright wrote:
> That may depend on how you installed Debian. bsd-mailx appears to be
> Priority: optional in stretch, but if you upgraded from jessie, it
> should already have been present as Priority: standard. All that in
> the ab
problem was that it stopped sending attachments.
> >>
> >>In the course of my research I found that mail / mailx over the years has
> >>used a variety of flags for attachments but now seems to have dropped the
> >>capability entirely. At one point -a would attach a f
On 07/12/2017 12:58 PM, Gary Dale wrote:
I just spent about an hour with Google trying to fix a bash script that
worked last year. The problem was that it stopped sending attachments.
In the course of my research I found that mail / mailx over the years
has used a variety of flags for
/ mailx over the years has
used a variety of flags for attachments but now seems to have dropped the
capability entirely. At one point -a would attach a file. At
another, mailx adopted -A to do it. Lately neither program seems
to support attachments.
In jessie, we had bsd-mailx and heirloom-mailx
On Wed, Jul 12, 2017 at 03:58:07PM -0400, Gary Dale wrote:
> I just spent about an hour with Google trying to fix a bash script that
> worked last year. The problem was that it stopped sending attachments.
>
> In the course of my research I found that mail / mailx over the years
I just spent about an hour with Google trying to fix a bash script that
worked last year. The problem was that it stopped sending attachments.
In the course of my research I found that mail / mailx over the years
has used a variety of flags for attachments but now seems to have
dropped the
Rick Thomas wrote:
|On Dec 30, 2015, at 3:36 AM, Steffen Nurpmeso wrote:
|> Rick Thomas wrote:
|>|Hi Steffan,
|>
|> (My name is Steffen)
|
|Ooops! Sorry!
Don't worry, i had so many typos myself in what followed..
..
|> It must be SETUID to a super-user that can impersonate as all
On Dec 30, 2015, at 9:51 AM, Jörg-Volker Peetz wrote:
> Steffen Nurpmeso wrote on 12/30/15 12:36:
>> Hello!
>>
>> Rick Thomas wrote:
>
>
>> |-rwxr-sr-x 1 root mail 10104 Dec 4 14:52 /usr/lib/s-nail/s-nail-privsep
>
> Wouldn't these be en
/s-nail-privsep
> -r-sr-xr-x 1 root root 9860 Dec 2 14:45 /usr/local/libexec/s-nail-privsep*
>
> It must be SETUID to a super-user that can impersonate as all
> users and groups that mailx(1) may potentially open system
> mailboxes for in order to give mailbox locks the UID
Steffen Nurpmeso wrote on 12/30/15 12:36:
> Hello!
>
> Rick Thomas wrote:
> |-rwxr-sr-x 1 root mail 10104 Dec 4 14:52 /usr/lib/s-nail/s-nail-privsep
Wouldn't these be enough rights for mailx to do it's work?
I.e., owner: root, group: mail, sticky bit for the g
14:45 /usr/local/libexec/s-nail-privsep*
It must be SETUID to a super-user that can impersonate as all
users and groups that mailx(1) may potentially open system
mailboxes for in order to give mailbox locks the UID and GID of
the mailbox they are ment for. Usually only root satisfies this.
I thing
Hi Steffan,
So what, exactly, are the correct permissions for s-nail-privsep?
Should it be:
-rwxr-sr-x 1 root mail 10104 Dec 4 14:52 /usr/lib/s-nail/s-nail-privsep
or:
-rwsr-xr-x 1 root mail 10104 Dec 4 14:52 /usr/lib/s-nail/s-nail-privsep
or:
-rwsr-sr-x 1 root mail 10104 Dec 4 14:
Dan Ritter writes:
> mail -t needs to be followed by an address, not a message body.
Makes sense. Thanks.
> If you want to send a full message which has all needed headers,
> trust the "sendmail" command which is shipped by anything which
> can supply the MTA package role.
>
> exim, send
On Wed, Jul 22, 2015 at 12:40:27PM -0500, Martin G. McCormick wrote:
> The old "mail" application or "mailx" if one has
> heirloom-mail does work but I have a question about piping a
> message to it.
>
> It looks from documentation that mail ca
Until I get out-bound messages going through nmh
properly, I have found a possible stop-gap measure to use.
The old "mail" application or "mailx" if one has
heirloom-mail does work but I have a question about piping a
message to it.
It looks from doc
mples it works fine for me. Please let us
> > know what you find is the problem.
>
> I've just installed exim and heirloom-mailx on a test vm to confirm my
> suspicions.
>
> mailx does give the prompt back - but because a delivery report was
> requested, and exim sends
let us
> know what you find is the problem.
I've just installed exim and heirloom-mailx on a test vm to confirm my
suspicions.
mailx does give the prompt back - but because a delivery report was
requested, and exim sends it to the screen rather than emailing it,
the prompt disappears in the
Richard Hector wrote:
> Bob Proulx wrote:
> > This is what I see:
> >
> > rwp@havoc:~$ echo test test test | mailx -s "heirloom-mailx test"
> > b...@proulx.com
> > rwp@havoc:~$
>
> You're not using the -v option, which tells the MTA to be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 29/05/14 12:49, Bob Proulx wrote:
> Harry Putnam wrote:
>> Trying to use heirloom mailx to test various exim4 settings and
>> It works, but there is something in it that bugs me. Makes me
>> think I'm doing something w
Harry Putnam wrote:
> Trying to use heirloom mailx to test various exim4 settings and It
> works, but there is something in it that bugs me. Makes me think I'm
> doing something wrong.
I use mailx for sending emails all of the time. I don't see the
problem you reported. Work
Richard Hector wrote:
> I'm not currently using heirloom mailx, or exim, so testing it is a bit
> hard - but are you getting the prompt _before_ the debug output?
This is how I've seen the mail / mailx tools work since, I think, at
least the last twenty years. (Ouch!) So I wo
On 2014-05-28, Harry Putnam wrote:
>
> But shouldn't I get the prompt back when the process
> completes.. without having to do anything extra?
>
> Or am I just not using it correctly from the gate?
>
Well the man page says:
Ending a mail processing session
You can end a mail session w
On 28/05/14 14:16, Harry Putnam wrote:
> Running jessie
>
> Trying to use heirloom mailx to test various exim4 settings and It
> works, but there is something in it that bugs me. Makes me think I'm
> doing something wrong.
>
> Here is a typical example
>
&g
Running jessie
Trying to use heirloom mailx to test various exim4 settings and It
works, but there is something in it that bugs me. Makes me think I'm
doing something wrong.
Here is a typical example
mailx -v re...@location.com
Subject: what ever
ble
bleh
.
And away it goe
On 31/12/11 16:12, Richard Hector wrote:
> Oops. This was supposed to go to the list, sorry.
And that should have been a reply. I'll learn to drive my MUA one day ...
Richard
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact lis
Oops. This was supposed to go to the list, sorry.
On 30/12/11 15:33, Bob Proulx wrote:
> Richard Hector wrote:
>> Some time between lenny and squeeze (and before lucid, but I haven't
>> searched further), mail changed its arguments.
>>
> Apparently -e was a Debian specific addition.
Ah, that ex
I could check the version in the postinst ... or just build
> different packages with different dependencies, which is probably the
> most reliable, but also the most work :-(
How about using "heirloom-mailx" instead? It seems that both versions
(lenny and squeeze) are still using "
ho "...do stuff here that may make output..."
exec >/dev/null 2>&1# close previous output file
if [ -s "$tmpfile" ]; then
# There was output. Mail it.
mailx -s "output from doing stuff" "$(whoami)" < "$tmpfile"
fi
exit 0
signature.asc
Description: Digital signature
ion here:
http://ftp.de.debian.org/debian/pool/main/b/bsd-mailx/bsd-mailx_8.1.2-0.20071201cvs-3.diff.gz
+ case 'e':
+ /*
+* Don't send empty mails.
+* Set the variable "notempt
Hi all,
Some time between lenny and squeeze (and before lucid, but I haven't
searched further), mail changed its arguments.
lenny: -e Don't send empty mails. If the body is empty skip the mail.
squeeze/lucid: -E Don't send messages with an empty body.
.. and -e is gone.
I looked in
I still use mailx as my main mail user agent, with
vim as VISUAL (v and ~v commands) editor. It's efficient,
with helpers like metamail, and multiple xterms.
I use vim's "set mouse=a" feature. vim catches mouse
input, unless shift is down, where the xterm gets it
as usu
now how to correct this?
Thanks
> Date: Thu, 1 Feb 2007 02:09:31 +0100> From: [EMAIL PROTECTED]> To:
> debian-user@lists.debian.org> Subject: Re: mailx> > Andrew <[EMAIL
> PROTECTED]> writes:> > Hi everyone, I have configured exim4 and is using the
>
Andrew <[EMAIL PROTECTED]> writes:
> Hi everyone, I have configured exim4 and is using the Maildir format
> to deliver messages. Problem is, I can't get the simple mail (mailx)
> application to see this Maildir format?
Install the GNU version of mailx. It's in the `mai
Hi everyone, I have configured exim4 and is using the Maildir format to
deliver messages.
Problem is, I can't get the simple mail (mailx) application to see this
Maildir format?
Anyone know how to do this?
Thanks
Andrew.
--
No virus found in this outgoing message.
Checked by AVG
On Mon, Aug 22, 2005 at 01:12:38PM -0400, Scott Fitzgerald wrote:
> In my zeal to find something simpler for what I wanted to do, I managed
> to mess up my system to the point where I will format my disks and
> re-install sarge again. Then I will stick to exim, as it is the default
> for confir
Kumar Appaiah wrote:
> On Mon, Aug 22, 2005 at 11:10:29AM -0400, Scott Fitzgerald wrote:
>> I am migrating from Woody to Sarge. In Woody, the initial install got
>> internal email to work "out of the box." What do I mean by this? I mean
>> you could set up multiple logins, and from one, you cou
On Mon, Aug 22, 2005 at 11:10:29AM -0400, Scott Fitzgerald wrote:
> I am migrating from Woody to Sarge. In Woody, the initial install got
> internal email to work "out of the box." What do I mean by this? I mean
> you could set up multiple logins, and from one, you could type in the
> command "m
Reading over the thread I have to hope that I did sound as if I were
knocking Exim. I am sure it is a fine mailer. It just is not working.
I am migrating from Woody to Sarge. In Woody, the initial install got
internal email to work "out of the box." What do I mean by this? I mean
you could s
- Re: Mailx problem -
On Tuesday Oct 16 16:56 Antti Tolamo wrote:
> ** Nah, I had odd problem. My /usr/sbin
> ** had suddenly no right to execute binaries.
> ** Gnome terminal and mailx started to
> ** function as I enabled it.
> **
> ** Not sure wha
At 16:44 16.10.2001, Timeboy wrote:
- Re: Mailx problem -
On Saturday Oct 13 07:45 Antti Tolamo wrote:
> **
> ** I have problem sending mail with mail command. Any other
> ** user than root gets '/usr/sbin/sendmail/: Permission denied'.
Do you made a
# addgroup
- Re: Mailx problem -
On Saturday Oct 13 07:45 Antti Tolamo wrote:
> **
> ** I have problem sending mail with mail command. Any other
> ** user than root gets '/usr/sbin/sendmail/: Permission denied'.
Do you made a
however
sending creates problems.
Also despite is there symlink or not from exim to sendmail, I
get the same error.
Mail command has worked before, don't know what has changed.
Debian Potato 2.2.19, mailx 8.1.1.- 11 and Exim 3.33.
Antti
Antti
My PGP public key:
http://linux.tola.org/~c
I can't anymore for other users than root send mail
using mail command.
Mail and mailx complain that permission denied
to /usr/sbin/sendmail. This despite is there an sendmail
in the directory or not. Changing rigths to sendmail
doesn't have any effect.
I have Debian Potato, and
I installed my own build of sendmail and would like to also have the logrotate
functionality. However logrotate depends on mailx, which in turn depends on
some mail
server. But apt-get doesn't recognize I have sendmail installed. I don't want
to install the
debian sendmail package
Ethan Benson wrote:
>
> On Sun, Apr 01, 2001 at 09:48:06PM -0700, Mircea Luca wrote:
> >
> > Sorry for jmping in here,but then what is the solution to this
> > small dilema :
> > lilo depends on logrotate,logrotate depends on mailx
>
> lilo depending on
On Sun, Apr 01, 2001 at 09:48:06PM -0700, Mircea Luca wrote:
>
> Sorry for jmping in here,but then what is the solution to this
> small dilema :
> lilo depends on logrotate,logrotate depends on mailx
lilo depending on logrotate is an absurdity is it not?
> So if I try to remov
Ethan Benson wrote:
>
> it is NOT appropriate, no user should be a member of that group.
> mailx simply can't be used to read mail any more. Deal with it.
>
> --
Sorry for jmping in here,but then what is the solution to this
small dilema :
lilo depends on logrotate,logrot
et al). mailx does its own
locking so for it to be able to alter your mailbox it must be setgid,
which it was until now. the problem is mailx is made up of hideously
insecure code and there is a flaw in the current one that will allow
you to get gid=mail if you make it setgid, there have been man
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ok, heres the story. I have installed a standard Debian 2.2r2 install, all
stable. It problem is that when I run mail, I cannot delete messages.
kernighan session begin
[EMAIL PROTECTED]:~$ echo test | mail wturkal
[EMAIL PROTECTED]:~$ mail
On Wed, 9 Aug 2000 00:13:43 -0800, Ethan Benson wrote:
[...]
>yes that version of mail was indeed broken, any time you piped
>anything into its standard input it would segfault (apparently). =20
>
>the solution is quite simple:
>
>apt-get update && apt-get install mailx
n of mail was indeed broken, any time you piped
anything into its standard input it would segfault (apparently).
the solution is quite simple:
apt-get update && apt-get install mailx
which will upgrade to 1:8.1.1-10.1.3 which fixes the problem.
--
Ethan Benson
http://www.alaska.net/~erbenson/
pgpcM67o6kWAL.pgp
Description: PGP signature
[Package maintainer has been cc'ed.]
Hi there,
I got alarmed when I wouldn't receive any logcheck output anymore. When I
found out the reason I was quite puzzled.
This
echo test | mail -s "test" root
doesn't work anymore. Is there any other interpretation apart from calling the
mail bina
On Tue, Jun 27, 2000 at 11:57:48AM -0500, Lee Revell wrote:
>
> I did apt-get update the other day, which informed me that the mailx
> package was 'obsolete', so of course I purged it. Logrotate apparently
> depended on this package, so I got rid of it too. Now when I try
Hello,
I did apt-get update the other day, which informed me that the mailx
package was 'obsolete', so of course I purged it. Logrotate apparently
depended on this package, so I got rid of it too. Now when I try to
install logrotate again it says
logrotate depends on mailx
mail
Hello all ...
got me an automated cron script that sends mail to various users. Recent
requirements for this script are to attach a binary file to this mail.
(i.e. I am to send a pkzip/zip2exe file to a specified group of WinBlowz
luser(s).
THE ISSUE: I am using mailx, how does one attach a
Loic,
One thing I did recently was upgrade to Hamm using apt-get. Mailx is the only
problem I have noticed since then.
But now I think in the future I may get other problems since it looks like it
is only half-done.
When I do a dpkg -l on mialx I get :
Desired=Unknown/Install/Remove/Purge
I reconfigured my smail, now when I run mailx from the command line I
have a problem. Example:
mailx -s "test" [EMAIL PROTECTED]
blah blah blah
Cc:
Null message body; hope that's ok
When ever I press return to start a new line, I get the Null message
body; hope that's ok
On Sat, 14 Mar 1998 02:59:32 CST, Alexander Kushnirenko wrote:
> Hi, All!
>
> Thanks to everyone who replyed on this message. I think problem is fixed now,
> and I would like to share my little experience.
[..]
> For Mail program (package mailx) it is done in file:
>
ot; program that sends mails on Linux
Box so that it will generate line (for all users of linux box, not just me):
MAIL FROM: <[EMAIL PROTECTED]> instead of MAIL FROM: <[EMAIL PROTECTED]>
For Mail program (package mailx) it is done in file:
/etc/smail/config
visible_name=domain
Hi,
I would like to know if i can setup mailx in such way that mailx append
a signature to every mail i compose with it.
Thanks,
Dany Dionne
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .
71 matches
Mail list logo