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
Quote:
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 sendmail.org, 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
Quote:
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
After doing this I rebooted my server (a few days later). After rebooting I had no ipv4. I tried statically assigning IP addresses to no avail. Ran ifconfig eth0 down/up which got me nowhere. Eventually decided to ask "Okay, what changed". Started installing packages that were autoremoved. Had to install from the apt cache using dpkg. First one I tried was sendmail-base. Then did ifconfig eth0 down/up, which gave me networking back.
I have checked the dependencies for sendmail-base and I see nothing that would relate to networking, so I'm really confused on why this happened. I had backups of the server so I went a week back and noticed sendmail-base was installed at that time. So I went a day back, where sendmail-base wasn't installed, and installed it. Sure enough it brought back networking. I'm just stating this because it is more proof that sendmail-base was the missing component.
I recently modified sendmail.cf 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 sendmail.cf, 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 sendmail.cf and barfs:
I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of sendmail.cf are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another sendmail.cf on the machine and only the one in /etc/mail came up.
Why sendmail is not reading my sendmail.cf?
I'm running Sendmail version 8.14.2 on Fedora Core 8.
i have two Pc in my home , in my first pc i installed Fedora 8 and it has a ip adderss 192.168.10.1 and DNS Name client.redhat.com And in my second system i installed Rehat Enterprise Linux 5 it has a ip address 192.168.10.2 and DNS name server.redhat.com , and this is also my DNS server(192.168.10.2), and i also want to configure sendmail server on my second system and also tell me what is necessary entry should i make into my DNS forward lookup file for running sendmail server, i read lots of post
I am having problem with my Sendmail Server configuration. I had configured my send mail macros and make it. but i m having problem with "dnl"..i dont know what to put in this line.my ISP's name or localhost..? I am trying to create sendmail server with my dynamic IP address. i Just want basic configuration to use sendmail.
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.
I seem to have a send mail problem .the server is RHes3 i edited the etc/mail/mail.mc
then did [root@Mixer mail]# make -C /etc/mail make: Entering directory `/etc/mail' WARNING: 'sendmail.mc' is modified. Please install package sendmail-cf to update your configuration. WARNING: 'submit.mc' is modified. Please install package sendmail-cf to update your configuration. make: Leaving directory `/etc/mail'
I 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. #
I wrote a script that is run by cron every 5 minutes, but for some weird reason it causes my home directory to disappear for any currently logged-in sessions. If I SSH in after that, my home directory will be present but once the cron job runs it will disappear again. This is the script:
Code: if [[ `ps aux | grep '[m]otion.pid'` = "" && ! -e /tmp/ignore-motion ]]; then echo "security cameras offline" | mail -s "" xxxxxxxxxx@xxxxx.com fi
And there are a lot of these errors in /var/log/syslog: Code: Jul 14 07:51:01 burbank sendmail[16241]: p6EEp1I5016241: from=ian, size=397, class=0, nrcpts=1, msgid=<201107141451.p6EEp1I5016241@burbank>, relay=ian@localhost Jul 14 07:51:01 burbank sendmail[16251]: My unqualified host name (burbank) unknown; sleeping for retry Jul 14 07:51:01 burbank sendmail[16241]: p6EEp1I5016241: to=ian, ctladdr=ian (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30397, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Jul 14 07:52:01 burbank sendmail[16251]: unable to qualify my own domain name (burbank) -- using short name Jul 14 07:52:01 burbank sendmail[16251]: p6EEq1Pq016251: from=ian, size=397, class=0, nrcpts=1, msgid=<201107141452.p6EEq1Pq016251@burbank>, relay=ian@localhost Jul 14 07:52:01 burbank sendmail[16251]: p6EEq1Pq016251: to=ian, ctladdr=ian (1000/1000), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30397, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
I understand that sendmail is having trouble because of my hostname, but why would it cause my home directory to disappear?
I'm currently running a server at home with F13. Now I've set up my sendmail config to relay through another server because my ISP blocks outgoing email. Now recently I've noticed that they have stopped this server from relaying emails so i need to sort out another way to send out.My current sendmail config has this added which was the relay server i was using.
# "Smart" relay host (may be null)DSrelay.02broadband.co.uk
Now i either want to set up the server to email through my main ISP using a username / password or go through my main email provider Gmail.Any ideas on how to set up either on Fedora? I've seen guides for setting up gmail but never anything related to Fedora and I'm a bit stuck
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?
I have a CentOS system running. I want to get mail off it to my yahoo account.
I did a test mailx command and it goes out of the queue but never gets to my yahoo mail.
I am using a cable modem. I can go out to the Internet so I know I have a valid connection. I am guessing I need to set something up so the cable company will relay my mail for me.
I know i can pull pop mail down and sen it using my account.
Do I need to configure something in the sendmail.cf file to do this?
I just went into my email and say this ...patial msg included...
(reason: 553 5.7.1 [BL21] Connections will not be accepted from 98.249.136.1 9, because the ip is in Spamhaus's list; see [url])
I'm new to Linux which just installed a new virtual CentOS server to try RANCID to pull router configuration and I succeed to pull out the configurations as I wish, but I failed to receive a notification email from the server.After a few tries, I realize that I need to configure sendmail to work with RANCID to send an email! And I also tried to configure sendmail files, but failed..I totally blank and don't how to configure sendmail, anyone here can guide me? What is the must to configure to make sendmail to work with RANCID? Do I need to configure my server as mail server?1. A server that I configured a sendmail is called mail server?2. What is my mail server's name and domain name? . lnx-svr01.site.net, lnx-svr01 is my mail server name and site.net is my domain name
why it is that when I download the sendmail debian source package for etch and build it using dpkg-buildpackage -b -nc I get a 645543 byte sendmail executable whereas when I download the sendmail binary that is 703292 bytes.
I found this page to have the configuration of : but I have to adapt and get always errors. [URL] What are the minimum configurations so that one can do : echo test | mutt me and it sends it via msmtp and mutt one can read his emails using hte imap enabled on the account?
Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.
There are more examples of the same,around 20 domain have the same problem.
I wanted to install sendmail 8.14.5 vesion so rather than upgrading it i deleted all sendmail files and installed the sendmail 8.14.5 tar file. I followed every steps of INSTallation except associated sendmail utilities (makemap, mailstats,etc).But when i try to see rpm -q sendmail,i get the reply: package sendmail is not installed
i have sendmail & NIS working properly but i donot have centeralized authentication i.e. server user is not able to login from client Desktop and i donot get Global address book of users in mail client when accessing mail.
I'm having a trouble with sendmail on Centos. When I check the maillog, every emails is sent, but when i check my mail browser, it didn't receive the mail. This problem happens with an email address only. (the red email was not received ) This is the maillog
I'm having trouble getting my mailertable to work..We have this stupid problem on our internal network where DNS and MX records aren't really set up 100 percent correctly. Getting permission to change it, and test it are way beyond the scope of this question; So I just want sendmail to ignore what's in DNS and fire messages straight to our internal relay server (which works for dozens of other clients) - but it's not doing that. You can see that it's rewriting the addresses to user@www.domain1.com because the parent *.domain1.com is a cname to URL...(someone did this as a poor mans redirect. So if a user tries to go to a subdomain that doesn't exist, they go to the root website instead..
I have a CentOS server, and am using Sendmail to relay for various domains. However, I also need to have users send their outgoing mail via this server. I want to have them enter a username and password in Outlook, Thunderbird, etc in their smtp server settings. I currently have this set up via an Exchange server, but I cannot get it to work with Sendmail. I know little about Sendmail, and have done all the config via Webmin, which has worked fine as far as relaying domains. But even though I have added the CentOS user account for the smtp relaying, the clients mail apps give an error saying relaying denied.
l have been trying to enable masquerading in sendmail. I've started from scratch. Here's what I did: 1.My Mail Server name is "ids.com" and local hostname is "server" 2. When I send the mail from my user to other user. The mail goes with user@server All this allows me to send mail from all of my computers. Now, to get masquerading:
3. I have MASQUERADE_AS(`ids.com'), MASQUERADE_DOMAIN(`ids.com'), and FEATURE(`masquerade_entire_domain'). I also added "ids.com" to /etc/mail/local-host-names to be able to receive mail addressed to that domain. This masquerades mail originating on the server, but still the mail from the other computers has a "From:" line of the form user@hostname.
possible to run Qmail and Sendmail on one server, both on another port? I need qmail for Plesk and sendmail for OpenEMM Now qmail is working for plesk, but if I install qmail ( I tried install it also from source) and try to run sendmail, I still get this error: Starting sendmails: listener sendmail: illegal option -- q chich probably means, that there isnt full sendmail version.
I have a Centos 5.5 Server, Servername is CentOS1. It has a Forum and a HelpDesk. The Help Desk software SENDS and acknowledgement to the user and emails to all the people on the support desk. Users can reply to emails only by accessing the helpdesk NOT by mail. Thus the server is configured to only SEND mail and not to receive any mail at all.
Mail Server is Sendmail. Hosts file reads : - # Do not remove the following line, or various programs that require network functionality will fail. 127.0.0.1CentOS1.tech.xxxxx.com CentOS1 localhost.localdomain localhost ::1localhost6.localdomain6 localhost6
There is NO MX Record because this server receives NO mail, it's send only. Unfortunately, the mail it sends has a From Header which is @CentOS1.tech.xxxxx.com. I want it to send from @xxxxx.com. I've read all the howtos on Masquerading and I've tried many, many things, but with the same results. It will NOT change the From. I had it working perfectly a long time ago with a SuSE server, but I can't for the life of me remember what I did. I know I also battled a bit.
The last few lines of sendmail.mc read : - LOCAL_DOMAIN('localhost.localdomain')dnl dnl # dnl # The following example makes mail from this host and any additional dnl # specified domains appear to be sent from mydomain.com dnl # dnl MASQUERADE_AS('xxxxx.com')dnl dnl FEATURE(masquerade_envelope)dnl dnl FEATURE(masquerade_entire_domain)dnl dnl MASQUERADE_DOMAIN(localhost)dnl dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl dnl MASQUERADE_DOMAIN(CentOS1.tech.xxxxx.com)dnl dnl MASQUERADE_DOMAIN(CentOS1)dnl dnl MASQUERADE_DOMAIN(tech.xxxxx.com)dnl MAILER(smtp)dnl MAILER(procmail)dnl dnl MAILER(cyrusv2)dnl
I've tried each one of the MAQUERADE_DOMAIN in turn, none of them work and yes, I have remade it.
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..