Server :: Sendmail: Changing 'From' Address In Maillogs?
Jun 7, 2010
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.
View 1 Replies
ADVERTISEMENT
Nov 7, 2009
I am trying to change the configuration of sendmail so that I can relay mail through google smtp server as suggested here.
First I ran 'm4 sendmail,mc > sendmail.cf' with the original .mc file that came with Fedora 10. There was no error.
I added the following lines.
Quote:
TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
FEATURE(`authinfo','hash /etc/mail/auth/client-info.db')dnl
define(`SMART_HOST',`smtp.gmail.com')dnl
define(`RELAY_MAILER_ARGS�, `TCP $h 587′)
define(`ESMTP_MAILER_ARGS�, `TCP $h 587′)
I ran ''m4 sendmail,mc > sendmail.cf' again and got this message:
Quote:
m4:/usr/share/sendmail-cf/mailer/procmail.m4:33: ERROR: end of file in argument list
I did not change anything in the procmail.m4 file. What do you think caused this error?
View 3 Replies
View Related
May 4, 2010
I am having many mails transferred through my Sendmail server,but I want to configure only authorised email address through our server.optimize my mail server's configuration.
View 3 Replies
View Related
Jul 20, 2010
I have spent three days on this and am at my end so help would be greatly appreciated. I have a server running CentOS 5.5 and Sendmail 8.13.8. All works fine except for emails from Logwatch. I see this in the maillog:
Jul 20 07:49:24 ifsboss sendmail[1027]: o6K5aIc0000515: to=system@soswebs.co.za, ctladdr=<root@ifsboss.ifsdbn.co.za> (0/0), delay=00:13:06, xdelay=00:00:45, mailer=relay, pri=210540, relay=smtp.isdsl.net. [196.26.208.197], dsn=4.0.0, stat=Deferred: 451-Rejected after DATA: could not verify "From:" header address
No matter what i have done It still fails on this. To list what I have done is plenty so I thought I'd poll you experts for possible past experience that could either confirm I am on the right track, or point me to it. If I try force the mail that is stalled in the mailq I see this:
Running /var/spool/mqueue/o6I22Exm009672 (sequence 1 of 1)
<gary@soswebs.co.za>,system@soswebs.co.za... Connecting to smtp.isdsl.net. via relay...
220 smtp01.isdsl.net ESMTP Exim 4.69 Tue, 20 Jul 2010 07:53:28 +0200
>>> EHLO ifsboss.ifsdbn.co.za
[code]....
View 7 Replies
View Related
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
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
Jun 17, 2010
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 username@localhost.localdomain.
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.
View 14 Replies
View Related
Jul 18, 2010
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...?
View 4 Replies
View Related
Mar 17, 2010
I wrote/cobbled-together this nifty sendmail script to read some logs and take some disk stats. basically i'm reporting on rsnapshot. When I run it as
Code:
sudo /etc/rsnapshot/mailSta.sh
Everything works wonderful and the emails arrive as expected and fires off an email to two accounts at a remote server
View 1 Replies
View Related
Aug 20, 2010
If I need to adjust my network settings (rc.inet1.conf) on the fly, like if I need to be in the local network of a router I just bought (192.168.1.x), in order to change the subnet to the rest of my network (192.168.0.x), then I need to adjust the ip address of my slackware box. Up till now I have rewritten the rc.inet.conf file and then restarted the computer. I am almost positive that restarting is unneccesary, but I have not been successful in finding any other method. Maybe I am using the tool wrong, but I have tried using wicd to disconnect and then connect again once I change the rc.inet1.conf. I don't think it worked. I think I have also tried issuing a rc.inet1 restart. But I don't think that this changed my ip address either. How do you change your ip address on the quick without restarting your box?
View 7 Replies
View Related
Apr 12, 2011
I'm running Ubuntu server. To change the IP while I'm sitting in front of the computer, I would:
1. edit /etc/network/interfaces
2. ifdown eth0
3. ifup eth0
Remotely, I can do the first two no problem, but the ifup command causes some problems since the ethernet interface is no longer functioning. Is there some kind of script that can be written for this purpose? Maybe something that will check eth0 every so often and make sure it is running and bring it up if it isn't. Or else a script run with nohup?
I do not intend that changing the IP address will be a frequent occurrence, but when it needs to be done, it must be done reliably and without the possibility that the computer will no longer be reachable for more than a couple minutes or so.
View 3 Replies
View Related
Jul 21, 2011
If I change the primary ip address for DNS, do I need to reboot the server?
View 3 Replies
View Related
Mar 14, 2010
I am coming across a strange error with my gateway. When I do a "ping", this is what I get below:
k-63a5b848c6cb4:~ # ping simba
PING simba.gateway.2wire.net (192.168.1.69) 56(84) bytes of data.
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=1 ttl=64 time=0.041 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=2 ttl=64 time=0.029 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=3 ttl=64 time=0.023 ms
64 bytes from k-63a5b848c6cb4 (192.168.1.69): icmp_seq=4 ttl=64 time=0.015 ms
Is the gateway doing something strange?
View 3 Replies
View Related
Dec 8, 2010
My ISP allows only one computer so I have to change the mac address.
On the other computer I use ubuntu and I've changed my mac address with both ifconfig and macchanger. The internet still doesn't work, it doesn't find the connection.
What should I do ?
[URL]
View 2 Replies
View Related
Sep 3, 2010
Why changing of mac address isn't recommended? The possible reasons that I can find is:
1) it can break firewalls
2) it can break some DHCP implementations ?
Is there any other reasons that I have missed ?
View 3 Replies
View Related
Jan 24, 2011
I have a school project that requries me to bypass MAC filtering by changing my MAC address.I changed my mac address through the following:
Code:
sudo service network-manager stop
sudo ifconfig wlan0 hw ether 00:11:22:33:44:55
[code]....
View 2 Replies
View Related
Sep 30, 2009
Router: Linksys WRT54GS
NIC: D-Link DWA-645 (RangeBooster N 650 NoteBook Adapter)
i have successfully changed my MAC address. By doing:
ifconfig wlan0 down
ifconfig wlan0 hw ether AA:BB:CC:11:22:33
ifconfig wlan0 up
When I do:
ifconfig wlan0, it shows my new MAC address.
After changing, I cannot connect to the Internet. I have already disable mac filtering in my router. What did I miss out?
View 5 Replies
View Related
Mar 1, 2011
in our server, Fedora 10 64 bit in this,IP Address is automatically changing Actually IP Address is 192.168.1.50 it changing frequently.if i try to edit that to normal it is not showing options. net mask is also is changing from 255.255.255.0 to 24 After reboot the system ,through LAN it is accessible .But not through the network.
View 2 Replies
View Related
Aug 28, 2009
this seems silly but I am changing ISPs and need to change my notification email address (for here). Under User Menu -> Edit account it shows my email but does not allow me to change my email. Since I am able to post I assume I am logged in correctly. So what did I miss?
View 3 Replies
View Related
Jun 24, 2010
I am doing a test on MAC learning and for that ,I need to change my MAC address of linux machine while the interface is UP. To be more clear, consider eth1 in a fedora core 8 machine. And while the interface is UP. I am running a script which changes the MAC address from 10:1:1:1:1:1 to 50:50:50:50:50:50 (i.e 50 times MAC address is changed) . When I try to change the MAC address when the interface it UP, it gives me the following error :
siocsifhwaddr : device or resource busy
I know the way of changing the MAC address by bringing down the interface but I need to know if this can be done while the interface is UP.
View 2 Replies
View Related
Mar 31, 2009
I need to know what the Iptables "code" is to change the outgoing/Incoming IP for port 53 (DNS). I'm running CentOS on a dedicated server. I very familiar with Putty and SSH. So I don't need much details, I just can't figure this out. I asked my server providor but they deleted my ticket and didn't answer me.I tried this but am not sure if this correct of working?
View 5 Replies
View Related
Feb 21, 2009
I am using Fedora 10 and when I first installed my machine, I had a DHCP assigned address to my network card. Later on I decided that I wanted to give my machine more of a server role, so I switched to static IP using the system-config-network utility. What happened after that was that I did change the IP address and routing information, but DNS information gets lost at every reboot, so I need to type it back again.
View 5 Replies
View Related
Jun 23, 2011
I've two WLAN AP's with both a different IPv6 subnet. When I change from one AP to the other, my IPv6 Global address stays valid and so is the default IPv6 gateway. After a while I get another Global address from the second AP's subnet and another default IPv6 gateway for the second subnet. Both have the same metric. IPv6 connectivity is broken now. When I disable wireless on the laptop and reenable it, it flushes all IP addresses and receives new ones and connectivity is restored. Does anyone know if this is normal behaviour or should it normaly flush all the addresses when changing network? It's a bit silly to have to disable/enable wireless all the time..
View 4 Replies
View Related
Sep 4, 2009
I hv Cent OS 5.3 installed as server. I hv a network of approx 100 desktops and laptops. For a security purpose i want to block certain laptops from gaining a the network access using dhcp. Can we block the ip address leasing if a specific MAC address request for a ip lease?
View 7 Replies
View Related
Aug 4, 2011
If I give "ifconfig" in my laptop I get eth0,lo,wlan0.In that where do I find my Ip address in Ubuntu in 10.04. In eth0 I dont find inet address.Where can I find it?
View 2 Replies
View Related
Mar 15, 2011
i am pretty much brand new to ubuntu i have messed around with it a little and have gotten my apache2 server up and running what i have some questions on is
1. How can i give my server a actual address and not my ip address?
2. Is there any way i can put like forum software on part of it? if so how?
3. What is the best way to write web pages i know some html so thats how i was able to write what i have now just wondering what best way is
View 1 Replies
View Related
Jun 3, 2009
I want to know how to bind Ip addresses to its mac addresses in Squid Proxy
View 5 Replies
View Related
Nov 24, 2010
Im trying to setup dhcpd to put certain systems witch have mac address starting with 08:00:* in a certain ip class. How can this be done?So any system with mac address starting with 08:00 to get an ip from this range 192.168.12.2-192.168.12.99.
View 11 Replies
View Related
Oct 26, 2010
I dont know for what reason, I started having this message whenever I try to start httpd.
I commented "Listen 443", restarted httpd started correctly.
I issued "lsof -iTCP:443", I get
Quote:
I can not understand where this come from and why. It seems that it is IPV6 protocol which is in fact not enabled on the network card.
Also, I can not find or dont know where 443 is configured apart from ssl.conf or httpd.conf
Today, I have added xrdp applications in order to be able to connect using RDP.
View 3 Replies
View Related
Mar 10, 2010
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down. Unable to open logs
I am new to apache2 server i have been trying to start the server using the default httpd.conf file provided in the source code but when i give the following command sudo /usr/local/apache/bin/apachectl start i receive the above error and the server shuts down.
View 3 Replies
View Related