General :: Email Aliases - How To Capture Some Items From Message

Jul 5, 2010

I have an email alias and I want to capture some items in the email body and put it in a database.

I'm using Linux and Bash.
In /etc/aliases I have:
bexpense: "|/usr/bin/bexpense"In /usr/bin/bexpense, I have:
#!/bin/bash
echo $1 $2 >> bexpense.out

If I just run /usr/bin/bexpense with as "bexpense test test" I get "test test" in bexpense.out. If I send email to bexpense@myserver.com, I get a blank line in bexpense.out. How do I get the subject and body of the email?

View 2 Replies


ADVERTISEMENT

Software :: Aliases - Using /etc/aliases - Does Not Get Routed To My Email

Apr 1, 2009

I am able to send a mail message to myself from a server without any problem...

But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....

Added:
root: myemail@company.com

and ran newaliases to implement it....

If I send a mail message to root, it does not get routed to my email...

View 3 Replies View Related

Debian Configuration :: Why Does /etc/aliases Choke On Email Addresses

Dec 21, 2010

Related to my last post in that it is another email issue, but something else I am having a problem with.

Debian Lenny on virtual KVM (32-bit, v5.0.7)

With Postfix it is necessary to have an alias for root, eg: root: someuser

In theory, and as far as I am aware, this can also be something like: root: someone@someaddress.tld

When I use the latter, though, the following happens whenever my system tries to redirect root email messages, but not when I use the root: someuser method in the aliases file (and, yes, I do know to use newaliases after amending the file).

The firewall is not an issue (tested with and without the firewall), nor are the resolvers, and the DNS for accounts on the box is all okay and fully propagated. Also, changing the email address to something like this.address@google.com does not work, either, - same error message.

View 2 Replies View Related

Software :: Pipe Email Using Aliases File Or Script?

Jul 26, 2010

have some problems in doing my project, my project title is ' in investigate into implementation of certification authority with small network ' ( with using Postfix, openSSL ) and i have builded up two different networks using debian and after that i need to make a mail server, so i configured Postfix and made a mail server, i can send and receive emails on both networks. now i need a shell script on received emails using Postfix, like mail is coming from outside then will go to pipe and there should a script in bash, that will run and check the email and deliver to others, or throw it away some thing like that... here are some links where i was looking

[URL]

View 1 Replies View Related

Software :: Sendmail Email Aliases Not Accepting Mail

Feb 3, 2011

Have tried to setup email aliases in sendmail so I can have multiple address pointing to one linux login. However none of the aliases seem to be accepting mail.

I get the following error message when trying to send to them.

I have tried restarting sendmail, have mapped the /etc/mail/virtusertable across to virtusertable.db with the following command.

Code:

Output of sendmail -bv is as follows and looks correct.

Code:

Have also added new domain into local-host-names file. I am stuck on what is left to check and why the messages are getting bounced back.

View 15 Replies View Related

CentOS 5 Server :: Configuring Email Aliases Per Domain?

May 13, 2009

I've got a server with several different virtual hosts on them, e.g. host1.com, host2.com, host3.com.

Is there a way I can set up an email alias just for an individual domain?

e.g. I want to set up help@host2.com, but not to have help@host1.com or help@host3.com.

I can't see how to do this in the /etc/aliases file...

View 2 Replies View Related

Fedora Security :: Send An Email Using Evolution The Message Was Not Sent But Returns A Error Message?

Apr 30, 2009

Hi I am running a fedora 10 desktop. when i send an email using evolution the message was not sent but returns a error message:"Error while performing operation.DATA command failedError: 550 Viagra SPAM - Hi in Subject" and the message did not have an attachment just plain words. what might have gone wrong for i have been using this for sometime without a problem. or what security measures should be in place to remove this viagra spamAm I infected by virus on this fedora, all my updates are up to date.

View 1 Replies View Related

Ubuntu Servers :: Use The Mail Command Line Program To Occasionally Send Log Output To Email Aliases?

Jan 27, 2011

Can anyone tell me what the pros and cons are between heirloom-mailx vs mailutils? This is for ubuntu 10.04 LTS. AT this point my only purpose is to use the mail command line program to occasionally send log output to email aliases.

View 2 Replies View Related

Ubuntu :: Setting Evolution Message Filter For New Email?

May 21, 2010

I have had a search for this problem, but have not found a match: undoubtedly it is so straightforward that no-one has needed to ask it before: I have two accounts in Evolution, work and gmail. I would like my work email (which I check via IMAP) to be copied locally as it comes in so that I can file it properly, but also kept on the server so that I can access through my laptop.

I have set a message filter which does the following:
Code:
IF
status is not read
THEN
set status read
copy to folder Inbox
Stop processing
The filter works (if I apply manually then it goes) AND I have set the preferences to apply filters automatically, but no joy when a new email arrives.

View 4 Replies View Related

Software :: Email Encryption Error - Could Not Create Message

May 25, 2010

When I use evolution to encrypt an email I get the following error

Code:
could not create message
Because "gpg: writing to `-'
gpg: DSA key AC806A0E requires a 256 bit or larger hash
gpg: signing failed: General error
", you may need to select different mail options.

Information:
Code:
# gpg --version
gpg (GnuPG) 2.0.12
libgcrypt 1.4.4
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later [URL]
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

# cat /etc/SuSE-brand
openSUSE
VERSION = 11.2
# egrep -v '^#' gpg.conf | egrep -v '^$'
require-cross-certification
keyserver hkp://keys.gnupg.net
personal-digest-preferences SHA256
cert-digest-algo SHA256

View 3 Replies View Related

Red Hat :: Oracle - Direct The Message To An Outside Email Account It Fails

May 21, 2010

We have a new test trigger that fires on an insert to a table. If the person has a personal email address on file, we want to send the notice to this email address. The trigger works fine if we send the email to an internal email account inside the firewall, but when we try to direct the message to an outside email account it fails. We are running Oracle 10.2.0.4.

We have tried to identify the mail server and port and allow messages from the Linux server (RHEL 4.2 x86-64), but we must be missing something. What steps are needed to accomplish this on Exchange 2003?

View 2 Replies View Related

Ubuntu :: Evolution Downloads Same Email Message Multiple Times From Hotmail / Fix It?

Feb 28, 2011

Evolution downloads the same email message multiple times from Hotmail

How can I fix this?

View 2 Replies View Related

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 Multimedia :: Analogue Capture Program To Capture Austar?

Aug 13, 2010

What is the best analogue capture program please to capture Austar.

View 1 Replies View Related

General :: Find Where Aliases Are Located?

Aug 5, 2011

Below are few of my questions that i am worried about.

1. alias command will list me all aliases. How to find where these aliases are located?

2. Please suggest me few resources on XWindows

View 5 Replies View Related

General :: Command Based Email Client To Send Email Through Secure Smtp?

Jul 26, 2010

In my Windows environment, I use email client such as Microsoft Outlook to connect to our email server to send email with the following configuration:

Incoming server (POP3): 995 - (requires with SSL)
Outgoing server (SMTP): 465 - (use encrypted connection SSL)

[code]....

And the mail server requires user ID login and password.how do I setup a text command based email client in my Linux (Centos 5.1) to send out email through the existing email server above, which is in another machine? The email client has to be text command based because I need to use command line to send notification email from anothar application installed in my Linux (Centos 5.1) Since the email client will only be used to send email notification, I don't require setting up of an email server in my linux.

View 2 Replies View Related

General :: Email Output Of Cron Command, Sends Email But No Content?

May 28, 2010

Using CentOS. I have a cron setup to run this command: Code: /var/test.sh | mail -s "Test Cron" mr182@somewhere.com The email is sent but the output of the script is not in the email body, it's just blank. I know there is some output because there are some echo statements in the script.I don't want to get an email for all cronjobs, just this one.

View 1 Replies View Related

General :: Copy And Forward Email To Multiple Email Servers Using Postfix?

Dec 31, 2009

I have an email setup where all of the emails from our email host is downloaded to our Linux server using Fetchmail. Then some of the incoming emails are sent to an MS exchange server (server1.domain.com) using Postfix. What i want to do is to send a copy of all emails to Another server (server2.domain.com) for redundancy.Can postfix be configured to send copies out to both?

View 1 Replies View Related

General :: Bash Aliases Lost Within Tmux

Jul 8, 2011

I just noticed that my .bashrc aliases (eg. alias www='cd ~/data/public_html') don't work from within tmux. They work fine from screen, though.

I don't think I've got anything special in ~/tmux.conf

Code:
# C-a just like in screen
unbind C-b
set -g prefix C-a

[Code].....

View 3 Replies View Related

General :: Possible To See Log Files On Browser - Setting Up Aliases?

Jul 22, 2011

I'm trying to make it possible to see my logfiles on a browser. For instance, I want to browse to [URL] and see a listing of all my logfiles. Because the logfiles reside outside of the web content directory, I'm trying to set up an Alias. Here's how I'm doing it:

Code:
Alias /logfiles /path/to/my/logfiles
<Directory /path/to/my/logfiles>
Order allow,deny
Allow from all
</Directory>
Then I restart apache /etc/init.d/httpd restart

When I browse to [URL] I get a 404. I've been online all morning looking for a solution and all I find is what I've already done. BTW, this is a RHEL 5 on a LAMP stack.

View 6 Replies View Related

General :: VI Command Mode - Aliases Only Work In RHEL4

Jul 1, 2009

When in command mode one can come out of the file temporarily by Code: :sh in command mode. When I find myself on the shell on RH 9 the aliases dont work but in RHEL 4 all aliases work like charm. Does anyone know why is it so?

View 4 Replies View Related

General :: Aliases Work After Running Sudo SU Command?

May 7, 2010

I can make aliases fine by editing the .bashrc file in my home directory, but the first thing I do when I open a terminal window is sudo su so I don't have to type sudo in front of every command. The problem is, I am then not able to use my aliases. How can I make aliases that work after I run the sudo su command?

View 2 Replies View Related

General :: Create Aliases With Echoing Text Into The Variable?

Apr 29, 2011

For example if you want to create an alias in Linux with a message echoed into the variable would the following command be; alias hello="(echo)"Hello." "? I'm trying to learn some environment variables and aliases.

View 4 Replies View Related

General :: Disabling Start Up Items?

May 24, 2010

I'm currently using Debian 5.04 Lenny, and I trying to figure out how I stop things running at boot time, in the simplest way, if possible.

In Redhat/SuSE all I had to do was 'chkconfig xxx off' and it was done, is there an equivalent in Debian? A tool or something.

To find a list of items in Redhat/SuSE all I had to do was 'chkconfig --list' and it displayed a list, is there also an equivalent for this? A tool or something.

View 3 Replies View Related

General :: Grep 2 Items In A File?

Dec 31, 2010

I have collection my routers configuration through rancid. Now i want to do the following,

Display all the files that contain the following words

C1841 AND HWIC-4ESW

I want to display all the files that contains both these words.

View 14 Replies View Related

General :: New Items On Desktop Aren't Showing Up Right Away

Apr 21, 2010

Recently, I'm having a problem with items not appearing on my desktop (at least not right away) after just being saved there, forcing me to either find them in a Konqueror window (they do show up there) or do some other unusual thing to make the desktop notice them. They used to, and as far as I know, they always should. For instance, I just took two screenshots with Ksnapshot, and told it to save them on my desktop. It saved them, but they didn't show up on the desktop. When I noticed that, I opened the desktop folder in Konqueror, and mainly to see what would happen, tried to drag the screenshot files from the Konqueror window onto the desktop (copying the files onto themselves). That made the desktop notice the files--they appeared. But of course I shouldn't have had to do it. What could be wrong?

View 1 Replies View Related

General :: Script To Remove Identical Items From Folders?

Jun 15, 2011

I am trying to do a comparison of two folders, let's call them dir1 and dir2 and remove any items that have the same file name in both folders from dir2.

View 4 Replies View Related

General :: Easy Way To Find Out Like Which Items Don't Match Between 2 Files Regardless Of Order

Mar 15, 2011

I have following 2 files

File1
10.1.1.1
10.1.2.1
10.1.3.1

File2
10.1.3.1
10.1.2.1
10.1.1.1

Both are reverse of each other. Now, basically if you see, the contents are same, but in different order. Is there any easy way in which i can find out like which items dont match between 2 files, regardless of order. Lets say i add 10.1.4.1 to File1. Now the result of such comparison should be only '10.1.4.1'. Currently if i am comparing both files using diff, it gives me all the lines.

View 2 Replies View Related

General :: Driver For Avermedia HD Capture?

Feb 23, 2010

I am searching and I cannot find a driver for http://goshopping.thestar.com/shop/p..._10056075.html

View 3 Replies View Related

General :: Capture Data On Port?

Feb 9, 2010

I have a toshiba phone system that has a feature where it spits raw data and i can direct that data to a serial port on the toshiba phone system or to an IP/PORT the data is just ascii data - tells me calls that are made/time/etc

I would like to setup an existing linux box to capture this data and store the data for me

then later i can build reports based on that data (and for me a report could be just a few cat's/greps/etc so basic stuff) - but i can figure this out later.

for now i would just like to GRAB the data on a port and dump it into a file (and recycle files every 24 hours)

View 2 Replies View Related







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