General :: Command Line To Check For A Specific Email - By Subject - On An SSL Secured IMAP Server?

Feb 1, 2011

Anyone know a simple command line to check for a specific email - by subject - on an SSL secured IMAP server?

View 2 Replies


ADVERTISEMENT

Server :: Insert Counter Number In Subject Line Before Sending Email Message?

Feb 2, 2010

Did anyone heard about or can suggest mabe a postfix serverside solution in order to insert a counter number into the subject line before the message is sent?
I mean something similar with helpdesk tickets, because I would like to create the possibility for the senders, to make further refference about a speciffic message using it's counter number provided by postfix server.

View 5 Replies View Related

Ubuntu Servers :: Email Filtering By Subject Line?

Jun 8, 2010

how to set up a simple rule on the server side so emails with a certain subject just go into that user's .Trash. Right now my users will get roughly 25,000 of the same email from our corporate offices and it is destroying their email clients. I believe the mail setup is postfix and courier with virtual users. I tried googling this up but I couldn't find much current or ubuntu-specific information.

View 3 Replies View Related

Server :: Configure Mail With Postfix & Cyrus-imap - Cannot Send Mail Through Command Line

Nov 19, 2010

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.

[Code]....

View 9 Replies View Related

General :: Command To Check Specific Processes That's Using The Most IO/disk Usage?

Apr 12, 2011

Is there a command to check specific processes that's using the most IO/disk usage? I know sar and ps but I want more specific details on IO on individual processes

View 5 Replies View Related

Server :: Users Received A Spam E-mail Without Subject Line

Sep 19, 2010

I need help with header_check filter on postfix. In the last week mail users received a spam e-mail without subject line and I don't know what is the way to reject this. This is the example of message header:

From: "example@example.com"
Date: September 16, 2010 9:07:43 AM GMT-04:00
To: <example@example.com>

I want to reject e-mails that don't have Subject line

View 2 Replies View Related

General :: Send Email From Command Line?

Mar 2, 2011

I'm looking for an easy way to send basic emails for the command line. I have tried configuring sendmail and mailx, but I have yet been able to receive a test email at my remote address. I have read through a fair amount of "how to" on this but I am a little confused and obviously not doing something right. My sendmail.mc file is as follows

Code:
divert(0)dnl
VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp $')
OSTYPE(linux)dnl
DOMAIN(generic)dnl
MAILER(local)dnl
MAILER(smtp)dnl

When I try to send a test mail via

[Code]....

View 14 Replies View Related

General :: Too Broad To Describe In A Subject Line

Jul 21, 2010

I dug up an old P2 machine and loaded it with 320MB of RAM and a cheap BIOS-less RAID card using a VT6421 chipset. I attached a 1TB SATA HDD to it and booted it up with the latest gentoo minimal install disk. I have installed gentoo before. The first problem I had is that the system would hang at Scanning for sata_via.... I resolved this by booting with "nosata." This brings me to my first question: Will I be able to use my drive once the OS is installed? It seems like the answer would be yes, but I wanted to make sure.

After booting with the 'nosata' option the system would hang at scanning for pata_qdi.... I resolved this by booting with 'noload=pata_qdi.' Now the system is hanging at: attempting to mount media:- /dev/hdc I have been searching but have not found anything definate on this one. One post ( i am sorry but i forget where; i was working on this for hours) suggested that the problem is caused by the age and speed of the drive. I really don't know much about these things. Can anyone confirm this? Is there a way to make it work, or do I have to replace the drive? If I replaced the drive won't the new one just slow down to accomodate the old motherboard?

View 1 Replies View Related

General :: Command Line Email (Gmail) Setup

Sep 18, 2010

I am pretty new to C.L.I/text editing work. So maybe its a bit old-fashioned but I am interested in learning how to send email via the command line. I am running 10.04 32 bit

Situation: I have followed the explicit and step-by-step actions at http://klenwell.com/is/UbuntuCommandLineGmail

Question: Upon completion, when trying to send a test email to myself via gmail (from CLI) I get the following error: "msmtp: no recipients found". In CLI below it asks me to explicitly pick a mailx to download. I think I already have mailx as when I type mailx I get "no mail for primary".

Here is my work
Code:
:~$ sudo apt-get install msmtp mailx
[sudo] password for:
Reading package lists... Done
Building dependency tree
Reading state information... Done
msmtp is already the newest version.
Package mailx is a virtual package provided by:
mailutils 1:2.1+dfsg1-4ubuntu1
heirloom-mailx 12.4-1.1
bsd-mailx 8.1.2-0.20090911cvs-2ubuntu1

You should explicitly select one to install.
E: Package mailx has no installation candidate
:~$ gedit ~/.msmtprc
:~$ chmod 600 ~/.msmtprc
:~$ gedit ~/.mailrc
:~$ echo -e "testing email from the command line" > /tmp/test_email
:~$ mailx -s "mailx gmail test" xxxxxxx@gmail.com < /tmp/test_email
msmtp: no recipients found

Here is ~/.msmtprc
Code:
# config options: [URL]#A-user-configuration-file
defaults
logfile /tmp/msmtp.log
# gmail account
#account gmail
auth on
host smtp.gmail.com
port 587
user xxxxxx@gmail.com
password xxxxxx
from xxxxxx@gmail.com
tls on
tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt
# set default account to use (not necessary with single account)
#account default : gmail
and here is ~/.mailrc

Code:
# set smtp for mailx
# gmail account (default)
# $ mailx -s "subject line" -a /path/attachment recipient@email.com < /path/body.txt
set from="xxxxxx@gmail.com (xxxxx)"
set sendmail="/usr/bin/msmtp"
set message-sendmail-extra-arguments="-a gmail"

View 4 Replies View Related

Server :: Block Email From Certain Group To A Specific Email Address?

Apr 29, 2010

Is there a way of allowing only certain domain to send e-mails to certain specific e-mail address. I am using Sendmail, and I have an alias which translate to certain members of staff within my organization. I don't expect e-mails from outside our domain to be sent to this alias e-mail address.

View 1 Replies View Related

General :: Send Email With Attachment By Postfix From Command-line?

Dec 11, 2010

I've just setup a new Ubuntu 10.04 LTS server on linode for myself. Followed an excellent instruction at: here to finish the installation of some basic stuff including postfix.

I am trying to figure out a way to send an email to my gmail address with an attachment, but cannot find how. Already confirmed that email can reach my gmail account.

In the end I have to use mutt to send the email with attachments, probably SendEmails will also do well, but I am wondering how to do the same thing in postfix from command-line?

View 3 Replies View Related

Server :: Dropping All Email For Specific Email Address?

Jun 12, 2011

I have a user who was getting constantly spammed so I deleted their email account but it's still coming in and trying to get delivered, how do drop all email for a specific email address?

View 4 Replies View Related

Server :: Script To Grab A Specific Message From IMAP?

Feb 14, 2011

Is there some way to grab a single message from an IMAP server with a shell script? I'd prefer to avoid "scraping" an IMAP protocol session and instead use something like wget ... with some clever options.

The second half of this question involves specification of the message that I want to retrieve. Learning a specific "message number" is messy. I will likely know the TO: and maybe the FROM: details. I might also know the SUBJECT: I'm eager for your suggestions here as well.

View 4 Replies View Related

General :: Check DVD Region Code From Command Line?

May 3, 2010

Is there a way to get DVD region code from command line (linux/ubuntu 9.10)? I want to script this action and store the region code (and other data about DVD) in a log.

I am looking for the info about media, not the drive.

View 1 Replies View Related

General :: Command Line - How To Check If DVD/CD Is 32bit Or 64bit

Sep 3, 2010

Is there any command on linux to check if CD or DVD is 32bit or 64bit?

View 2 Replies View Related

General :: Check If A Directory Exists In Command Line?

Jan 21, 2010

How to check if a directory exists in Linux command line?

[Code]....

View 5 Replies View Related

Ubuntu :: Retrieve Email By POP3 Via IMAP To Home Server?

Feb 16, 2011

I want to retrieve emails from my POP3 servers to my home server. But from there, I want to be able to access them via IMAP from my other computers, i.e. desktop, laptop, phone. And then of course I want to be able to send emails from said devices via IMAP to my home server which POP3's them out to my mail servers. Basically, I have a few POP3 accounts with various hosts and I want to conveniently interact with them from lots of devices using my preferred software (i.e. Mutt, or Thunderbird on my Windows boxes). My home server is Ubuntu Server if that's relevant.

View 6 Replies View Related

CentOS 5 Server :: Connect With SMTP / IMAP And POP3 Using Email Services?

Oct 2, 2010

Having my Diploma Final Project on setting up a virtual mail server within Local Area Network (LAN) only. I had follow this how-to [URL] and complete up to squirrealmail web mail. I added two new user to try on sending and receiving mail. It works. I run CentOS on VMplayer. I using my laptop to do all the stuff, the laptop default OS is windows 7, I install VM player on it and run CentOS inside the VM Player.

I want to do testing on Windows 7 side by installing Thunderbird email client program, I want to connect to mail server with SMTP, IMAP/POP3 using the email service. I have problem while setting up user account on Thunderbird, Thunderbird seems like cannot detect my CentOS mail server. How? Do I have to do any other configuration on CentOS? Any DNS? Port number for IMAP, POP3 or SMTP?

View 1 Replies View Related

General :: How To Check Mail Server (Ready For Receiving Email)

May 8, 2011

I am writing an script for sending emails with ssmtp email client in an appropriate form.I want to know how can I check mail server that I want to send mail to it if it exist and ready to receive email or if not log an error.

View 3 Replies View Related

Ubuntu Servers :: Setting Up Secure IMAP Email Server That Is Able To Be Accessed From Outside Network?

Jun 9, 2011

Does anyone know how to go about setting up a secure IMAP email server that is able to be accessed from outside the network? Similar to how you can access your google email account from your computer using Thunderbird.

View 3 Replies View Related

General :: Push Email For POP Or IMAP?

Jan 10, 2011

Is it possible to do it like Gmail does - when a new mail arrives, it shows it without having to click "Download"? Which email CLIENT would I use?

View 14 Replies View Related

General :: Ubuntu - Package For Specific "command History" On Terminal Line?

Sep 19, 2011

Is there a package I can download for Ubuntu that would allow me to type in,for example, cd [tab key] and then it would go through the recent cd commands I've typed in?

View 2 Replies View Related

General :: Run A Specific Command From One Server To Another?

Mar 15, 2010

I want to run a specific command from one server to another. For example I have a server called A(client) and a server called B(Server). How would i fire a command on Server(B) while working on Client(A). One way of doing it is using ssh

"ssh -tq 10.180.8.231 ls -ltr"

but whenever i execute the command it ask for the password. How would i reduce effort of putting password again and again.

View 2 Replies View Related

General :: Convert An HTML Email Saved As A Text File To A PDF File From The Command Line?

Aug 23, 2011

I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.

Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?

View 1 Replies View Related

Ubuntu :: Receive Email From The Command Line?

May 20, 2011

Background: I want to send and receive emails from the command line. I'm an OS X immigrant and I don't know my way around a shell. I learned what sudo and man pages are last week. I'm hoping to learn more by doing more in the Terminal, and I check my emails a lot, so that would be a nice place to start. I've had a root around, but there doesn't seem to be much on the relevant fora or wikis to help me. The core of the problem: When I enter

Code:
$ mail
the shell returns
Code:
No mail for USER

I know that there's mail waiting for me. When I log into Gmail in my web browser, I can see it. So, I assume that the problem is that heirloom-mailx (the mail app I've installed) isn't connecting to my Gmail account for some reason. I originally also noticed that I couldn't send emails by typing

Code:
$ mail name@address.tld but I found this post, and after following the steps it outlines, I have successfully composed and sent mail from the command line. I assume that I have just missed some fundamental final step in linking my Gmail account with mailx.

Do you know what I need to do to fix this? I'm really enjoying getting to grips with Linux, and I don't want to be stopped now by what seems to be such a piffling problem.

View 9 Replies View Related

Fedora Servers :: Send Email From Command Line?

Mar 14, 2009

How to sending email from command line? Im just try send email look at below:

Code:
[root@fedora sniper]# echo "test" | mail -v -s test tazmanic76@hotmail.com
tazmanic76@hotmail.com... Connecting to [127.0.0.1] via relay...
220 localhost.localdomain ESMTP Sendmail 8.14.3/8.14.3; Sat, 14 Mar 2009 15:50:43 +0800
>>> EHLO localhost.localdomain
250-localhost.localdomain Hello localhost.localdomain [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
[Code]....

View 4 Replies View Related

Programming :: Print Images From Command Line At A Specific Size

Jan 7, 2010

I have a requirement to print images (two to be precise) from the command line of a given size and without losing too much quality.

So, I may have two images, a.jpg and b.jpg which may be 4x4" and 6x4" respectively (the sizes may vary). I need to be able to print both these on a single sheet of paper (one under the other) at a given size for each - so a may be 2x2" and b may be 3x2" - the aspect ratio will always be maintained (or as near as possible!)

I am currently doing this a very messy way (because I don't know any other way!!) - basically I am converting the picture to a given size using a set density using convert and then concatenating the two using montage.

Here is part of my script:

Code:

Don't worry too much about the case statement at the end - that is just to be able to select to print either A, B or A and B.

The issue with this is that is doesn't work great if the aspect ratio is not maintained perfectly and also, it loses quite a lot of quality on the print.

I have a very old windows app which I wrote years back in VB (o dear! ) which does the same thing and the quality is fine (I am running it through wine). I want it to be command line though because I want to run it as part of other scripts etc.

View 4 Replies View Related

General :: What Command To Use To Check What's Using All Of Ram On Server

Jul 30, 2011

I need to know what command to use to check whats using all of my ram on my server i use the top command but it doesn't show much information

View 8 Replies View Related

Programming :: Check Command Line For A Word?

May 23, 2010

I'm building a script for my place of employment. The next step in it is checking what the user input was. Determining if they added a part in there or not. The script prompts for a hostname. Hostnames are localhost.localdomain. Now, I want the script to check to see if they put localdomain and if they did, not to add the domain to the /etc/sysconfig/network, but just what they entered. So say the user inputs:

[Code]....

View 4 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







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