Server :: Getting An Error While Changing Sendmail Config File?

Nov 7, 2009

I am trying to change the configuration of sendmail so that I can relay mail through google smtp server as suggested here.

First I ran 'm4 sendmail,mc >' with the original .mc file that came with Fedora 10. There was no error.

I added the following lines.


FEATURE(`authinfo','hash /etc/mail/auth/client-info.db')dnl
define(`RELAY_MAILER_ARGS�, `TCP $h 587′)
define(`ESMTP_MAILER_ARGS�, `TCP $h 587′)

I ran ''m4 sendmail,mc >' again and got this message:

m4:/usr/share/sendmail-cf/mailer/procmail.m4:33: ERROR: end of file in argument list

I did not change anything in the procmail.m4 file. What do you think caused this error?

View 3 Replies


Server :: Sendmail: Changing 'From' Address In Maillogs?

Jun 7, 2010

Is there any way where I can change the "from" address in the maillogs without
changing the envelop sender.

We have email users using smtp-auth with multiple email accounts but authenticating against single user account.So whenever a user sends mails through our server from any one of his multiple mail accounts,I want to be able to change the "From address" to the user he is authenticating against instead of the "from address" which he supplies, in the maillogs.

We have mimedefang running on our system,I tried using things like change_envelope_sender functions,but it only changed the envelope sender and did'nt change anything in the maillogs.

View 1 Replies View Related

CentOS 5 Server :: Sendmail To Postfix Migration: Struggling With Config

Oct 25, 2010

I have a lightweight admin background, but good enough to set up most servers. I have switched from sendmail to postfix for the first time, but I keep going around in circles on the following...

In sendmail, I used to maintain a table (mailertable) where I would redirect email like this


View 1 Replies View Related

Programming :: Changing A Line In A Config File While Installing The Program Using Bash Script

Jul 22, 2011

I am trying to write a bash script that installs a program fully automated for me. I am stuck at the one part where i need to change a line in one config file. I have tried various syntax for sed and none have worked. Maybe someone can suggest how to go about this. Since the line appears in the middle of the file, I can't use echo or cat. Also the file will be diffrent lengths depending on the install.

The line I need changed is:

I need that changed to:

the last syntax i tried is:

Yes this is for PNP4Nagios on centos 5.6 64bit. If i can get this figured out. I will be willing to post the whole thing for others to use. it will be used to install PNP after a working nagios install is done.

View 11 Replies View Related

Server :: Sendmail Error / Sender Already Specified 503.5.2?

Feb 11, 2011

After configuring sendmail in Linux I am able to send a mail once only. After that whenever I try to send a mail like this:

telnet localhost.url 25
EHLO localhost.url
MAIL To: susan@url
RCPT To: harry@localhost.url

after that whenever I press enter it gives me an error :

Sender Already Specified 503.5.2

Can anyone tell me why it gives this error and how can I remove this error by doing changes in which file and how?

View 1 Replies View Related

Server :: Sendmail Cannot Open Cf.m4 File

Mar 17, 2010

I'm configuring sendmail to send mails only by setting the define(SMART_HOST, full smtp server address) and DAEMON_OPTIONS settings.

However when trying to regenerate through the following commands: m4 /etc/mail/> /etc/mail/

The following errors occur: /etc/mail/ Cannot open /usr/share/sendmail-cf/m4/cf.m4: No such file or directory.

When checking the path the following path does not exists at all for sendmail-cf/m4

Where can i find the cf.m4 file? or what solution to apply so the is regenerated?

View 1 Replies View Related

Server :: Error During Install Makemap And Mailstats Of Sendmail?

Apr 19, 2011

I intend to install cryus-sasl, procmail and sendmail for my school. After I've finished the install of cyrus-sasl and procmail, I try to install sendmail. I have config the required setting of sendmail which let it support cryus-sasl in the file sendmail/devtools/Site/site.config.m4, then I build the main program of the sendmail and created the related user account and directories. It doesn't has any error. But when I try to build the program "makemap" and "mailstats", it has the similar error which said that there are an unrecognized option '-R/usr/local/ssl/lib' and can't find -lphclient. Here are the dump screen after I type the command "sh Build install" in the directory of program "makemap":

[root@chmsmail makemap]# sh Build install
Configuration: pfx=, os=Linux, rel=2.6.18-194.el5PAE, rbase=2, rroot=2.6.18-194, arch=i686, sfx=, variant=optimized
Making in /usr/local/src/sendmail/obj.Linux.2.6.18-194.el5PAE.i686/makemap
cc -O2 -I. -I../../sendmail -I../../include -I/opt/nph/include -I/usr/local/ssl/include -

Anyone can tell me what should I do to tackle the error?

View 2 Replies View Related

Server :: Sendmail Can't Send To Some Hosts Timeout Error / Fix It?

Sep 12, 2010

I'm running sendmail 8.14 which sends out thousands of email. I'm getting several timeout error on only a few particular hosts. What I found is almost all of them are Exim 4.69

maillog shows
--> timeout waiting for input from ..@xxx during client greeting

after several tries, I finally got bounce back with

--> 451 4.4.1 reply: read error from
.. Deferred: Connection timed out with
Message could not be delivered for X day
Message will be deleted from queue

When i search though maillog with all of those error and they all seems to be running Exim and they are different mail domains.

View 1 Replies View Related

Server :: Sendmail STARTTLS Error - Tls_verify_cb - Ssl - Null ?

Jul 18, 2010

I'm running Sendmail with SASL Authentication and STARTTLS and this error always turns up in my log, even though the server works as a charm apart from that.


View 2 Replies View Related

Ubuntu Servers :: How To Config Sendmail In 10.10

Apr 17, 2011

I want config ubuntu to send mail with sendmail. Any manual for cinfig sendmail in Ubuntu.

View 4 Replies View Related

Server :: Sendmail Piping From A Text File

Jan 7, 2011

I'm trying to pipe from a textfile to sendmail.The command I'm using on teh sendmail server is:[root@sendmail-server test]# sendmail to-email-address@relay_server-address < test2.txt.I'm doing this because I was doing this from an aliases file just fine until about three weeks ago. The aliases file suddenly stopped working after the relay server received an inordinate amount of email from the From: address and for the To: address.

View 7 Replies View Related

Server :: Sendmail Loggin - Error - Invalid Username Or Password

Apr 7, 2011

Iam using centos5.i had installed qmail as MTA.when iam login through squirrel mail it gives login error invalid username or password.And then i tried with domain.

View 2 Replies View Related

Ubuntu :: 9.10 - Warning After Update (Error In Config File)

Mar 18, 2010

I am using ubuntu 9.10 and I updated by ubuntu machine. It updated but at the end it gave me a message that "You have new mail in /var/mail/root". When I checked it via the command "tail /var/mail/root" it showed me this.

tail /var/mail/root
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
Message-Id: <20100318051502.0D1ABB1C01@Infosec-Lab04>
Date: Thu, 18 Mar 2010 10:15:02 +0500 (PKT)
WARNING: "MaxBytes[leased]" not specified
ERROR: Please fix the error(s) in your config file

View 1 Replies View Related

Server :: Sendmail M4 Configuration Base Directory /usr/share/sendmail-cf Was Not Found

Nov 1, 2010

I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message


The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have


Sendmail M4 base directory = /usr/share/sendmail-cf

which is not there. I did a locate / sendmail-cf on the command line, it finds nothing

View 17 Replies View Related

CentOS 5 :: How To Config Sendmail So Can Use Mail To Send Email

Aug 11, 2011

I'm trying to setup notification function for the Nagios Core which use Mail to send notification.I got an account from Rogers. I have SMTP server, email account with authentication information.My Nagios server is in a workgroup, there is now domain assigned to it, I just use nagiosserver.localdomain in /etc/hosts.I added Rogers SMTP server in /etc/mail/ and Future (AuthInfo) I created an /etc/mail/AuthInfo and add AuthoInfo:smtpserver "U:user" " P: pwd" "M:Plain"I added smtp server in /etc/mail/access for RelayI added root@nagiosserver.localdomain on /etc/mail/virtusertableI regenerated by user m4 commandrestart sendmail service.When I ran: Mial -s test nagios4ccs@rogers.comIt did not prompt any error message , in the maillog it says the message is queued but It can not be sent out

View 3 Replies View Related

Server :: Sendmail Works But Opens 43 File Handles Per Email

Dec 16, 2010

I'm using Sendmail 8.13.8 on a CentOS 5.5 vServer (Virtuozzo). I'm using a loop in PHP to send a lot of HTML-mails via sendmail. Each mail is a mail with individual statistics for our users, so its not mass mailing, bcc is not an option. It all works fine, but when I take a closer look there is a problem heading our way with a high number of mails: For each mail sendmail opens up 43 files. Sometimes these open files get closed again very fast, sometimes not.

Here is an example using the PHP-script below, it sends 20 mails in a loop:
[root]# php test-mail.php
START: number of open files: 2113
END: number of open files: 2973

This is the worst case. The number of open files (lsof | wc -l) used to send the 20 mails is 860 => 43 open files per mail. Sometimes the files are closed very fast, so I get results like this, too:
[root]# php test-mail.php
START: number of open files: 2113
END: number of open files: 2242

This shows 129 (3 * 43) open files, so the open files for 17 send mails are already closed, for 3 mails the 129 files are still open. In the worst case and with lots of mails our server crashes, the numfile limit of 8192 in user_beancounters is reached (our ISP won't give us more than 8192). Sendmail DeliveryMode is background. Could it be that sendmail tries to send lots ob mails asynchronously and uses 43 open files for each?

I'm only depending on sendmail to deliver the mails, normally I wouldn't dare to touch the sendmail config (like 'if you don't know what you're doing, don't!'). It is not a problem of PHP. I verified this by sending mails via SMTP localhost to sendmail (opened 43 files per mail) and sending mails via SMTP to an ISP-relay (did not open any files per mail). This is the code for test-mail.php:

PHP Code:
$header='MIME-Version:1.0'." ";
$header.='Content-type:text/html;charset=iso-8859-1'." ";
//sendmail,thisopensup 43files foreach
[email][/email]'); }
echo"END:numberofopenfiles:$output"; ?>

View 3 Replies View Related

CentOS 5 :: Fontconfig Error: Cannot Load Default Config File

Nov 18, 2009

I am getting a strange font problem (see attached screenshot) for a user logging in over VNC Server, I am also logged in over VNC however I am no experiancing any problems... This was the case on CentOS 5.3 and on 5.4. I have tried removing the .vnc dir in the users home dir and re running vncserver so that it recreates it, I found this in the logs:

1. (nautilus:14718): Pango-WARNING **: No builtin or dynamically
2.loaded modules were found. Pango will not work correctly.
3.This probably means there was an error in the creation of:
5. You should create this file by running pango-querymodules.
6.Fontconfig error: Cannot load default config file


View 2 Replies View Related

CentOS 5 :: Yum Repolist Config Error 'File Contains No Section Headers'

Mar 7, 2010

i try to run yum update and now i get this error Config Error: File contains no section headers.


View 4 Replies View Related

Server :: Remote Protocol Error : Sendmail / 571 Delivery Not Authorized, Message Refused?

Aug 18, 2009

i am facing a problem with my mail server,i get an error when sending mail to a specific domain group;

Aug 18 06:41:02 mycompany2 sendmail[16745]: n7I1Ab9m016743: SMTP DATA-2 protocol error: 571 Delivery not authorized, message refused

Aug 18 06:41:02 mycompany2 sendmail[16745]: n7I1Ab9m016743: to=<>, delay=00:00:25, xdelay=00:00:24, mailer=esmtp, pri=166397, [], dsn=5.5.0, stat=Remote protocol error

View 11 Replies View Related

Ubuntu Servers :: Iptables / Netfilter Config Stops Sendmail From Working?

Oct 8, 2010

I have an ubuntu server virtual machine with a webhost. I am trying to configure the firewall. I am having a problem with sendmail and the required firewall configuraiton If I type the command:

iptables -F

Then sendmail works perfectly. I can see the emails sent in my googlemail inbox. I then configure my firewall as follows:

iptables -F
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -p tcp --dport 2252 -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT

(I have moved SSH to a diffrent port) Once this is setup sendmail no longer works. I had assumed that sendmail will establish a tcp connection and the first rule will allow all established connections to pass. why this iptables/netfilter config stops sendmail from working.

View 5 Replies View Related

Server :: Apache Web Server Config File

Nov 6, 2009

it may be a simple doubt i have but i really want to know this,in the httpd.conf file under the server root of apache server.they have instructed not to add a slash at the end when mentioning or giving the path for server root.I think both will still remain the same, then y is that mentioned that way?

View 6 Replies View Related

Server :: Can't Get A Config File My.cnf In Mysql-server

May 2, 2011

when installing mysql-server by this command sudo apt-get install mysql-server. Installaton is complete but i cant get a my.cnf file. Can anyone tell, what is the mistake i did and how to overcome from this error. Here, i am posting the results

sam-osm@dhcppc4:~$ sudo nano /etc/mysql/
conf.d/ debian.cnf

View 2 Replies View Related

Debian Configuration :: Nagios Server Config Error

Feb 5, 2016

Running natios server in Debian 8? I cannot start nagios3 demon, it got following error:

Error: Check period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere!
Error: Notification period '24x7' specified for service 'check ssh connection' on host 'testk2' is not defined anywhere!

But if I commented following statement in generic-service_nagios2.cfg, it works just fine.

# check_period 24x7
# notification_period 24x7

View 2 Replies View Related

Server :: Error : Asr : Invalid Raid Config Table

Nov 11, 2010

I had a RAID controller in a system that would not load Virtuozzo. So I deleted the array created by the 3Ware 9550SX controller before removing it and one drive from the CentOS 4.8 server. Even though I deleted the array when the server boots it shows an error:

ERROR : asr : invalid RAID config table

How can I clear and remove the table without having to reload the OS? Can I? Di I need to run the Seagate Tools and reset the drive?

View 1 Replies View Related

Server :: Config The File Using The Shell Scripts?

Jun 30, 2011

i need to config the file using the shell scripts..

i have set the static ip using shell scripts

1st it should ask the ip values 2nd it should check the file is exist or not 3rd then add the values or re edit previous values

i need to set only IP static

View 2 Replies View Related

Server :: Sendmail Not Reading Default ?

Apr 1, 2010

I recently modified to use a third party SMTP server to send emails. It works great. But when I run sendmail from the command line, I have to specify the -C flag and force feed it the location of my, or else it doesn't work.

So in other words, the following works great:

However, if I don't specify the -C flag, sendmail doesn't consider what's in the and barfs:

I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another on the machine and only the one in /etc/mail came up.

Why sendmail is not reading my

I'm running Sendmail version 8.14.2 on Fedora Core 8.

View 1 Replies View Related

Fedora :: FC11 - CUPS Server Error Box While Printer Config GUI

Jun 17, 2009

I'm trying to install and configure a printer (networked Brother HL4040CN), but I'm getting an error dialog when I click on "New" in the printer configuration GUI.

Action 1) Click on "New"
Response 1) a) "Authentication (fetching device list)" dialog box, request password for root.
Response 1) b) "Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost" appended to /var/log/cups/error_log
A2) Type root password and press enter in "Authentication" dialog box
R2) a) "CUPS server error" box, "There was an error during the CUPS operation: 'server-error-internal-error'.
R2) b) /var/log/cups/error_log:

E [17/Jun/2009:08:14:12 -0400] Unable to execute /usr/lib/cups/daemon/cups-deviced: insecure file permissions (0100777)
E [17/Jun/2009:08:14:12 -0400] Returning IPP server-error-internal-error for CUPS-Get-Devices (no URI) from localhost
A3) Click "OK" button in "CUPS server error" box
R3) a) "New Printer" dialog box opens
R3) b) /var/log/cups/error_log:

E [17/Jun/2009:08:17:10 -0400] Unable to execute /usr/lib/cups/daemon/cups-driverd: insecure file permissions (0100777)
E [17/Jun/2009:08:17:10 -0400] Returning IPP server-error-internal-error for CUPS-Get-PPDs (no URI) from localhost
A4) Enter "lpr://" and click "Find" button under "Seelct Device->Network Printer->Find Network Printer"
R5) "No printer found at that address."

Any ideas? I have installed the RPMs from Brother's web site for both LPR and CUPS-wrapper

View 4 Replies View Related

Networking :: Export Config File From Proxy Server) And Using SSH

Jul 13, 2011

In my company have proxy server using Linux.

Ip Address Proxy Server 1 is:
Ip Address Proxy Server 2 is:

Every Client:,....

- I want export config file on Proxy Server, but i don't know command and i see interface is command line. So hepl me command line and send file to my email.

- In config file on Proxy Server may be disconnect internet for user and Enable coonect internet for user. Hepl me do this?

- I using Ubuntu 10.04LST i want connect file Server on Server ( using WinServer2003).

I just go to company so i have everything don't know system.

View 2 Replies View Related

Server :: Use The System-config-kickstart To Generate A Ks.cfg File?

Feb 1, 2010

I'm using RHEL 5.4 and trying to use the system-config-kickstart to generate a ks.cfg file with all the settings already appeneded. After running the "system-config-kickstart --generate ks.cfg" command, the file gets created but it's missing the firewall configuration, partition information and so on.

How can these settings also be generated with the system-config-kickstart?

View 1 Replies View Related

Ubuntu Servers :: Getting Config Recommendations For New File/media Server?

May 27, 2011

I'm building a new file/media server for my household to use, and would like to hear the experiences of others, and suggestions, or links to appropriate howto's. I'll be using two (2) 250 GB Western Digital RE4 drives mirrored via mdadm RAID 1 for the Operating System. The storage area will be handled by four (4) 500 GB Western Digital RE4 drives in a RAID 5 array, managed by an Areca 1210 controller.

What I'd like to configure is a basic Samba file server, on which we have individual user folders, and a shared drive. As well, I'd like to add the ability to manage our movie collection so it can be accessed by the Boxee Box attached to the television. Twonky looks promising (and I don't mind paying the $19.95 for something that works well). However, as this is new to me, there may be other solutions out there that are better, and easier to administer. Moving forward, I'd like to explore the feasibility of configuring LDAP on this machine to authenticate users on the network (perhaps even integrate the mail server somehow), and the remote users (only two) who VPN into the network using the pfSense firewall appliance. There are no Windows servers, so Active Directory is not a factor.

View 5 Replies View Related

Copyrights 2005-15, All rights reserved