mail alias


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers mail alias
Prev   Next
# 1  
Old 11-28-2007
mail alias

Hi

Is there anyway to alias the sending mail address.

At the moment I have something like below

oracle@devora.db.uk1.inspiredbroadcast.net

and I want to do this

Legion DW - BIDB.D [oracle@devora.db.uk1.inspiredbroadcast.net]

Is this possible? Also I am trying to attach a file to the mail and have not been successful. Below is the code I am using.

uuencode ${BILL_WORKING_DIR}/$filename ${BILL_WORKING_DIR}/$filename | mail -s "Billing Group File" $location < $tmpbody

Am I doing something wrong and can someone please point me in the right direction to achieve this.

Cheers
Gary
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies

2. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

3. UNIX for Dummies Questions & Answers

Create alias files (not alias commands)

If one: $ find -name 'some expression' -type f > newfile and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory. I am... (3 Replies)
Discussion started by: Alexander4444
3 Replies

4. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

5. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

Hi The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment . cat Employee.sql SET VERIFY OFF SET PAGESIZE 200 SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies

6. Linux

mail alias problem

Hi all, well i am configuring backuppc for awhile, anyway my current problem is, i set a smarthost, configured the mail to use our ISP smtp server, and its working successfully thanks to ALLAH, now i want to set an alias for mails( it was working when it was using the local smtp server), so the... (0 Replies)
Discussion started by: XP_2600
0 Replies

7. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

8. UNIX for Dummies Questions & Answers

.forward and alias mail forwarding questions

I am trying to configure sendmail to forward email to a PHP script. I don't know UNIX and am having trouble figuring out how to forward the mail. I think this is just a bunch of basic questions, but I have had little luck getting help elsewhere on my specific questions and it's driving me nuts. You... (3 Replies)
Discussion started by: bitt3n
3 Replies

9. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
Login or Register to Ask a Question
conflict(8)						      System Manager's Manual						       conflict(8)

NAME
conflict - search for alias/password conflicts SYNOPSIS
/usr/lib/mh/conflict [-help] [-mail name] [-search directory] [aliasfiles...] OPTIONS
Prints a list of the valid options to this command. Mails the results to the specified name. Otherwise, the results are sent to the stan- dard output. Searches directories other than /usr/spool/mail, and reports anomalies in those directories. The -search switch can appear more than once in an invocation to conflict, with different directories named. DESCRIPTION
The conflict program checks to see if the interface between MH and transport system is in good shape. It also checks for maildrops in /usr/spool/mail which do not belong to a valid user. It assumes that no user name will start with a dot (.) and thus ignores files in /usr/spool/mail which begin with a dot. The conflict program checks the entries in the specified alias files. It parses the entries in the same way that post would, and outputs any errors which it finds. The program can be used to check the entries in a user's personal alias file, or in the system alias file, /usr/lib/mh/MailAliases. If no alias file is specified, conflict checks the system alias file. The conflict program also checks the /etc/group file for entries which do not belong to a valid user, and for users who do not have a valid group number. In addition, duplicate users and groups are noted. The conflict program should be run under cron, or whenever system accounting takes place. FILES
The system customization file. The system password file. The system group file. Program used to mail results, if the -mail option is used. Directory containing users' maildrops. SEE ALSO
Commands: cron(8) Files: mh-alias(4) conflict(8)