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
Linux and have a western digital server (my book world edition) I can access it with Ubuntu 11.04, just by downloading Samba and then by clicking on network and the server shows up, but with Fedora 15, after I have installed Samba, I click on network and all that shows up is my router?
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'm having some difficulties setting up my ubuntu home server. I have vsftpd installed on my server, and I am able to use it perfectly when I am outside of my home. However, whenever I attempt to access my server through FTP from my desktop, it does not work. The file in question will load VERY SLOWLY to about 8% then the connection will drop out.My desktop and server are connected to the same router, and I feel as though this may be the issue.or vsftpd in a special way to access it through LAN?What I am trying to do specifically is use Comicpress (a Wordpress plugin) to upload comics to my server, with no luck.
I just built a computer that I'm going to use as a home network server for our music, pix, etc. I installed and it was working for a few minutes then just disappeared... I have no idea what happened, but here is my config file... and to note, we have 2 ubuntu desktops running on the network and 1 windows7 pc... Havent even attempted the windows part yet, so if you want to help with that too,
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.
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 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.
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 have been trying to get a home server to do what i want but just not getting there.I only need it to serve up the files to a home ( non internet ) network.I saw that filezilla also comes in a Linux version also. I am going to give it a try next. Anyone use the linux version of filezilla ? What happened did it work not work ?
I am replacing a home network - Windows Server 2003 and 5 PCs (XP Pro) with UBUNTU 10.4 LTS Server and client versions. I am keeping a couple of the PCs with dual boot until I can migrate everything over (Having some issues with iTunes, Family Tree Maker, Media serving, DVD decrypt and a couple of others, but that is for another post). It was great fun getting the server up and running using only shell commands. Took me ages just to get a folder shared! Migrating the data over from NTFS to ext3 was also fun given the limited space on the partitions.
I really only want to use the server for communal network type things ... central user account maintenance, shared folders for music, video etc and data backup. I don't need it to be performing server functions on the Internet e.g. web server etc although that may come later. How I set up central user management? All the PCs are currently setup with local user ids, and it is a bit of a pain to go round each PC every time I change something.
The server is not always up, so I need to be able to log into the local PC without it being active. I was using Active Directory on Server 2003, but I don't need anything that complex really ... just 3 or 4 users to manage. I have been looking at the setup tutorial at [URL] but am not sure how relevant a lot of it is. I have SSH setup so I can login remotely, NFS is working to share the folders, but that is about all I have done so far.
I would like my Ubuntu server to show up as a drive on my XP home machine. I have loaded samba on to the server but I can only get it to show as the printer and faxes under my work group. Also is there a way to have my Ubuntu laptop to auto mount the server when I am on my home network?
I've been using cyrus and sendmail together for a very very long time now. Just recently I upgraded to fedora 13 and now my virtual users can not send email from the /etc/sasldb2 passwords. I get in the /var/log/messages sendmail[31427]: unable to open Berkeley db /etc/sasldb2: Unknown error: Its weird that they can still log in and get email from imapd.conf
I even tried re-creating sasldb2 and sasldblistusers2 shows my two users 'one' that is also a local user account and the saslauthd authenticates when sending emails, but the virtual user 'two' can't send just only can log in to receive. /etc/sysconfig/saslauthd is set up as mech=pam. but I don't see how that would be relevant to this issue.
Currently my office use a Cisco Firewall which will only allow the ANYCONNECT utility to do the vpn connection. I found a Linux utility (OpenConnect) which will do the same thing, but allow me more flexibility with my networking needs.What I ultimately would like to have is to have a switch that I can connect any network device into it and be connected to the office. IE (my IP Work Phone and Computer) Currently I have is a computer with fedora 13 and two network cards eth0 (home network - connected to a router) and eth1 which I would like to connect a switch to. OpenConnect communicates fine and I can see the work network from the Fedora machine. It creates a vpn0 tun/tap device and I don't know how to pass communication to/from the eth1 device.
Do I try to iptables the ports for the phone and services I need on the computer? Or do I build bridge; and If I do what am I bridging. I have tried making a bridge from eth1 to vpn0 which reply's with unsupported device or something like that.Unfortunately my network skills are bit limited and my office says "it can't be done". Their solution is for me to buy a ASA5505 (or something device) and have a static IP. I would have to make it work as my router and even then it will only DHCP 10 ip addresses; which will cause a shortage of IP addresses in the house.
I'm attempting to run a DHCP server on my home network to enable PXE booting for ethernet clients, but I'm having quite a few issues getting it all up and running. I'm not entirely sure what is wrong, but I keep encountering errors in syslog as follows:
Code:
Feb 27 02:26:46 servnerr-1 dhcpd: Wrote 0 leases to leases file. Feb 27 02:26:46 servnerr-1 dhcpd: Feb 27 02:26:46 servnerr-1 dhcpd: No subnet declaration for eth0 (192.168.1.3).
[code]....
Networking is not exactly my strong suit, but I would like to get this up and running if at all possible.
Hey everyone.. I'm trying to set up a chrooted sftp account using scponly. I'm really close to having the problem cracked, but I'm hitting some kind of wall. I've been following the instructions posted here:[URL]..
Which seem to be pretty thorough and complete. Everything seems to go OK. However when I attempt to connect I get disconnected immediately. Now I know the common problem with this symptom is that /dev/null isn't set up correctly in the chroot jail, but as far as I could tell /usr/share/doc/scponly/setup_chroot set it up correctly. I even tried copying /dev/null manually, but no change.
Another weird thing. If I set my debuglevel to "2", I get no scponly log output. If I set it to 1, I do get output to auth.log, but it's very unhelpful:
Code: ==> auth.log <== Jul 22 14:18:58 pergamon sshd[20261]: Accepted password for xxxxxx from ::1 port 53239 ssh2 Jul 22 14:18:58 pergamon sshd[20261]: pam_unix(sshd:session): session opened for user xxxxxx by (uid=0) Jul 22 14:18:59 pergamon sshd[20365]: subsystem request for sftp
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 decided to upgrade finally. It didn't go smoothly and right now I'm not really sure what is going on. During the install when it was scanning my disks it threw a timeout error but continued anyway. I completed the install but one thing that seemed odd to me is that I wasn't asked about packages or anything and it never prompted me for any other CDs. I wasn't sure what was going on. I did a re-install but same results.
So I figured fine I'll just configure things myself. I went to mount my other partitions and was unable to. I'm not sure what was done but I've not been able to get to my old data. I'm not even sure where to start because things are so different. I ran fdisk -l and I see these devices:
/dev/sda /dev/sdb /dev/dm-0 /dev/dm-1
Under /dev/sda It shows /dev/sda1 but tells me that partition 1 does not end on cylinder boundary it then shows /dev/sda2. This has a System of Linux LVM. Same with my /dev/sdb1. I am guessing this is where my 2 old partitions went. I looked up LVM which I didn't know anything about before. Previously I was about to mount my partitions directly so I'm pretty sure they were not LVM. So somehow these got converted?
I don't know what /dev/dm-0 and /dev/dm-1 are but I do get errors on them:
Disk /dev/dm-0 doesn't contain a valid partition table Disk /dev/dm-1 doesn't contain a valid partition table
Right now I'm trying to simply get to my data once again or determine if it's unrecoverable. At this point I'm at a loss as to how to proceed. I know I didn't tell the install to format anything other than the first partition. Oh and after the two Fedora installs I did take a peek at Unbuntu. I started that install and it told me that the partition I was installing on was too small. So I canceled it. It showed the other partitions but I could see no way to read them.
The shortcomings of Macro Sh1te software forced me to rearrange my HDs. HD0 is the boot drive and contains MS stuff. HD1 is my Fedora drive. I ran an apparently good install onto HD1. Unfortunately, I can't get FireFox to connect to the WWW. I tried to use the admin. view to get eth0 working, without success. As I would for windoze, do I need to download and manually install a driver for the RealTek network adapter chips on my AUSA M4A785-M mobo?
Took an FC12 system to FC13 via 'preupgrade'There was a REALLY old version of gimp-print-cups in RPM, and the installer announced "a fatal error occurred". However, everything else seemed to download properly and I allowed the upgrader to reboot the system.
a) grub boots the kernel, then the kernel can't find root and panics. It does this because it can't root file system with root=UUID= kernel option. If I manually tweek the grub line to use root=/dev/sdx, kernel finds its root and boots up to the next problem.
b) GUI environment not launched. Init scripts die on "error loading modules.dep". Sure enough - one is not there. Ran "depmod" to generate it ,and rebooted. System reboots into GUI, where I login to find the next problem.
c) Evolution won't start. Reason turns out the evolution-data-server from FC12 is still present. Did a check on just how many other FC12 RPM's are present: 1100. Yeah - over 1000. About 850 of the FC12 RPM's also had FC13 replacements installed. Did an "rpm -e" on these. Also had to do some remove action on mkinitrd, nash, plymouth-scripts-0.8.0, and parted-1.9.0 as there are replacements for these utilities under different package names. That cleaned up the system some, to present me with the next problem.
d) yum package repository still linked into FC12. Removed fedora-release-12-2.noarch and then I could "yum install" evolution and a few other packages properly.
I've done one other FC12->FC13 upgrade today, and that went flawlessly. So, I think in general the upgrade works fine. It just looks like if preupgrade finds anything amiss, it doesn't take care of a lot of things and generally leaves you with an unbootable mess to clean up.
I'm new to send mail. I have a server with a public address and domain name. But I only want to implement a small sendmail network on our 20-user LAN. Can I turn my public server into a sendmail server? Are there any simple step-by-step instructions for this?
I have an ssh server running at home and I'd like to be able to connect to it from an internet cafe that wont let me run putty or java applets. Is there any way to ssh into my home machine through a browser? The only solutions I could find where java based. In theory, would it be possible to open an ssh connection that reads and writes to a file, and then make a cgi script that writes commands to the file and formats the output to html?
I recently switched a computer running PCLinuxOS over to Fedora 12. I used to have PCLinuxOS set up as an SSH server so that I could quickly and easily share files with other computers in the house. Since the switch, other computers cannot connect to the SSH server unless I use sudo. I cannot set up a network connection in the GUI; "Unable to connect to server. Please check your settings and try again". Same thing happens if I use the ssh command without sudo. Is Fedora blocking something?