Ubuntu Servers :: Save All Of The Mail Sendmail Processes To A Named Pipe?
Apr 12, 2010how I could save all of the mail sendmail processes to a named pipe?
View 5 Replieshow I could save all of the mail sendmail processes to a named pipe?
View 5 RepliesI am trying to encrypt a file on-the-fly, redirecting the output to a named pipe [fifo]. I SSH into my server and run the command:mcrypt -k key < file > named_pipethen from my laptop I try to scp it:$ scp me@server:~/dir/named_pipe d it says scp:users/home/me/dir/named_pipe: not a regular file
View 1 Replies View RelatedI have sendmail running (quite well) on my ubuntu box. It worksfine with Thunderbird locally. It runs fine with a few other MUAson (allowed) remote machines. It has one small problem I have notbeen able to clear up: it will not send mail that is initiated bythe 'mail' program locally. It gives me a "[127.0.0.1 connectionrefused] error in the logs. The /etc/hosts file is fine (as faras I know). The sendmail.cf file has been rebuilt from sendmeil.mc.'hostname' and 'dnsdomainname' return proper values. Okay, I'mstumped and looking for another set of eyes on the problem.
View 2 Replies View RelatedWhat is a pipe? and why a file is a named pipe? I am just learning linux.
View 2 Replies View RelatedDoes any one know how can i input text by reading from a named pipe to any popular GUI based text editor?
View 5 Replies View Relatedi'm just trying to understand named pipes in linux.For that i'm just trying to create one named pipe using mkfifo.but its not working properly..following is my code snippet. so if anyone comes across the mistake i made
Code:
#include <stdio.h>
#include <errno.h>
[code]....
My question deals with me creating a name pipe (file) in the my /group directory called chat.I then have to write a script to read from the named pipe and save data into a file called chat.log until the words End of File are passed to the program.
-When I created the named pipe file (chat) I used the mknod chat p command..Is this the correct command to create a named pipe file? -Then I'm having trouble with my script and how to make it run until the words End of File are entered in. This is what I have so far.
If a process forks its child and communicate with the child using pipe, do closing the write end of the pipe and terminating the writing process have the same effect?
View 3 Replies View RelatedI have been trying to set up ssmtp so I can send email using Gmail's ssmtp servers. However, when I try to send mail (using mailx), I get the following message:
Code:
Can't send mail: sendmail process failed
Here's the last line from dmesg (the only one applicable, according to the timestamps and message content):
Code:
[484114.608378] sendmail[17975]: segfault at 0 ip b7dbbbf3 sp bfb0dc4c error 4 in libc-2.11.2.so[b7d44000+14e000]
Here's my ssmtp.conf:
Code:
#
# /etc/ssmtp.conf -- a config file for sSMTP sendmail.
#
[code].....
Well I want my sendmail to pipe all users' incoming emails to /dev/null ... I just don't want to accept emails. Every user that exist on the system currently or will be made in future, I want their incoming emails to them to be piped to /dev/null .... I just want those users to be able to send emails.
View 1 Replies View RelatedI had configured sendmail on linux 5.2, Iam using public ip and my domain is registered[linuxforfreshers.info]. I am facing a issue that when I mail with the user sumit@linuxforfreshers.info then I am able to do it. But if somebody tries to send mail to the same user then it bounce backs. I had made the entry of domain in /etc/mail/local-host-name and also I put ok in /etc/mail/access.The mails are working properly with in LAN. But not able to work on WAN only I can send mail but not able to recieve mail.What else I need to do.
View 6 Replies View Relatedis there a way to pipe a video feed from virtual box to vlc and save it as a file? cause if i could then i could save streaming videos from places like hulu and netflix or save bluray movies to a avi file for latter use.
View 6 Replies View RelatedIm running Ubuntu server 10.04 lts
Im trying to get postfix to receive mail from one address and pipe it to a PHP file for a help desk software called Trellis Desk.
They recommended that I use Cpanel but its not free and my boss is not willing to pay for it. I need a free solution.
I know my way around Linux but Im no professional
I've been using Claws for a long time and I like its filtering capability, however this app is hanging,hogging 100% of the cpu time. the last version was similar, but the latest version hangs after an hour.I've run it in debug mode, and with strace but nothing stands out I'm suspecting that its the way it looks for a pipe used by pulseaudio, which is not installed. It doesn't hang immediately after trying to open the pipe but within a few minutes. I'm not getting any success from the claws group, so time to look for another mail applicationI'm open to suggestions, I've tried Tbird and found the filtering lacking.there is a catch, I need to be able to import the mail from Claws-mail into it.
View 10 Replies View RelatedMandriva 2009, BIND 9.5.0-P2. Named will start however I'm getting the above error as well as these:
14-Mar-2009 15:45:37.084 general: error: zone 0.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.zero failed: file not found
14-Mar-2009 15:45:37.084 general: error: zone 0.0.127.in-addr.arpa/IN: loading from master file /var/lib/named/var/named/reverse/named.local failed: file not found
[code].....
Named shows to be running but with the errors above I know it's not running correctly. I also copied the above dir's over to /var/lib/named/var/lib/named which is where I 'believe' it's chroot'd at, though I could be wrong since I'm unfamiliar with chroot.
I have an application form (it's currently residing at [url] that needs to send an email to me.
I've installed sendmail and enabled it in /etc/php5/apache2/php.ini using the
Code:
When I run mailq, I get errors such as
Code:
Sendmail is flat-out refusing to work on external domains. How the heck can I get this working?
The PHP is below.
Code:
I've written a simple server in linux used fork to create a FIFO pipe.The server create two FIFO pipe.One for server read data from client and write data to client.Then another pipe for client read data from server and write data to server.When the server read data from a client used server-pipe and then write data to client.But ,if the client no read open the pipe,the server side write will be crashed because of a broken-pipe SIGPIPE. How to check whether the read side is opened?Or,how to catch the SIGPIPE,and then my server will still execute on,not crashed!!
View 5 Replies View Relatedi have running sendmail 8.13 on my red hat enterprise linux 5.1, but i have a problem. I can send a mail from my line command terminal to hotmail, gmail, yahoo and any of these, but i can't send mail to my own domain ([URL]), when i wrote a mail i get a reply from MAILER-DAEMON@localhost.localdomain that says that the message had pemanent fatal errors and shows as user unknown the mail was suposed to recive the message.
For example, if i send one mail from user1@mydomain.com to user2@mydomain.com the user2 does not recive any mail, but that doens not happens if user1 sends a mail to any hotmail address or gmail or any other. Besides i also can't recive on my server any mail to user1@mydomain.com or user2@mydomain.com (for example), so please tell me what do i do to get the mail.
How to send mail using sendmail on slackware? Can you show me a simple bash program that sends a message to an email? I am new to slackware and I can't send my email using sendmail command. I checked my mail queue on my Webmin and i see this status "access map: lookup [URL]..
View 9 Replies View RelatedI'm currently running Ubuntu 10.10 Server using VirtualBox 3.2.12 r68302. I've setup a LAMP Server and Installed Redmine and I'm going to be starting some projects. The problem I have is that I've linked it to a subdomain thru my hosting, so things are a little more complex for me then usual. Here's the software I've added for this setup:
Ruby version 1.8.7 (i686-linux)
RubyGems version 1.3.7
Rack version 1.1
[code]...
how mail server functionality works as well as how to properly set the host of the virtual pc.
I have questions about mail,
I am using following command on my linux account of my compnay
mail -s 'Hi' username@gmail.com
But I dont receive any emails, where as did not receive any error while executing the above command, so whats going on and what is happening.
what email id do mail use to send the email by default. Is there any way or command to print this by default user id.
I have sendmail running in system,i want to send mail to other accounts like gmail,yahoo using this sendmail.What should i do ?
View 1 Replies View RelatedWe are using RHEL 4 and sendmail version -8.13.8-2. We are using sendmail service for mail transcation. But we are not able to mail from terminal.Quote:
[systems@localhost ~]$ echo hello|mail -s "Hi dere" systems@localhost
[systems@localhost ~]$ collect: Cannot write ./dfo4M8OIMh014372 (bfcommit, uid=5 14, gid=51): Permission denied
[code]...
I run a CentOS server and would like to put a disclaimer message on every email that is send through that sendmail server.
View 1 Replies View RelatedWe have moved from a Windows based SMTP server to Sendmail on Cent 5.5. We have a special application that was written to look at the "BadMail" folder on the Windows box. I am told by my developers that it is capable of monitor remote locations and they just need to know the format or extension of the badmail files.
My question is what is the default location of the badmail folder in Sendmail? This is a default install from CentOS.
We have a application hosted in our server and it uses send mail for sending and receiving mails.mails can able to reach certain ids but it cant reach some ids. this is the log entry.
Jan 6 00:52:18 p2234270 sendmail[11009]: p046hWi5011897: to=<dinesh@heatstream.com>, ctladdr=<apache@p2234270.pubip.serverbeach.com> (48/48), delay=2+00:08:46, xdelay=00:00:01, mailer=esmtp,
pri=4530999, relay=smtp17.msoutlookonline.net. [64.78.22.100], dsn=4.1.8, stat=Deferred: 450 4.1.8
[code]....
I have sendmail setup on my server but for some reason the following command does not send me an email: echo "test" | mail -s testsubject xyz@gmail.com
however in my crontab i have MAILTO="anemail@anemail.com" and it that is pumping out emails.
I am running this on an AmazonEC2 machine running Fedora Core 8.
I have running sendmail 8.13 on my red hat enterprise linux 5.1, but i have a problem. I can send a mail from my line command terminal to hotmail, gmail, yahoo and any of these, but i can't send mail to my own domain (mydomain.com), when i wrote a mail i get a reply from MAILER-DAEMON@localhost.localdomain that says that the message had pemanent fatal errors and shows as user unknown the mail was suposed to recive the message. For example, if i send one mail from user1@mydomain.com to user2@mydomain.com the user2 does not recive any mail, but that does not happens if user1 sends a mail to any hotmail address or gmail or any other. Besides i also can't recive on my server any mail to user1@mydomain.com or user2@mydomain.com (for example) comming from gmail.
View 3 Replies View Relatedsetup a mail server using sendmail on Redhat 5/Centos 5.
View 3 Replies View RelatedSo I'm having troubles setting up a mail server. First of all, anyone want to try to telnet into <snip> on port 25 and see if it's blocked? I don't think it is, but you never know. How long does it usually take for MX records to get around? I've had this set up for about a day now and still don't see any MX records on any lookup site I go to. I'm currently using slackware 12.2's default sendmail configuration. Should I change anything? I started sendmail on my laptop and got emails going within the LAN but I cannot send emails over WAN (i.e. to/from yahoo or google accounts).e?
View 14 Replies View Related