I have a ubuntu server 9.10 installed with exim4 as MTA. I configured a mail address on it (let's say email@example.com). Before i had it working i had a other email configured (let's say firstname.lastname@example.org). At the time i had this one it didn't work i removed exim4.
Now i can successfully send mails with it by the configured email@example.com. I also configured the password for this, but when i receive the mail the old configured mail is presented as "from" (so from: firstname.lastname@example.org).
Anyone knows how this can be changed so it says the mail is from email@example.com? The mail is not an alias, and in a mail client they work separately.
I'm running xmail 1.26 on centos. Everything is working fine except getting email from cron for jobs that output stuff (I am getting the daily logwatch which contains the jobs ran and "MAIL sending errors X Time(s)", where X varies (today, that X is going to be very high))
The xmail sendmail replacement is setup according to docs (AFAIK) and looks like this:
The sendmail.xmail script looks like this:
Now, when the cron runs the job (it's just a script that verifies if the actual job is running and if not it starts it, outputting that it did so), things will look like this (pstree output):
Cron log on system says something like this:
The sent bytes varies depending on which script generates the error.
I have this server that runs Tomcat . this server sends mail with localhost as MTAthe local MTA is sendmail (with the default settings) . from time to time i have this strange thing and the emails it sends never reach the destination. the log shows it left the server , but looking at the logi see that the time on the log is wrong . sometime its correct and ometines its +2 hours. i guess this email are bounced at the destinationfor sending at future time . all this email that didnt reach the destination have this in common
We're using mutt to send out a daily email through cron. The only problem is that half the people aren't getting it, because its getting rejected as coming from an invalid address. Right now its sending out as firstname.lastname@example.org.
How can I change this? I found the sendmail.cf, which I believe previous people have been editing directly, which from what I read isn't the best way to configure sendmail.
I have my system set up with sendmail (going through my ISP SMTP server) but when I sent an email using sendmail it was defaulting the from address to user.host.domain or something similar. So I read up about masquerading [URL] and managed to get it to USERNAME@myisp.com however I want to change USERNAME to a different value because my ISP username is different from my machine username. My aim is just to get the from address to be [URL]. This machine is only used by me so I don't need it to be different for different users if that makes things any easier...?
Is there any way where I can change the "from" address in the maillogs without changing the envelop sender.
We have email users using smtp-auth with multiple email accounts but authenticating against single user account.So whenever a user sends mails through our server from any one of his multiple mail accounts,I want to be able to change the "From address" to the user he is authenticating against instead of the "from address" which he supplies, in the maillogs.
We have mimedefang running on our system,I tried using things like change_envelope_sender functions,but it only changed the envelope sender and did'nt change anything in the maillogs.
my network expertise is tenuous at best. This started because one computer on my network is having trouble updating Google Toolbar information. This is a laptop which joins other wifi networks outside of the house.
I updated Kubuntu from 8.10 to 9.04. After the update, I saw a problem with VPN connections. I am using an mac pro with 2 ethernet ports. Only one of them is connected to switch. I am using a static IP in my local network. The problem is that I lose dns information after connecting and disconnecting to a VPN by KVpns.As I am using static ip, I entered my dns server to resolv.conf file with "nameserver 192.168.128.4". My interfaces file is as follows:
I'm trying to get dhcpd to use a specific IP address as the source address for responses it uses an IP address for. I coded "local-address 172.30.0.4" in the config file. For some responses it uses this address. For some other responses it does not. In those cases it uses the IP address that is the first on the interface. Is there another configuration I should be using, instead?
I have an HP Pavilion A6750F with an AMD Phenom 9650 Quad Core. 8 GB memoryThe NIC is a REALTEC Semiconductor RLT8111/81688 PCI Express Gigabit Ethernet Controller.The actual MAC address for the NIC is 00:24:21:55:DE:40I have loaded CentOS 5.3 on this host three of four times in various configurations and patching levels.THE PROBLEM: The system identifies the NIC as having MAC FE:FF:FF:FF:FF:FF.When this happens, the network connectivity obviously stops working.It identifies everything else OK, just maps the wrong MAC.I'm no sure how to troubleshoot this problem. I tried rebooting a couple times and once that fixed it. Usually it does not. I reloaded (gasp) Windows Vista on it and it worked ok.This last time, I reloaded CentOS it hung on the bootup (ASK ??), I reset it, it rebooted and everything looks ok; for now. The system says it is presently using driver r8169
Ubuntu server 10.04:I had webmin installed on my server, but I found it was using too many resources for what it offered, so I went ahead and uninstalled it. I'm not sure exactly which version it was, but it was the most recent version a month ago. I ran the uninstaller which ships with webmin.Well, now everyday my root account gets the following email:
From root@DOMAIN.com Mon Oct 18 00:42:01 2010 Return-Path: <root@DOMAIN.com> Date: Mon, 18 Oct 2010 00:42:01 -0400
I am running a headless Ubuntu server accessed through Webmin. The server is running 10.4.2 64 bit version. I have a number of cron jobs including a simple back-up job which is: Code: rsync -av /media/server/ /media/backup/backup/ All of the other jobs run fine but for some reason this job which is scheduled to run each day at midnight does not run. If I SSH into the server and run the job manually it works fine.
I recently inherited an Ubuntu server where the previous admin had installed sendmail and FCheck IDS.The issue I am encountering is that sendmail appears to be rewriting both /etc/mail/m4/dialup.m4 and /etc/mail/sendmail.cf constantly (at least once per hour).dailup.m4 never seems to change (other then the creation date), while sendmail.cf has the line describing who and when it was built changed.So far I have had no luck tracking down why sendmail would be rewriting these files.
I'm trying to setup a cron with screen. the purpose of running screen is because i want to resume to see the status of the job while it is running. anyone can enlighten me how i should setup my cron. I've tested with
I'm with Ubuntu server 10.10. I created a script and put it in /etc/cron.daily. But looks it doesn't run (it didn't generate any log). The following is all I did. Code: root@chonseng1:/var/log# cat /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don't have to run the `crontab' command to install the new version when you edit this file and files in /etc/cron.d. These files also have username fields, that none of the other crontabs do. SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# m h dom mon dow user command 17 * * * * root cd / && run-parts --report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) 47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ) 52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ) # root@chonseng1:/var/log# ls -l /etc/cron.daily/ntpdate -rwxr-xr-x 1 root root 52 2011-02-18 13:22 /etc/cron.daily/ntpdate root@chonseng1:/var/log# cat /etc/cron.daily/ntpdate ntpdate ntp.ubuntu.com >>/var/log/ntpdate.log 2>&1
I am using my ubuntu server as my home router.Everything is working as expected with one exception.y DSL modem is a POS and every now and again it looses connection to the router. Sometimes it needs to be reset and sometimes it does not.Either way, when this happens my ubuntu server needs to reacquire an IP from my ISP. If it screws up when I'm at home it's no big deal, but if it happens when I'm not around my housemates have taken to hitting the reset switch on the server. I'm not a big fan of this so I wrote a script to ping my ISP's gateway. If it's unavailable it bounces the eth0 interface and tries to get an IP. I am running this script every couple of minutes in a cron job. Now I'm getting syslog entries like
Code: Aug 9 20:31:01 portal CRON: (root) CMD (/opt/ChkAndFixNetwork.sh) every few minutes. This is annoying and makes the logs useless for troubleshooting. I
When I use sendmail (or, most commonly, a PHP or Perl script uses it) to send to any other domain except my own, it works great. When I use it to send to my own domain, however, it's trying to deliver it to localhost. Problem is, all our mail is handled by an Exchange server on a different machine, so I really don't want If I run sendmail manually for a test message to myself, here's how it comes up after the message is closed out:
echo "Subject: test" | /usr/sbin/sendmail -v email@example.com 354 Enter mail, end with "." on a line by itself >>> . 050 <firstname.lastname@example.org>... Connecting to local...
The message then gets dropped into my box at /var/mail/xxxx, but that's really not helpful to me -- I need to to connect to that other machine to deliver the mail there. This machine isn't used as a mail server at all. Also, if it's trying to send to a username that doesn't have an account on this server (we have many), it just fails entirely with "user unknown" (that makes sense, as there are only a couple of user accounts on the web server). how to get sendmail to connect to our mail server instead of "local"?