Fedora :: Sendmail Configuration For Sending Through ISP
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
I am facing a problem while configuring a sendmail AS MY MTA.My problem is when is try to send mail from root to local user account(Any user existing in my local machine) , i m getting a unknown user error but normal users can successfully send a mail to root but root account does not.I can successfully compile a sendmail.mc without any error and sendmail deamons start successfully.When I Try to send mail from root account to local user Account , i got a Returned mail:see transcript for detail (which Has A following Detail )
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
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.
I've searched high and low for an answer. This seems so simple...
Domain = chadmccan.com Server 1 = admin.mo.chadmccan.com Server 2 = leroy.mo.chadmccan.com
Email for my domain is handled by Google Apps. MX records point there, I receive a ton of email there.I have 2 systems. admin.mo.chadmccan.com, which is designed to be the "gateway" for all services, including email.On the same network, is leroy.mo.chadmccan.com. It's just an application server, for random apps, including a webserver.I just want all of my systems to email anything that goes to "root" to blahblah@chadmccan.com relaying via admin.mo.chadmccan.com. Is this impossible?
I want to know is it possible in Sendmail to restrict some users from sending / receiving mail to / from outside world i.e. they should be able to send and receive mails only from local domain.
I have a 64bit linux server with 5 virtual hosts on it. When someone fills out a contact form on one of the sites...I get 15-20 copies of the same email. At first I thought it was the kids clicking send multiple times because the first emails were coming from the children's ministry "Email The Cast" section. But then I started getting multiples from the adult sites too. All contact forms are set to come to me.
What's stranger is that my registration section for one of the sites uses the SAME php script (different file) to email me a notification that someone has registered but I only get 1 copy of that.
Sendmail isn't sending mail for some reason and keeping it in the Queue. I attemped to flush them but it deferres the connection to the server in which it is trying to relay the message to. I have checked to see if there is a DNS error or anything like that. I attemped to flush the messages through webmin.
This is the result.
Code:
I am not finding anything in the logs to let me know their is an error. I can ping the mail servers that it is trying to send to. Now it has started delaying when ping MX servers. So I knew something was starting to mess with it. I have checked the /etc/hosts. It is correct. The server isn't black listed. Mail to root just gives me.
this is sasidhar. we are getting problems with sendmail. we have a site, when user registers we are sending a confirmation mail to user. The problem is some times it is not sending mails to users. The user accounts are valid.This is what I am getting reply to my mail
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.
reason my Debian 5 system will not stop printing blank pages. I've got the CUPS system installed, and I've gone to the control page and canceled everything. I've also turned the printer off and restarted it several times. Every time it comes back online it starts printing blank pages again. My paper does not need to be heat treated. It's fine as it is. So, how to I stop this waste of electricity and printer MTBF? What else might be sending commands to the printer besides the CUPS system?
last week while I was using ssh to the computer1 inside a NAT as usual, I made another tunnel from the computer1 that I was connecting to, to another computer2 inside that NAT (ssh 192.168.1.130) and after making some changes in computer2 I typed reboot. The computer2 rebooted but the tunnel totally hung and I had to kill it in my laptop. Since that day I haven't been able to ssh to the computer1 as I am used to.
Here is some more information:
debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Offering public key: /home/une/.ssh/id_rsa
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
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.
Since we switched our server to Squeeze, I'm receiving emails from the cron about a mysql error (...can't use locks with log tables). But this is not the issue I want to talk about here. The issue is that since the executed command is: /usr/bin/mysqlcheck -uroot -pmypassword --all-databases --check-only-changed --silent which is a command that was automatically added to the cron by the mysql package (I believe), the password is sent in clear text in the email's subject. In my sense, this is a serious security issue (sending root password in email subject...)
I don't know at what level it should be corrected, but it seems to me like it should be corrected in the Debian distrib, shouldn't it ?
And for now, how can I hide the password in the emails I receive ?
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 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'
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 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?
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 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.