I am attempting to use sendmail out of the box in fedora 12 (maybe my first mistake? Is there anything which needs setting up?). My impression of how to use this (based on tutorials on the internet and reading the man page) is that you do something like the following:
[Code]...
I don't really know if this is right, but I can't find any sites that say otherwise. This is based mostly on looking at a couple bash scripts I read, which seemed to do this. Obviously, however, this doesn't work. Is there anyone out there who knows what I'm doing wrong.
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
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.
I am trying to setup sendmail on a fc10 box with dovecot running imap. I have everything configured and running on the server. For example, when I run "echo 'test' | mail -s test user@mydomain.com" or even to someuser@gmail.com, the mail goes through just fine. I can then reply from both of those accounts back to the server, no problem.
Relaying denied Cannot send mail. The SMTP server does not recognize any of the authentication methods supported by Entourage. Try changing the SMTP authentication options in Account settings or contact your network administrator.
browser just crashed trying to upload the config file at the end, so I fi miss something, sorry.I have been trying over the past few days to get either postfix or sendmail to properly forward my emails. I have made an entry in virtusers (for both postfix and sendmail) as:[URL]..I know that they these files are mapped correctly because I did an entry of:[URL].. that worked, it sent it to root's mailbox. I got this to work in both sendmail of postfix. What the problem is that when I point it to an external domain (ex. name@gmail.com), it fails, and the email gets lost somewhere on my server (I have yet to fine where they are going). The other thing I noticed is when I send an email from my server (via php) and send it to test (or whatever)@example.com the catchall works, and sends the email to my gmail address. Is this virtuser only applicable for outgoing email? Or is something else wrong?
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 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 updated sendmail during a routine set of updates. I found it replaced my old sendmail with sendmail+tcpwrappers. I had to create an entry in hosts.allow as my hosts.deny was set to deny all. Never had to do this before, but I had not updated sendmail in a while. Just a heads up in case anyone else is about to perform updates.
I'm running a fresh F12 server configuration install from DVD, and I'm having some issues with getting sendmail to actually function when called from a php script..
I'm using a mail() function in php run by apache. The httpd error log reports.
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 am running Fedora 10 and working with sendmail to send messages via various scripts. I've gotten everything working and under normal circumstances the messages get delivered as expected. However when I reboot my computer, all mail designated for sendmail gets hung up in the queue. I've confirmed that sendmail is set to start on boot (runlevel 5) and I've checked for the existence of sendmail processes (they indeed exist after boot).
However, if I restart the sendmail daemon manually, everything in the queue gets sent and I get flooded with a backlog of emails from the past several hours (or days). Is there a reason or common problem as to why sendmail doesn't actually process mail after startup and why manually restarting the process seems to solve the problem? Is this a bug in sendmail? /var/log/maillog doesn't reveal anything out of the ordinary.
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?
That is how I have the entry in the genericstableWhen he sends mail, it comes from USER1@MYDOMAIN.COM, so I have the domain rewrite correct. The forward mapping in virtusertable works fine as well - he gets all mail redirected to the user1 account as specified.My sendmail.mc file has this:
divert(-1)dnl include(`/usr/share/sendmail-cf/m4/cf.m4')dnl VERSIONID(`setup for linux')dnl
I have fedora running as our email server at work using sendmail. It used to have spamassassin and MailScanner installed, but one of those died over the weekend and killed the mail server. We do not need either of these as we are using a web based spam filter now (postini), so I tried removing these. I have discovered that the mail is in the mqueue waiting for delivery to the users mailboxes. I have tried using "sendmail -q -v":
Code: Running /var/spool/mqueue/n51Jx6Gg023820 (sequence 1 of 1174) <abaughman@grandproductsinc.com>... Connecting to local... <abaughman@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL
Running /var/spool/mqueue/n51JsuRe023619 (sequence 2 of 1174) <ksullivan@grandproductsinc.com>... Connecting to local... <ksullivan@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL .....
I do not have a procmail config file: /etc/procmailrc. I am not sure why, or what it should be, perhaps that is the problem. I guess I don't exactly know how this server runs all that well. I was able to get it up and running but never understood it enough to now find what is not working correctly.
Regarding few things I am facing problem : 1. How to send one copy of that outgoing mail generated from the source. It should cc to another mail id in server's backend while mail sending. 2. I don't have any domain - internally or externally. Only have static ip, accessible from outside. Can I configure sendmail to send-receive through that ip. 3. How to transfer all mails and addressbook from exchange server to linux sendmail server.
I'm running FC10, with the sendmail that was part of it in Feb 09. Anyway, Up till now I've been using the user client to do spam filtering, But I'd like to start catching the spam at the sendmail level. What are my options today? I tried searching the forums and found a bunch of threads from 2001-2006, but I figured many of the ideas are now longer vaild.
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 have a rather interesting issue. I have set up a home network and a fedora 14 box as a server. I am running the version of Sendmail that came with fedora 14. I wrote a PHP script that changes http access passwords(to give authorized access to the outside by multiple users) once a week and emails the users their new passwords. It also finds out my WAN IP (because it is dynamic, and I am using a Linksys router with NAT), and E-Mails users when this has changed along with the new access password. I have Sendmail set up so that it should log on to my websites mail server (smtp.example.net) and send the email through it.
The problem I am having is that I have set up my home server with an internal domain like exampledomain.home, but the wan IP reverse lookup returns xx.xxx.xxx.xxx.static.xxx.xx.charter.com, so that when my sendmail server connects to my smtp server for my website it gives "EHLO server.exampledomain.home" then my smtp server rejects it because the connecting IP (WAN IP) resolves toxxx.xxx.xxx.xxx.static.opls.la.charter.com gives a host not found error. Or it gives the error because server.exampledomain.home is obviously not a valid host name on the internet. I was hoping someone out there had some insight on how I could get around this without editing or adding any DNS entries to my websites domain. I would also like to avoid getting a static IP for my house as it is more expensive. I thought about making a dynamic DNS entry with dyndns.com and then making Sendmail use that host name. I dont know how to trick sendmail like that though.Here is a copy of my sendmail.mc (scrubbed of course).
divert(-1)dnl dnl # dnl # This is the sendmail macro config file for m4. If you make changes to
Just upgraded to F15 and I cannot seem to get the sendmail service starting at boot time.It starts and works just fine by hand after boot, so there's nothing wrong with the sendmail configuration itself."runlevel" shows a current run level of 5 and "chkconfig" shows sendmail on for run level 5.All the other mail service (mailman, clamd, etc.) start fine.Doing "service sendmail start" after boot gets everything up and running just fine, but itsure would be nice to have it run at boot like it used to
i have fedora5 installed on my machine MACH1, which acts as a linux server for few machines. Its over network and we have a dedicated mail server too which is globally accessible. I wanted to set up a local mail server on MACH1, so that i shall be able to send/receive mails from all the users as well as to our other global mail server(on internet).
I found 2 previous posts, one from 2005 and one from 2006. The 2005 post was not very helpful and the 2006 threads are not exactly what I was expecting. So I wanted to ask the question to be sure. I have already stood up the new fedora 12 server. The old server is also fedora 12. I need to migrate local users and sendmail mailboxes. In the past couple of years the environment was small enough to create a copy of the users and then have the users mail themselves, but I want to start migrating users/mailboxes properly.
On a unix level I am a jr admin, but I have extensive senior level experience as a windows engineer and network engineer. I do feel comfortable with using the unix command line, but usually operate the unix systems thru webmin because I am not familular with more complex commands. Ideally a software solution to migrate users and/or mailboxes from one server to another is what I am looking for, but in leiu of a software solution I still need to migrate user accounts and their mailboxes. LDAP is not in place, but if the process becomes easier with LDAP I am willing to do what is needed to set up LDAP. (I have no previous experience setting up LDAP)
I do not want to change my mail server from sendmail to different software. At least right now. Both systems are up and running. They can connect to each other via public ipv4 address' only. The new server has already been installed and configured with all the software to match the old server. How do I migrate users and sendmail mailboxes from one fedora 12 server to another fedora 12 server?
I wish to setup an email server, using sendmail and DOVECOT on F13 With no modification of the DOVECOT config file ( fresh installation ), I can see that :
service dovecot restart shows me : service imap stop service imap start
the sendmail packages on my f15 server were updated from 8.14.4-20 to 8.14.5-1 yesterday. since then, every attempt to send mail via a smart relay have failed with :
Jun 25 14:05:10 server sendmail[23512]: p5PD59jr023512: from=root, size=208, class=0, nrcpts=1, msgid=<201106251305.p5PD59jr023512@server.{fromdom ain}>, relay=root@localhost Jun 25 14:05:10 server sendmail[23513]: p5PD5A8l023513: from=<root@server.{fromdomain}>, size=480,
[code]....
i've tried using various different smtp relays and they all now throw the same error. without going through all my sendmail config, i have the following entries in /etc/mail/sendmail.mc :
I have configured sendmail server on my Rhel5 machine.i just wanted to know whether i can connect my machine with internet and send my mails through sendmail.
I have changed over to AT&T U-verse. I need help getting my sendmail able to send out.
From AT&T website Incoming mail port number: 995 (make sure secure connection (SSL) is checked) Outgoing mail port number: 465 (make sure secure connection (SSL) is checked)
how to setup sendmail to use SSL , userid,password and port 465 ?
I have an issue with sendmail. I need to configure sendmail to send email from command prompt to any domain. This is just for the notification purpose. I installed sendmail and sendmail-cf and sm-client. The following are the configuration I have done.