CentOS 5 :: Mailx And Sendmail Not Working?

Feb 19, 2009

Im unable to send mail using mailx or sendmail. The sendmail daemon is running.

View 1 Replies


ADVERTISEMENT

General :: Safe To Remove Sendmail By Running "yum Erase Sendmail" And Let Postfix Handles "mailx" Also?

Sep 5, 2010

I have installed postfix and dovecot on my server and thought postfix will not only take SMTP connection from my e-mail client like Outlook, but also handles "mailx" commands from the server. However, it looks like sendmail is still responsible for sending mails from "mailx". I tested this by turning it on/off using "service sendmail stop" and "service sendmail start". Mails sent using "mailx" will only be sent when sendmail is up. When I did "yum info sendmail", it lists sendmail as an installed package. Is is safe to remove sendmail by running "yum erase sendmail", and let postfix handles "mailx" also?

View 3 Replies View Related

General :: Control Sendmail Or Mailx From A File?

Oct 14, 2010

I need to control sendmail or mailx from a file. The file will have the receprent as the first line, Subject: has the second line, etc. From what I can find with Google the only why to define the target and subject is on the command line? Does any one know of a way to make a mailer use the data in a file? The file would look like this:

Code:

[code].....

View 2 Replies View Related

Slackware :: Instruct Mailx To Use Postfix Instead Of Sendmail?

Jun 22, 2011

im just wondering is it possible to instruct mailx to use postfix instead of sendmail while have sendmail and postfix installed? like system-switch-mail way in other distros. basically i would like to be able to use mailx when i uninstall sendmail and keep postfix only installed, so i dont get msg after i press . to send email from mailx

Code:
/usr/sbin/sendmail: No such file or directory

View 7 Replies View Related

CentOS 5 :: Sendmail Stopped Working After Latest Updates

May 31, 2010

We are running CentOS 5.4 x86 on ESX 4 Server. We have a busy Help Desk, a Forum and several name-based websites running. Weve been using CentOS for this 'purpose for several years (different versions) and so far we have never had a problem. On Saturday, I applied all the latest updates including the Kernel updates. I rebooted the server and all seemed well until Sunday morning when I didn't get my Logwatch in the mail. Then I got a telephone call from a customer asking me why I hadn't responded to a Trouble Ticket he had created on Saturday afternoon (creating a TT sends an email via sendmail to all the support staff). I did a few tests and sendmail has just stopped working. The Logwatch had been created and had been sent to root, but all mail for root is redirected to my Mail Server on e different box (GroupWise). There was nothing wrong with the mail server, but sendmail has just stopped.

Fortunately I had created a snapshot before I applied the updates, so I reverted back to the snapshot and mail started working again, but I lost 2 days info because I had run the backup before I applied the patches. Now I see there are 132 Updates available, but there is obviously a problem somewhere in there!

View 2 Replies View Related

Fedora :: Mailx Command Isn't Working?

Jan 28, 2010

I am trying to email some log files from my RHEL 5.3 server to my Outlook corporate account and nothing happens. Here is the command I use:[root@server1]# mailx -s "server info" my_id@my_corporate_domain < server_infoThe file server_info does exist and is a small log file. I checked for sendmail and seems to be running OK as follows:

[root@server1]# ps -ef | grep -i mail
root 13954 1 0 2009 ? 00:00:00 sendmail: accepting connections
smmsp 13962 1 0 2009 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

I'm not at all familiar with mail clients or mail system in Linux. Is there anything missing? I don't have to use mailx, I could use an alternative. Just please let me know how to sent a simple mail from this server to my corporate account using any tools possible (and maybe how to set it up)

View 1 Replies View Related

OpenSUSE Network :: 11.4 - Mailx Not Working (Message Not Sent)

Apr 25, 2011

I am running a opensuse 11.4 with mailx 12.2. I am trying to sent emails via command line using mailx. I have not configured any mail server in yast. My .mailrc in my homefolder looks like this:

set smtp-use-starttls
account gmx {
set smtp=mail.gmx.net:465
set smtp-auth=login
set smtp-auth-user=my.name@gmx.de
set smtp-auth-password=mypassword
set from="My name <my.name@gmx.de>"
}

Unfortunately when I use the command
mailx -s"Test" -A gmx my.name@gmx.de [Return]
Hallo
[ctrl+d]
I am getting only the message
Unexpected EOF on SMTP connection
"/home/myname/dead.letter" 11/338
. . . message not sent.

View 9 Replies View Related

CentOS 5 :: Set Mailx To Use External Smtp Server?

Jan 14, 2011

In Red hat i used the nail command to send mail using an external smtp server without sendmail or other mail services active. My question is: In Centos 5 nail is not present but is present mailx in version 8.1.1-44.2.2

Is there a way to set mailx to use external smtp server ? because in many forum i get the string mailx -S smtp= etc.etc. but in my case the -S parameter generate mailx: invalid option -- S antoher question is there a an official repository to download rpm nail for centos ?

View 3 Replies View Related

CentOS 5 :: Error "DSN: Service Unavailable" In The Maillog When Trying To Use Mailx

Feb 21, 2009

I get this error in the maillog when trying to use mailx. (DSN: Service Unavailable)

View 1 Replies View Related

Ubuntu :: "-r" Flag For Mailx Not Working?

Jun 22, 2010

I recently set up an email server at work on a ubuntu box, running exim4. Everything seems to be working fine, but when I try to change the "from" header in the message, its not letting me.

I wanted to send a message from the root user as "admin".

I assumed this would be easy as:

Code:
mailx -r admin recepientname

but for some reason the mailx program is claiming that "-r" is not a legitimate tag, when I try it tells me:

Code:
mail: invalid option -- r
usage: mail [-eIinv] [-a header] [-b bcc-addr] [-c cc-addr] [-s subject] to-addr ...
[-- sendmail-options ...]
mail [-eIiNnv] -f [name]
mail [-eIiNnv] [-u user]

View 1 Replies View Related

Server :: Sendmail Not Working In Cent OS 4.6?

Apr 13, 2010

I had configured my php to use sendmail as its mail agent. My server which is centOS 4.6 in this case runs in a lan.

What I need is that when i fire a mail function from php page hosted on my server in LAN, mail should get delivered to gmail or whatever destination address is..

But I am facing problem...When I open my php page which fires the mail, it takes long time to load say 1-2 minute in loading. After that it says Message sent successfully, but message not get delivered.

I had checked sendmail it is running... I also checked spam folder of destination email..

View 3 Replies View Related

General :: Sendmail - Mail Command Not Working?

Sep 9, 2011

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.

View 2 Replies View Related

Server :: Configure Procmail For Sendmail But Its Not Working?

May 12, 2010

I'm trying to configure procmail for sendmail but its not working. I added these 2 lines to sendmail.mc:

define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
FEATURE(local_procmail)dnl

So my question is, where do I put .procmailrc? An examples I found on the net has the procmailrc in the users mail directory, but there are no user mail directories on the sendmail server. It is used purely to relay mail to the Exchange server.

View 1 Replies View Related

Server :: Screening Subject In Sendmail Not Working?

Jun 21, 2011

I am trying to create a custom ruleset in sendmail, but not getting through, please guide me in right direction. I made following entry in sendmail.mc

LOCAL_CONFIG
Kspamsubject hash /etc/mail/spamsubject
HSubject: $>ScreenSubject

[code]....

View 5 Replies View Related

CentOS 5 :: Sendmail Upgrade For PCI Compliance?

Sep 15, 2010

I'm working with a vendor on getting a web site certified for Payment Card Industry Data Security Standard for processing our credit card transactions. The vendor's running Centos 5 (which we also run at my business). The current issue has to do with sendmail, which the required PCI security scans say should be upgraded to 8.14.4. However, the vendor points out that latest version packaged for yum on Centos 5 is 8.13.8.

I'm still somewhat of a newbie at this, but from my reading, it seems that installing the 8.14.4 sendmail means using 3rd party repositories and potentially breaking the system. I browsed through "Installing RPMforge" on Centos wiki, which notes that a complete listing of the over 4000 RPMforge packages is at [URL]. Scanning that link shows sendmail packages with lower numbers than what's currently installed, 8.13.8. All I see on sendmail.org are tarballs of the latest verson, 8.14.4, available 2009-12-30. I presume this means you must install from source; I'm not sure the vendor's comfortable with this, especially for such an essential service.

View 2 Replies View Related

CentOS 5 :: Switching From Sendmail To Postix?

Oct 14, 2010

I'm contemplating to switch from sendmail to postfix. My current setup is very simple: a minimal CentOS 5.5 64bits install with Selinux enabled on ports 25, 80, secret sshd, 53 and 953. I also use Google Apps for my domain to manage the email accounts. Basically, I use sendmail only to email the daily logwatch, as well the email sent from my forum software. The issue that I'm facing is the forum is starting to hammer sendmail with a lot of emails.

My goal is to use Postfix only to send those forum emails. I don't need a SMTP setup, that is handled by Google Apps. Can I do that with Postfix? Will Postfix perform better than sendmail? All guides I saw on internet pair Postfix with Dovecot and the setup is a little complex, not to mention that I will never have email accounts created on server.

I was wondering if you have any handy guide who will basically replace sendmail with Postfix. Personally, I tried myself using the CentOS HowTo. I yum'ed postfix and system-switch-mail, then I disabled sendmail and switched the agent to Postfix. I left the main.cf config unchanged and tried to start Postfix (service postfix start), but I got a "master is stopped" message when I checked the daemon status.

View 3 Replies View Related

General :: [B][/B]Mailbox Format Sendmail With Centos 5.6?

Jul 19, 2011

I already have sendmail dovecot and roundcube webmail in my linux centos 5.6Problem is that i want to change mailbox format mbox to maildir because maildir is faster and stable.So i search about this and i see sendmail doesnt save in maildir format.Is there any way to change sendmail save format mbox to maildir.Or do u have any idea for it.

View 2 Replies View Related

General :: CentOS 5.4 - Sendmail And Host Domain

Jul 7, 2010

I'm running CentOS 5.4 with sendmail. My computer hostname is bob.domain.com. Whenever I would nc -v 127.0.0.1 25 into sendmail I would get bob.domain.com on the banner. Whenever I send out email the emails would be user@bob.domain.com. I wanted the email to show up as user@domain.com. So in the etc/mail/sendmail.cf file I changed the line

Code:
Dj$w.hostname.com
to this

Code:
Djhostname.com
Now when I enter sendmail I see domain.com in the banner so I know the change took place. However, when I send email using

Code:
mail -s "test" xxx@xxx.com
then email still goes out as user@bob.domain.com. What other changes do I need to make?

View 5 Replies View Related

General :: Sendmail Configuration Steps On Centos?

Feb 5, 2010

me sendmail configuration steps on centos, i need to define AUTHENTICATION parameters in this configuration.

View 2 Replies View Related

Server :: Mail Disclaimer On A CentOS Sendmail

Mar 16, 2011

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 Related

Server :: Sendmail Bad Mail Location CentOS 5.5

Nov 18, 2010

We 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.

View 1 Replies View Related

Red Hat :: Setup A Mail Server Using Sendmail On Centos 5?

Mar 3, 2010

setup a mail server using sendmail on Redhat 5/Centos 5.

View 3 Replies View Related

CentOS 5 Server :: Disable Out-of-the-box Greylisting In Sendmail

Jan 28, 2009

I recently turned on sendmail in CentOS 5.2 and configured it to relay mail for its domain onto some other email account elsewhere. Anyway, it's kind of hit and miss, but I've got a few of these:

Jan 27 21:47:18 smhi sendmail[12176]: n0S3YLaX011994: to=<kevin@hiding.my.domain.com
>, delay=00:12:56, xdelay=00:00:03, mailer=esmtp, pri=120673, relay=mx.hiding.my.mailrelay.com
[65.87.230.26], dsn=4.0.0, stat=Deferred: 451 4.3.0 Greylisting is active,
please try again later.

I don't think I have any greylisting software installed, but it seems to be greylisting? What's up with that? And why would it be intermittent? how I turn this off?

I've previously configured sendmail on Fedora systems and CentOS 4 and haven't run into this before...

View 11 Replies View Related

CentOS 5 Server :: Sendmail Broken After 5.3 Upgrade?

Apr 9, 2009

After upgrading to CentOS 5.3 my sendmail will no longer deliver messages using a program in my /etc/smrsh. It fails with the message "unknown mailer error 1". This program was working perfectly before I did the upgrade using yum. Here is the list of packages that were upgraded. Does anything jump out as being the source of the issue? I don't believe that sendmail itself was upgraded:

Packages Installed:
dbus-libs - 1.1.2-12.el5.x86_64
libselinux-utils - 1.33.4-5.1.el5.x86_64
Packages Updated:
initscripts - 8.45.25-1.el5.centos.x86_64

[Code]....

View 3 Replies View Related

CentOS 5 Networking :: Sendmail Does Not Send Mail ?

Apr 30, 2009

I would like to send the logfiles and the CallDetailRecording-files of my Asterisk-server weekly to my email-address.

But I'm having some issues...

This is the command I would use in a script :

View 5 Replies View Related

CentOS 5 Server :: Setup DKIM With Sendmail?

Jun 23, 2009

I am trying to make my webserver a well respected email sender and it appears to me that using DKIM is something I need to do.

I have no experience with this and would like to know if anyone thinks there are issues that I should be aware of before going down this path.

Also, I have not been able to find any good, STEP BY STEP, documentation on how to set up DKIM with Sendmail.

I am also not sure if you need a certain network configuration for DKIM to work...this is what I am working with:

My webserver (centos 5.3, sendmail 8.13.8) sends outgoing mail and has a valid reverse DNS that matches a forward DNS. The MX records for my webserver's domain point to a third party email provider who handles the incoming mail for that domain. I added an spf record that signifies it that my webserver is authorized to send mail for mydomain.

View 2 Replies View Related

CentOS 5 Server :: Procmail + Sendmail Configuration On 5.2?

Aug 5, 2009

I have been trying to get procmail working on CentOS 5.2. I don't need anything fancy, just an auto reply for a "noreply@" account. Looking at the sendmail configuration, it appears procmail is the MDA. I have looked at many different tutorials and how-tos, but most are old, and/or the locations/paths and setups are markedly different from the defaults on my system. Can anyone recommend a good CentOS-based tutorial on Procmail w/ recipes? (I have an RHEL book and it's no help either.) Thank you for your time and consideration.

View 1 Replies View Related

CentOS 5 Server :: Sendmail With SASL Support?

Nov 12, 2009

We have CentOS 5.3 and are using sendmail for outbound emails. We are trying to switch over to authsmtp service. Authsmtp requires sendmail built with SASL suport.

How do I find out if my sendmail has been built with SASL support? If it is not, is it easy to build it with SASL support?

View 6 Replies View Related

CentOS 5 Server :: Sendmail Is Very Slow For Php Mail()

Dec 23, 2009

I am using CentOS and sending mail through php mail function. It is taking too much time to send a mail.

View 3 Replies View Related

CentOS 5 Server :: Sendmail Does Not Work Anymore

Apr 2, 2010

Sendmail does not work anymore.
//deinstaled everything
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
/usr/sbin/sendmail: No such file or directory

//reinstaled everything, restart sendmail
[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
[root@localhost ~]# /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
//fixed that with '-o' in /etc/mail/submit.cf, restart sendmail

[root@localhost ~]# top -b -n1 | mail -s 'Process snapshot' mymail@mymail.net
// in mail.log:
Apr 2 12:49:16 localhost sendmail[6252]: o32AnGis006252: to=mymail@mymail.net
, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=49856, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]

//test
[root@localhost ~]# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

//commented out #O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
//in sendmail.cf, restart sendmail

//test
[root@localhost ~]# telnet localhost 25
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

View 11 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved