mailing from unix -> exchange


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mailing from unix -> exchange
# 8  
Old 10-24-2002
Run the command /usr/lib/sendmail -d0.1 -bt < /dev/null and post the results. You can change your domain info to hide company info but keep it consistant.

Example:

output from command:
% /usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.11.6
Compiled with: MAP_REGEX LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND
NDBM NETINET NETUNIX NEWDB NIS NISPLUS QUEUE SCANF SMTP USERDB
XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = who1
(canonical domain name) $j = who1.mydomain.com
(subdomain name) $m = mydomain.com
(node name) $k = who1
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>

I changed what my true domain was to mydomain.com - if nothing shows up there - don't add anything to the post here.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need syntax for mailing in UNIX by using html file as body and along with attachment

Hi All, I need a syntax for mailing in unix by using html code file output as body and along with attachment (without using mutt command) HTML code file : html1.txt Attachment : attach1.txt I was using the below codes but they are not working. ( cat html1.txt ; uuencode attach1.txt... (4 Replies)
Discussion started by: Rokkesh
4 Replies

2. UNIX for Dummies Questions & Answers

Mailing file from UNIX/bash

I have a file that I want to mail out. However, I cannot get the date to print on it. I've tried the following: /usr/bin/mail -s "Lists on `date`" myname@company.com</tmp/list /usr/bin/mail -s "Lists on $(date)" myname@compancy.com</tmp/list $subj="Lists on $(date)" /usr/bin/mail -s... (3 Replies)
Discussion started by: newbie2010
3 Replies

3. Shell Programming and Scripting

exchange values in a table - exchange numbers

Hello all, This is a bit simple but I cannot do it! I have a big table of values between 0 and 1. some cells have NA instead of having any value. I want to exchange all values with "1" and write "0" for all "NA" . for changing "NA" to zero I used sed: sed -i 's/NA/0/g' input.txt But... (3 Replies)
Discussion started by: @man
3 Replies

4. UNIX for Advanced & Expert Users

Regarding mailing of logs

Hi Folks, I have an application which logs get continuously refreshed and made after every 1 second , I want that those logs get mailed to me at my email id sara@somewhere.com The location is cd /var/log/abc/log Please advise the command so that I can mail abc.log at my mailid inbox... (2 Replies)
Discussion started by: SankalpS
2 Replies

5. Shell Programming and Scripting

Mailing Script

Hi, I am totally New to This Scripting Area.We have developed some reports in Bo and User need those reports to be sent through Unix Server (SFTP). Can any one provide me script for transfering File from one location to other with the requirement like if that file fails to reach destination... (4 Replies)
Discussion started by: Sashanth_S
4 Replies

6. UNIX for Dummies Questions & Answers

Mailing in unix

is there any option to mail the value from top command directly to the user.. i want the value of cpu usage from six different servers to be send in a single mail.. thanks, Arun Manas:b: (3 Replies)
Discussion started by: arunmanas
3 Replies

7. HP-UX

[Solved] How do I configure Unix Mail Server to use another Mail Exchange Server

We have configured our mail unix server and can send out emails automatically from applications running on unix to different people in our company as well as outside our company. However there is an outside client who is not receiving these emails because the settings on their mail server cannot... (4 Replies)
Discussion started by: Tenyhwa
4 Replies

8. Shell Programming and Scripting

mailing problem in unix

I have a mailing problem in UNIX.... MAILT="$1" MAILTO=`echo $MAILT | tr ';' ','` CONTENT="/var/www/html/notifier/mailnotify_ccdb.html" SUBJECT="$2" CC="man@abc.com" BCC="ant@abc.com" ( echo "To : ${MAILTO}" echo "Cc : ${CC}" echo "Subject: $SUBJECT" echo "MIME-Version: 1.0" ... (3 Replies)
Discussion started by: rdhanek
3 Replies

9. UNIX for Advanced & Expert Users

Mailing thru UNIX shell script

Hi, I need to send an email from an UNIX shell script along with an attachment. I am working on an HP-UX 11.00 system. The only mailing program which provides adding an attachment to a mail is "pine". However pine is not installed on my system and I cannot install it too due to the server being a... (2 Replies)
Discussion started by: navin
2 Replies
Login or Register to Ask a Question
AMQP-CONSUME(1) 						 RabbitMQ C Client						   AMQP-CONSUME(1)

NAME
amqp-consume - Consume messages from a queue on an AMQP server SYNOPSIS
amqp-consume [OPTION...] {command} [args...] DESCRIPTION
amqp-consume consumes messages from a queue on an AMQP server. For each message that arrives, a receiving command is run, with the message body supplied to it on standard input. amqp-consume can consume from an existing queue, or it can create a new queue. It can optionally bind the queue to an existing exchange. By default, messages will be consumed with explicit acknowledgements. A message will only be acknowledged if the receiving command exits successfully (i.e. with an exit code of zero). The AMQP "no ack" mode (a.k.a. auto-ack mode) can be enable with the -A option. OPTIONS
-q, --queue=queue name The name of the queue to consume messages from. If the --queue option is omitted, the AMQP server will assign a unique name to the queue, and that server-assigned name will be dixsplayed on stderr; this case implies that an exclusive queue should be declared. -e, --exchange=exchange name Specifies that an exclusive queue should be declared, and bound to the given exchange. The specified exchange should already exist unless the --exchange-type option is used to request the creation of an exchange. -r, --routing-key=routing key The routing key for binding. If omitted, an empty routing key is assumed. -d, --declare Forces an exclusive queue to be declared, even when it otherwise would not be. That is, when a queue name is specified with the --queue option, but no binding to an exchange is requested with the --exchange option. -A, --no-ack=routing key Enable "no ack" mode: The AMQP server will unconditionally acknowledge each message that is delivered, regardless of whether the target command exits successfully or not. EXAMPLES
Consume messages from an existing queue "myqueue", and output the message bodies on standard output via cat: $ amqp-publish -q myqueue cat Bind a new exclusive queue to an exchange "myexch", and send each message body to the script myscript, automatically acknowledging them on the server: $ amqp-consume -A -e myexch ./myscript SEE ALSO
librabbitmq-tools(7) describes connection-related options common to all the RabbitMQ C Client tools. AUTHOR
The RabbitMQ Team <info@rabbitmq.com> RabbitMQ C Client 2011-01-01 AMQP-CONSUME(1)