Debian Configuration :: Send Mail From System Commandline As Root User?

Jul 26, 2011

I tried to send mail from my debian system commandline as root user But i did not get the mail in the destination email inbox No errors was shown

View 1 Replies


ADVERTISEMENT

General :: Debian Mail Server As A User Send A Mail With Attachment Maximum Wight Is 5 Mb

Jun 8, 2011

How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.

View 3 Replies View Related

Debian Configuration :: Can't Send Email From Command Line Using Mail

Mar 17, 2010

I'm running a desktop-less version of Debian via Sun VirtualBox. The reason I'm doing this is because I don't have enough graphics or RAM power to have a desktop environment running on top of my current desktop; also, I want to learn Linux through the command prompt. I'm running the AMD64 version of Debian; I'm not sure if that's relevant.

My main goal is to be able to email useful files from the virtual Debian to my main computer, so that I can save them for later if I ever decide to do a "real" installation of Debian on this computer. I realize now that there's probably some "easy" way to do this by reading the virtual machine's hard drive, but at this point, my curiosity wants to see this issue resolved. I started off wanting to find a command-line program to send my email with, and one was built-in. The syntax ~$ sudo mail -s "Subject" email@yahoo.com "This is a test email."

C^D
Cc:C^D ~$

is what I found. I tried it, and (unsurprisingly), it failed. I then learned that the mail command calls exim4, or something along those lines, so I needed to configure exim4. Soon thereafter, I learned that Yahoo's SMTP wasn't public, but Google's was. So, I found this web page which described how to configure exim4 to allow for email to be sent to a Gmail account. I made one, and followed the page word-for-word.

I sudo-mailled a test email to my Gmail account, and nothing happened. I waited a bit longer, and still, nothing happened. Finally, I started looking around, and found out about the exim4 logs in /var/log/exim4. In my mainlog, I think that it's telling me that Google denied my connection: <date><time><random numbers and letters> == **********.gmail.com R=send_via_gmail t=gmail_smtp defer (111): Connection refused

So, now, I'm just stuck. I don't know what I did wrong, I checked my exim4.conf.template twice for spelling errors, but I don't think I made any. At this point, I can only hope that someone else has had a similar problem, or knows what I'm doing wrong (or haven't done yet).

View 14 Replies View Related

Debian Configuration :: Get Cron To Send Messages In First Place Instead Of Root?

Mar 25, 2010

The system crontab (/etc/crontab) uses the same format, except that the username for the command is specified after the time and date fields and before the command.

[code]...

Every hour, I get an e-mail complaining about the first line of the crontab:

[code]...

I get the same complaint from the other entries: It looks to me as if cron, or anacron, is trying to execute the user (root) as a command. Predictably, the shell doesn't like it, so barfs and triggers an e-mail about it. Why is this not doing what the man page says it should do? The 2nd problem I believe is related to exim, not cron. The e-mails I'm getting above are being bounced from my ISP because they are directed to root@myisp.com, rather than my regular e-mail address. When the message bounces, it bounces to my regular e-mail address. In /etc/aliases, I have root: [URL]... and in etc/email-addresses I have root: [URL]... Adding the entry to /etc/email-addresses allowed the bounce to find me because the sender's address is [URL]... but how can I get cron to send these messages to me in the first place, instead of root?

View 11 Replies View Related

Debian Configuration :: User Cannot Shutdown While Root Is Logged In

Jun 29, 2011

on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.

View 6 Replies View Related

Debian Configuration :: When User Is Admin Root Password Is Still Needed

May 7, 2015

I'm using Debian Jessie Cinnamon right now. I've got 1 user account on my machine--fred--as well as root, of course. "fred" is an administrator, and many times that is enough for root priviledges, for example, I can install packages via apt or dpkg. However, I cannot access "Users and Groups", or install packages via GDebi, with my password. For that, I have to have the root password.

I know that it is possible to let the admin account handle everything and not even need root--for example, Mint and (I believe) Ubuntu do it this way. I don't know how, though.

Code: Select allgroups fred
fred : fred cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner bluetooth

I did disable the root account by Code: Select allsudo passwd -l root to see if it would make any change. Nothing different happened except that I now can't use GDebi or access "Users and Groups" since the root account and therefore password is inactivated. Not a big deal to get it back, though.

View 10 Replies View Related

Debian Configuration :: Lost Password For Root / User Account

Apr 12, 2016

I have lost my password for my root and for my user account.

Code: Select alluser@debian:~$ su
Password:
su: Authentication failure
user@debian:~$ su
Password:
su: Authentication failure
user@debian:~$ su

I have just installed a gust debian 8 on debian 8 host in virtualbox, and when i wonted too login as su/root on the host there where no login possible, is there a way to regain the root password for the host?

View 2 Replies View Related

Debian Configuration :: Ping Fail As User Works With Root?

Oct 13, 2010

I have a very strange problem.ometimes, yes sometimes not all the time, I get a Destination Host Unreachable when I ping a computer on my network. If I switch to root using su I can ping that same computer. Here is a screen shot:

joseph@laptop:~$ ping 192.168.1.14
PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data.
From 192.168.1.9 icmp_seq=2 Destination Host Unreachable

[code]...

View 1 Replies View Related

Debian Configuration :: Non Root User Unable To Access Network

Mar 28, 2011

I upgraded a Guruplug Display machine running Lenny to Squeeze. It's running Linux on a MicroSD device, running an ARM-cpu.

# uname -a
Linux gplugD 2.6.29 #1 Wed Feb 16 17:59:04 IST 2011 armv5tejl GNU/Linux
yeri@gplugD ~ $ cat /etc/debian_version
6.0.1

However, after rebooting, every non root user was unable to access anything related to the net.This means, DHCP failed to auto start, ntp is giving errors, etc

# ntpq -p
localhost: timed out, nothing received
***Request timed out

daemon.log:

Mar 27 06:07:44 localhost ntpd[1478]: ./../lib/isc/unix/ifiter_ioctl.c:348: unexpected error:
Mar 27 06:07:44 localhost ntpd[1478]: making interface scan socket: Permission denied
Mar 27 06:07:44 localhost ntpd[1478]: Too many errors.  Shutting up.

As root:

gplugD ~ # ping 85.12.6.171 -c 1
PING 85.12.6.171 (85.12.6.171) 56(84) bytes of data.
64 bytes from 85.12.6.171: icmp_req=1 ttl=58 time=42.1 ms

[code]....

View 1 Replies View Related

Software :: Debian Mail Server Won't Send Or Receive Mail

Apr 22, 2010

i basically had this system installed for our mail system.The setup is as follows:

1. Operating system installed is Debian ver. 5.0.3

2. Roundcube is installed as a webmail(if its right for me to say that)

3. The server is hosted right here at our offices

4.The server uses relay system to send mail i.e. relays all our mails to our ISP

That all i can say about the configurations becuase thats as much as i understand it.The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.

View 5 Replies View Related

Server :: Mail Server Configuration - Send Mail To External Domain(internet)

Feb 22, 2011

There is an requirement, intranet people they may not have internet access but they want to send mail to external domain(internet),but in that intranet network one machine can have internet access. Is there any solution for this requirement.

View 2 Replies View Related

Debian Configuration :: Allow Gnome Login By Root User On A Test Machine?

May 2, 2011

Just for some testing on a test non-productive machine, how to allow Gnome login by root user on squeeze?

View 8 Replies View Related

Debian Configuration :: How To Start And Stop Asterisk Service By Non Root User

Aug 25, 2011

I am using debian squeeze server with asterisk 1.6 installed and configured.my problem is non root users need to access the server using ssh and restart asterisk server after making changes in asterisk configuration files.As of now i am giving root username/password for this process (i know it is not at all a good idea) .now how can i create a username and configure it which can only access and modify asterisk configuration files and restart asterisk server without any other privileges.

View 1 Replies View Related

Fedora Servers :: User Are Not Able To Send Mail?

Jul 12, 2011

my user are not able to send mail, in my mail server this error is showing ,

[root@aloha ~]# service MailScanner restart
Shutting down MailScanner daemons:
MailScanner: [ OK ]
incoming sendmail: [ OK ]

[Code]....

Im using fedora 7 , i dono which all services has started .

View 1 Replies View Related

Server :: Restrict User To Send Mail?

Oct 12, 2009

I want to restrict to send mail for particular allowed users of UNIX user. How can I achieve that? Which file I need to configure to allow users to send mail?

View 12 Replies View Related

Server :: Send A Mail From Outside The User Receives?

Jan 28, 2010

i have ipA -> web server
and ipB -> mail server

when i send a mail from outside the user receives it but when i send it from my web server in mail logs i get the following error

relay=[127.0.0.1] [127.0.0.1], dsn=5.1.1, stat=User unknown

View 41 Replies View Related

Debian :: No User Can Get Access To System Except Root

Jun 18, 2010

I have a system running with few users and servers (apache/mysql/postfix). After extracting one tar archive in '/home' none of my users are being able to access their home directory. Even other system users (like www-data/mysql) are also not being able to access any directory. Only root can access the system. I have checked file permissions, many files/directories are set to 777 rest are 755.

View 5 Replies View Related

General :: Block Outlook User To Send Mail?

Jun 19, 2010

I am using Qmail mailing system. Now I want to block the outlook users to send mail(SMTP). I think it can be done through qmail smtp relay option.Is it the right way to block SMTP for outlook users??

View 3 Replies View Related

Ubuntu Servers :: Postfix Configuration Can't Send E-mail

Apr 23, 2010

I am trying to make my elastix voip server to send and receive e-mails. It has built in Postfix mail server, and i tried to configure it.I am not sure about some parameters, such as domain and hostname.Either way, i will attach my config file and the errors that i get from log and mail queue as i get them from webmin.

View 7 Replies View Related

OpenSUSE Network :: Postfix Send Root Mail To External Account?

Aug 19, 2010

I want postfix to send me the root mail to an external account, but I never do it and I don't know how to do it, anyone can explain me how to do it?

View 1 Replies View Related

Networking :: Send Mail To The Root / Any Account Of A Remote UNIX Computer?

Mar 29, 2010

Sending computer runs linux. Recieving runs OS X.

View 2 Replies View Related

Server :: Unable To Send The Mail Which User Not Found In Qmail(abc.com)?

Sep 1, 2010

i have install and configure the qmail server in centos 5.4 and its working fine. i have created the domain (ex - abc.com)in qmail server and also create the user and its working fine. but i am not able to send the mail which user not found in qmail(abc.com) server, which are created on the web (at isp side or pop user)

View 1 Replies View Related

Ubuntu Servers :: Postfix Configuration - Send Mail To Other Domains

Nov 5, 2010

Let me start off by saying I am experienced with computers, though my knowledge of Linux and networking is limited. I've just recently started setting up a Ubuntu 10.04 server to be a SMTP server. I've followed this guide by the letter: [URL] What I've attempted, to test the server, is the following:

telnet localhost 25
ehlo localhost

(this returns all the desired information) I then do a MAIL FROM my domain which is accepted, and try to do a RCPT TO an external mail server (gmail) to test sending an email. I am then told 'Relay Access Denied'. I'm sure that there's something fundamental that I'm either not understanding or not doing correctly. I simply want an SMTP server that can send to other domains. What do I need to do?

View 1 Replies View Related

Server :: Bugzilla Error: Can't Send Mail To User@test.local.com

Apr 5, 2011

The thing is we have 2 servers one is bugzilla + proxy other is mailserver (internal)

The thing is when my dev team files any bug the bugzilla can't send mail to a user user@test.local.com

P.S:i am actually having problems since the sudden power cut and server restarts
the local mail server is having zimbra package installed

View 2 Replies View Related

General :: Send Mail From Domain As A User That Does Not Exist As Well As Email From Other Non-existent Domains

Jul 31, 2010

I have a server with a static IP that I use as a sendmail server. The problem is that port 25 is exposed. As a result, anybody can login to the SMTP server and send mail from my domain as a user that does not exist as well as email from other non-existant domains. I'm sure there are sendmail options that I can enable to do some checks, like if the user exists on that server or if the domain is the same on the server, etc. I was wondering if you guys can mention a few that I can add to my sendmail.mc file?

I have thought about auth login, the problem is if auth login is on my public port then I won't be able to receive email from gmail because it would be unauthenticated. Also, I only have 1 mail server. I know the ideal solution is to have 2 mail servers. One for outgoing mail/internal mail server where you can enable auth login and the other for incoming mail which just acts as the relay to the internal mail server. That way spammers can't login to send mail out. That's another question I had, how do I configure sendmail to only send email out/in?

Anyhow, so I have to make do with 1 mail server for now. So I decided to add a few rules on iptables. I grabbed the IP range that gmail uses when I receive mail from then and added it to my iptables with the following command.

[Code]....

View 2 Replies View Related

General :: How To Send Webmail From Commandline

Jan 21, 2011

I am writing a script in which I need to send a email to a @vtext.com address and was confused on how to go about this. (Its in a perl script so ideally it would be a one line command so I can just put in back ticks).

View 1 Replies View Related

Debian Configuration :: Can't Umount Ramdisk After Loading New Root File System

Feb 1, 2010

I have built a kernel with a ramdisk(ramdisk.image.gz) included. Also in the kernel command line I specified root=/dev/ram0. I am trying to use this ramdisk to load a loopback file as the root filesystem off a fat partition. This is /sbin/init from the ramdisk.

#!/bin/sh
mount -n -t msdos /dev/mmcblk0p1 /mnt
losetup /dev/loop0 /mnt/linux/linuxdsk.img
mount -t ext2 /dev/loop0 /mnt2

[Code]....

The problem is both umount and blockdev report "device is busy". I want to free up this RAM any suggestions?

View 1 Replies View Related

Debian Configuration :: Start X Server In A Read Only Root File System?

Apr 27, 2010

For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.

View 3 Replies View Related

General :: Can't Send Mail To Other Users On Same System?

Dec 27, 2010

I'm trying to send mail to other users on the same host, but they don't arrive.I've tried using mail and alpine. Both programs apparently work fine, in that they behave as expected and apparently send the email.But when logging in as the recipient, there is no mail in /var/spool/mail, and nothing in alpine INBOX

View 3 Replies View Related

Programming :: Find All The Files Not Owned By Root:root On The Commandline

Sep 9, 2010

I need a way to find all the files not owned by root:root on the commandline. How can this be done?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved