Networking :: Sendmail Configuration Work With RANCID?
Nov 14, 2010
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
View 5 Replies
ADVERTISEMENT
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
View 17 Replies
View Related
Jan 3, 2011
Posting this one in Software rather than Networking as it appears to be a Rancid/CVS/Diff issue rather than anything relating directly to Networking. Trying to pull config diffs from HP Procurve switches. Latest versions of Tcl, Expect, diff stat, and 2.3.5 Rancid. Getting random characters changes and white space changes seen as diffs. Things like ";password manager <removed>" in one config showing up in the next chrons run as "c5# ord manager". This generates a new email every time.
Since we have these going directly into our ticketing system for change control, these pile up over time and need to be parsed out from actual config changes. I've tried various diff switches in the control_rancid. Current command string in the control_rancid file is "cvs -f diff -TwbB -U 4 -ko | sed -e '/^RCS file: /d' -e/^--- /d' -e '/^+++/d' -e 's/^([-+])/1 /' >$TMP.dff" I've also tried looking in the hrancid, hlogin, and htlogin files for more hints that might be scrambling my diffs, but no luck. Here's a sample of what shows up in the ticket queue.
[Code]....
View 4 Replies
View Related
Mar 12, 2011
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
View 4 Replies
View Related
Mar 27, 2010
I'm trying to get sendmail to work with php but i can't even seem to get it to work on it's own. I'm logged in as root (su root). I have in php.ini: commented out smpt and smtp port (win 32 only it says) and sendmail_from commented out
For unix only
sendmail_path=/usr/lib/sendmail
sendmail seems to be installed i can run it from bash. I try sending an email using:
sendmail example@whatever.com
message
ctrl + D
which i saw somewhere however the email doesn't seem to go through. I've also tried (after restarting apache server) to use mail() php function and that also doesn't work. Any ideas?
View 3 Replies
View Related
Mar 26, 2009
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
View 12 Replies
View Related
Nov 14, 2010
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.
View 2 Replies
View Related
Feb 19, 2010
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])
View 9 Replies
View Related
Feb 5, 2010
me sendmail configuration steps on centos, i need to define AUTHENTICATION parameters in this configuration.
View 2 Replies
View Related
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
Feb 25, 2010
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.
View 1 Replies
View Related
Jul 7, 2010
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'
[Code]...
View 1 Replies
View Related
Dec 28, 2015
Had an issue on one of my Debian stable servers the other day. After doing apt-get upgrade I was prompted to do autotoremove.
It wanted to autotremove
Code: Select allStart-Date: 2015-12-21 16:25:05
Commandline: apt-get autoremove
Remove: sendmail-cf:amd64 (8.14.4-8), exim4-config:amd64 (4.84-8), sendmail-base:amd64 (8.14.4-8)
End-Date: 2015-12-21 16:25:07
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.
View 0 Replies
View Related
Mar 19, 2010
I'm trying to set up a PAN between two laptops to use as a transport for layer 3 communication..my problem is that it just doesnt work.
View 1 Replies
View Related
Jan 28, 2010
I used fedora12 builded mail server uning sendmail and dovecot at my home, when I at home everything are works fine, no matter I sent email to hotmail, or hotmail sent to my mail server, but I got the problem that I can't access my home server when I at office, the error messages as below:
#telnet xxx.xxx.xxx.xxx 110
-ERR Cannot connect to POP server xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx:110), connect error 10061
#telnet xxx.xxx.xxx.xxx 25
[code]....
P.S there is no firewall between the my office and home
View 3 Replies
View Related
Apr 28, 2010
I'm Trying to setup Sendmail to work with my domain in my server which is :
Code: Linux Centos 5.4 My server can send mail locally to users in my Linux Box and it can receive mails from yahoo and other mail providers in the web, but when i try to send mails to yahoo or others it send me some mail delivery message which is :
[Code]...
View 8 Replies
View Related
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
Aug 22, 2009
How can I verify the following service configuration files/setup are ok with?(in RedHat)
httpd
sendmail
ldap
DHCP
DNS
SQUID
For example, I can use "testparm" to verify the my samba configuration . I want a similar kind of testing option for the above mentioned options.
View 5 Replies
View Related
May 29, 2010
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?
View 1 Replies
View Related
Apr 14, 2010
That the Linux bridge configuration does not work afer I upgraded the kernel to 2.6.33.2. Why I can't find the device vmbr0?
[Code]...
View 10 Replies
View Related
Aug 6, 2010
I am looking for the syntax for a sendmail ruleset to log the message subject to the syslog service. I have found a few posts on the web, but none seem to work. The basic appear to be - add the following to the sendmail.mc file then compile the sendmail.cf file using M4. The syntax suggested follows (I believe the rewrite rule is incorrect)(I and using <T> to indicate tabs):
LOCAL_CONFIC
Klog syslog
HSubject:<T>$>Check_Subject
LOCAL_RULESETS
SCheck_Subject
R$*<T>$:<T>$(log Subject=$1<T>$)<T>$1
sendmail.cf compiles and when used as the config file for sendmail - everything appears to work, but no subject is logged.
View 8 Replies
View Related
Aug 3, 2010
I've been having this problem since 10.6 released, but have until now been successful with the "just use Thunderbird" response. My sendmail server hasn't been changed, but as clients upgrade from OSX 10.5 to 10.6 suddenly mail.app will no longer connects to send SMTP messages through the server. (IMAP connections to the same server using the same user/pass combinations work perfectly) When I look at the logs, things basically stop right after the STARTTLS command.
Google indicates alot of people are having similar problems, but I'm not seeing any solutions. Do any of you administrate sendmail servers where some of your clients are using Apple's Mail.app on Snow Leopard, and if so what settings are you using? At this point, I'm happy to make changes to the server to accommodate Apple's issue, I have too many Mac users connecting to my server. I just can't figure out what to change. I've enabled virtually every possible login authentication combination, and none of them work.
View 1 Replies
View Related
Jul 13, 2010
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.
#
[code].....
View 2 Replies
View Related
Apr 1, 2010
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.
View 1 Replies
View Related
Mar 15, 2010
step by step document for DNS & Sendmail configuration
View 2 Replies
View Related
Nov 15, 2010
I 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 Related
Feb 22, 2011
We have a Red Hat Linux server that sends email out daily. It points to and Exchange server for smtp. It works fine, however, at least once a day, an email will fail and in the maillog I see "No route to host". After a few minutes, everything is working fine. The Linux server and Exchange are on the same VLAN and IP subnet.
View 2 Replies
View Related
Jan 24, 2010
Sendmail will send letters OK, but they never show up. I cannot recieve with dovecot either. Everything seems to be OK, but it never works. I can send and recieve from localhost, but nothing outside.
The router is listening on 143, 110, and 25, and is forwarding just fine, or my site probably would not be visible.My HTTP site is at geekinsnthings.homelinux.org, the other address visible in the output is for anything else. THis is because geekinsnthings.homelinux.org redirects me to 8080 on my IP.
View 2 Replies
View Related
Jun 15, 2011
I have bees assigned a problem which states that :
sendmail-2: Wrong number of instances of process sendmail:, expected instances equal 1 but found 0
THats it...what exactly this means and how should i proceed for solving this problem...
View 1 Replies
View Related
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