Despite what the man page says, and what I have read out on the web, I cannot get the mail command to let me change the "from address"
I have tried to change the reply address (-R my@address.com)
I have tried to change the from address (-f my@address.com)
..... and so on
Anyone have any luck, from the command line (as I am setting up cron jobs) in changing the "from" address?
echo test | mail -s "This is a test" user@domain.com (this is the basic command I wish to use, but change the "from address")
I just set up a new router for our home office. I've enabled traffic logging, and I'd like to have the logs emailed to me. However, in order to configure email-notification, the router needs and outgoing mail server. Forgive me, but I don't really understand the terminology being used here. I've googled this a bit, but I'm not sure I now what "outgoing" vs "incoming" mean in the context. I tried using my gmail account as the outgoing mail server (smpt.gmail.com) but it requires TTLS encryption, and there's no option for that on my router.
So I figured I'd setup a simple mail server on my local network. I have a dedicated server machine, so I'd just configure a mail server there. But I got stumped at the first input box (in the yast module):"Outgoing Mail Server".That's what I wanted to use this server for. What is this "outgoing mail server"? I understand it in a normal emai context (I think) but this is confusing me. I've read through the HowTo on the openSUSE wiki, but it still doesn't answer this question.Isn't there some way to have a simple, local mail server (without MX records and the like) so I can send email from a local machine?
OS: CentOS 5.3 Enterprise Server Red Hat Nash Version 5.1.19.6
I need to find a command-line program to randomly change my MAC address. I know on Ubuntu there is a program called 'macchanger'. And on Windows another one called 'macshift'. I just can't find one for CentOS 5.3 Enterprise Edition.
I have recently zypper dupped to opensuse 11.4 from 11.3. My only problem is I am unable to access my address book when I click <select> when sending a new message; only recent addresses show in the window that pops up. Even if I select <all> in the list of choices, only <recent addresses> show up. In the useful tips that appear upon opening K-mail it states that if I click on < folders> then < Mailing list management> I will be able to select and manage all of my address books. But when I click on <folders> the <mailing list management> is faded telling me that it is not enabled. My question is what must I do to enable the mailing list management to be enabled? I have enabled mailman with no help.
I'd like to use the mail command to send e-mails with some log files. Is there a way to configure the SMTP server from cli or to write the IP address into a file?
On my opensuse 11.4 box (although I assume the version is irrelevant), I'm trying to figure out how to do something with the mail command. We have multiple smtp relay servers and sometimes I have to test to verify that mail is bouncing off of them successfully. On my laptop, in my main.cf file for postfix, I've got the relay server listed. But to test multiple servers, I have to change the main.cf, restart postfix, send message, and then repeat for each test.
I'm trying to figure out a way to specify the smtp relay on the command line. I've been playing with the -S option which is supposed to allow variables and one of the variables in the man page is 'smtp'. I've tried several different syntaxes but nothing seems to work.
The closest I've come is: mail -S smtp 10.1.0.63 -s "test" user@email.com < main.cf
That syntax doesn't give me an error but it still routes the message off the smtp server listed in main.cf which is not 10.1.0.63.
I want to pass ip address,port address and some parameters from command line using python script.The ip address and port address for establishing socket connection and remaining parameters to execute different connection.
I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok Now I cannont send mail through command line.
Ubuntu 10.04. I want to change the startup sound and the mail alert sound (incoming mail) for Evolution Mail Client. I go to System > Preferences > Sound, and all I get are themes preset. I do not have option to browse to wav files. I also do not see a browse option in Email Settings. Do I have to change an actual file?
I want to change the default command line editor from vim to nano, so for example when I type "visudo", I want it to user nano. In Ubuntu this can be easily done by using "update-alternatives --config editor", but openUSE doesn't have an editor-option
I Have a system,on which I have dynamic internet, I want to generate a mail to my specific mail id as exp-123@yahoo.com. Like this,to give me the information about my dynamic IP Address. I also want that if my internet reconnects then the mail must be generated to give new IP address information.
I've registered a top-level domain site.com pointing to my IPv6 address (6to4 tunnel). Everything looks ok, dig command, nslookup command shows requested output, but: I'm not able to connect to mail.site.som on 110 port. I still get an error messaged, that connection has been refused. I've populated the ip6tables with commands to open desired port but with no success. I'm listening on 25, am able to connect to this port, but not to 110.
Command netstat -an | grep "LISTEN " shows that I'm not listening on 110 port, although I'm just added this port to the firewall exceptions. Telnet to ::1/tunneled IPv6 address is successful. Postfix installed, configured properly, ping6 working. Everytime I try to send email from external domain, I'm advised that the mail domain is not pointing to A record.
I am trying to send e-mail from command line by using "mail" in fedora. It goes to e-mail server in the same network but it is refused by other outside this network with message: "..... Connection refused by name@yahoo.com ......
Despite enabling the "auto-complete" to complete an e-mail address from my personal Address-book, it doesn't work. After pressing on the "To"-button, no e-mail address is visible in the list of contacts. That is strange since the contacts are visible within the address book itself. However, when I typed the name of a contact within the "Search"-field of the address book, it also shows no result. Strange... Additional info: two days ago I replaced addressbook.db in Debian manually by the addressbook.db from Ubuntu 11.04 (I'm migrating from Ubuntu 11.04 to Debian Squeeze). It seems that there is no connection between the visible contacts in the address book and the rest of the Evolution. How can I solve it?
I have several computers at work running Fedora 12. From time to time I need to remotely connect to them, usually via ssh. Each computer is assigned an IP number automatically upon startup, however due to circumstances beyond my control they are not recognized by host name by the domain server. Therefore I require the IP addresses in order to connect rather than the host names. I have no way at present to rectify this situation.
When there is a reboot, I am not always guaranteed that the IP address will be the same as before, although in practice this is usually the case. If the IP address is changed and I am logging on remotely, I am unable to connect! I can't know the number until I am again physically sitting at the computer.
As a solution, I would like each computer to e-mail me its IP address each time it boots. My first attempt was to run a script at the end of /etc/rc.d/rc.local that runs ifconfig and places the output into a file. This file is then sent to my address using sendmail. The script works fine, but I note that the output from ifconfig at this boot stage does not contain an IP address! Obviously, it is being assigned later on in the startup process. Either that or the command ifconfig does not work the same at this stage as it does once I am logged in. I require somebody with more expertise than I to comment on that.
Finally then, my question is, at what point in the startup process is an IP address assigned and the output from ifconfig would contain this address? Is there a more appropriate place rather than rc.local in which I should run my script? Is there a more appropriate command rather than ifconfig that ought to be used instead?
---------- Post added at 05:41 PM CST ---------- Previous post was at 05:30 PM CST ----------
Let me show you my attempted solution in more detail in case you're interested. The script is called .SendIP.bash and is located in my home directory. Here's what it looks like (with some censoring to protect me from public ridicule):
#!/bin/sh # This script will send ifconfig information to my e-mail account. # This allows me to have the latest IP address assigned to this computer. cd /home/MyUserName hostname > .IPmessage date >> .IPmessage ifconfig eth0 >> .IPmessage sendmail -f$HOSTNAME MyAddress@MyCompany.com < .IPmessage
As I stated above, the output from ifconfig does not contain the IP address when my script is called from rc.local.
how to hide an ip address while sending through evolution mail so the recipient cannot see the ip in the email header?
example below: I sent an email from evolution to my gmail account and I can see my real ip address in the mail header 80.x.x.x
Authentication-Results: mx.google.com; spf=neutral (google.com: is neither permitted nor denied by best guess record for domain of email@email.com) smtp.mail=email@email.com Received: from([80.x.x.x] helo=[192.168.1.6])
I can hide my ip using a proxy but what are the other ways of doing this?
i have a linux box at work that was configed by some that has left the company. we have an email add: e.g test@test.com, if you enter that mail add to a new email it then sends the mail to several email accounts the are on the server.i would like to remove and add new users onto that email address, is there anyone out there that can help?
I have configured qmaill with mysql database and i am using squirrel mail as a webbase client. I have used qmailadmin to create users email id. user which are create using qmailadmin or vpopadmin are able to login into squirrel mail webbase client. But I am not see those user in squirrel mail global address book. please help and provide me prodedure to create global addres book where i can see all user created using qmailadmin or vpopmail.
I have setup mail server on Ubuntu 9.10 and it's is working fine.I am using Webmin to addministrate my mail server.My Ubuntu server name abcs.I send a test mail from Wedmin for user gom.Why it keep adding InfoNet. What I would like is setup as gom@abcs.com.
I wish to intercept/forward emails that is sent to one user on multi user mail server.I only want email from one specific address or group,to be redirected and it will be redirected to another user on same server.The email should not arrive in original users inbox.".forward" file can not give me such solution,because ".forward" file will forward all mails to another specific mail id,which i don't want. I want only specific users mails onto another local user.Is this possible in sendmail?Anybody have clear idea of "virtusetable" & "aliases" file?
My ISP blocks outgoing email if it does not login properly with a valid account. I successfully configured sendmail to use SMART_HOST and confAUTH_OPTIONS with confAUTH_MECHANISM set to LOGIN PLAIN.
It successfully sends email because I tested it with evolution sending through 127.0.0.1, but I need to specify myacount@mydomain.com as the email address for root.
But it doesn't work for logwatch because it sends as from root@localhost.localdomain, and my ISP's smtp server rejects it. The message I get back in root@localhost account is the following:
----- Transcript of session follows ----- ... while talking to smtp.mydomain.com.: >>> MAIL From:<root@localhost.localdomain> SIZE=581 AUTH=<> <<< 550 5.7.1 Client does not have permissions to send as this sender 554 5.0.0 Service unavailable
I thought that I should masquerade all emails from this domain, so I configured sendmail as specified in [1] section "24.3.1.4. Masquerading", but it doesn't work. It seems that masquerading in sendmail is broken or something is wrong in the documentation.
[1] [URL]
I have sendmail 8.13.8-2 and centos-release-5-4.el5.centos.1.
Is there a way to specify the "From:myacount@mydomain.com" in logwatch ? or Is there a way to make it work the masquerading in sendmail so I can masquerade everything as coming from a specific account?
I'm using crunchbang (jaunty) on an old desktop at home that I intend to use as an ssh server. I have everything set up and ready to go, I can ssh just fine if I'm on the same network (on my laptop) as the server, but when I tried remote access, I realized that I had the general IP (192.168.1.100) and that I needed to change the IP address to ssh remotely.I have tried to manually change the /etc/network/interfaces file but have only gotten confused.The question is what do I change and where in order to get a unique IP address for my ssh server to ensure a successful remote connection?
I use GNU MAC Changer. It changes my local network connection mac adress properly. But it does not changes my wireles mac adres. I try it with sudo ofcourse the error which i get is : "ERROR: Can't change MAC: interface up or not permission: Too many open files in system". I disable the wireles connection and then try to change the mac but i get the same error. I try these commands :
# ifconfig eth0 down # ifconfig eth0 hw ether 00:80:48:BA:d1:30 # ifconfig eth0 up
Some people may need to change the mac address of their ethernet network cards. This can be easily done with fedora with command line. Just follow the steps below:
1. Log as root on a textual console (ctrl+F2) or through "su -" command in your console
Here, eth0 is the ethernet interface of your system. The mac address is put in red.
3. Change your mac address using the following syntax
ifconfig eth0 hw ether 00:18:8BA:7E:90
The new value (in green) must be hexadecimal
4. if you have a dhcp server that distributes the adresses automatically, then request a new adress for your eth0 interface
[root@localhost ~]# dhclient eth0
5. Now, your interface is up and have a new mac and IP addresses. This feature may be useful if the network administrator ban you according to the mac adress, for example .........