Questions tagged [pipe]

157 questions
0
votes
0 answers

Is there any way to "stop following" in less without pressing Ctrl+C?

If I pipe the output of a long-running command to less, for example: foreman start | less -SR And I now press F to follow the output of foreman, is there any way to tell less to stop following, without pressing CtrlC? Because that will also send…
Hubro
  • 1,138
  • 4
  • 16
  • 35
-1
votes
1 answer

dovecot thinks alias to pipe is a user, rejects email

I have an AWS EC2 instance running Amazon Linux with Postfix for serving mail. I have only local users -- no virtual users -- and my users and aliases are served via PostgreSQL. My aliases table in psql looks like this: alias |…
-1
votes
1 answer

Cron: Execute python script, capture stdout & stderr and send via msmtp

I try this for almost 4 hours now, in different ways. I googled a lot, but nothing I try work as expected. I have a simple .msmtprpc file, that allows me to send mails like this: echo -e "Subject: foobar\r\n\r\nContent" | msmtp…
Yann
  • 55
  • 6
-1
votes
1 answer

Make a copy of email using pipe in postfix alongside 1 content_filter

I am using postfix and already usHi. I am using postfix and already using a script as a content_filter which re-injects back to smtpd to all users, but before this happens, I would like to make a copy of the email as well. Do I need multiple…
-1
votes
1 answer

why does pipebackand always return ANY qtype?

when sent a query dns to pdns with type equal A , the latter sent to pipe backend using pipe protocl and qtype always egual ANY why?i use powerdns 2.9.22 and my os is ubuntu thank you in advance
-1
votes
1 answer

Piping Mail with Exim: Only Works Locally

Whenever I send an email to my catchall alias via SSH (i.e., locally), Exim successfully pipes the e-mail to a PHP script, as I told it to do. However, when I try to send an e-mail to my catchall alias via my e-mail client (i.e., remotely), Exim…
John
-1
votes
2 answers

mailx Set Name of Attached File

I have a cron job, whose output I send to mailx: # Monday morning at midnight; "mail" is symlink to "mailx" 00 00 * * mon python3 script-with-7500line-output.py | mailx -S 'from=noreply' -s "Report" mygroup@mydomain.com When the email is delivered,…
1 2 3
10
11