mail alias problem


 
Thread Tools Search this Thread
Operating Systems Linux mail alias problem
# 1  
Old 03-09-2010
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 backuppc send mail to backuppc, while my /etc/aliases have backuppc: myexternalmail, but its not working now with the external mail, simply i want backuppc when it mail backuppc its converted to myexternalmail@mydomain.com, is it possible ? and how ?, thanks so much.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Alias problem

Please forgive me if this is too stupid a question as I am fairly new to scripting. I have an alias in my .profile (ksh) like this: alias ff='find . -name $1' The idea is to find all files in current dir and all subdir with the name specified in the param passed. So, I issue the command:... (8 Replies)
Discussion started by: sssccc
8 Replies

2. Red Hat

alias ip problem,i canīt find out solution

hi, we have eth1; in the beginning it was proposed to create from eth1, eth1.2500 and eth1.240. It did not worked cause vlan 1.2500 was not tagged in the switch. so they decided to leave eth1 like a physical interface with eth1.2500 config (removel vlan tag) and create eth1.240 but it did... (0 Replies)
Discussion started by: pabloli150
0 Replies

3. Shell Programming and Scripting

Alias problem with awk command

Hi to all, I'm facing some problems when adding an alias like: #alias list="ls -al | awk '{ print $1, $2, $3, $4, (($5/1048576))"\t", $6, $7, $8, $9 }'" and when I enter: #list I get: Syntax Error The source line is 1. The error context is { print >>> , <<< awk:... (3 Replies)
Discussion started by: enux
3 Replies

4. OS X (Apple)

Problem using a top command alias in my profile

Hi- I am newish to the mac osx unix interface. I want to set up top so that it always displays the username. I can use this command to do this: top -ocpu -P ' PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT RSHRD RSIZE VSIZE USER' -p '$aaaa ^bbbbbbbbb $cccc $wwwwwww $ee... (1 Reply)
Discussion started by: mikey11415
1 Replies

5. Shell Programming and Scripting

Problem with alias and invisible text

okay how do i make an alias that has a space in it? for most of my other ones i've simply done within my ~/.bash_profile alias `ls`='ls -laF' but with alias `sudo su`='sh hello.sh' I'm unable to make it work in addition i was wondering how i could allow the user to type in... (1 Reply)
Discussion started by: cleansing_flame
1 Replies

6. UNIX for Dummies Questions & Answers

Alias problem

i'm trying to get the alias alias "sudo su"=`sh script.sh` whats wrong with this and how can i make an alias that has a space in it (1 Reply)
Discussion started by: cleansing_flame
1 Replies

7. UNIX for Dummies Questions & Answers

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 Is this possible? Also I am trying to attach a file to the mail and have not been successful. Below... (2 Replies)
Discussion started by: colesga
2 Replies

8. UNIX for Dummies Questions & Answers

alias problem

How can I get two commands in one alias? In my exaple it only display the current date. alias two='cal | date' (5 Replies)
Discussion started by: Mattiax
5 Replies

9. 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

10. 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
asadmin-create-javamail-resource(1AS)				   User Commands			     asadmin-create-javamail-resource(1AS)

NAME
asadmin-create-javamail-resource, create-javamail-resource - registers the JavaMail resource SYNOPSIS
create-javamail-resource --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure|-s] [--passwordfile file- name] [--terse=false] [--echo=false] [--interactive] --mailhost hostname --mailuser username --fromaddress address [--storeprotocol imap] [--storeprotocolclass com.sun.mail.imapIMAPStore] [--transprotocol smtp] [--transprotocolclass com.sun.mail.smtp.SMTPTransport] [--debug=false][--enabled=true] [--description text] [--property (name=value)[:name=value]*] jndi_name Registers the Javamail resource. This command can only be run remotely. OPTIONS
--user authorized domain application server administrative username. --password password to administer the domain application server. --host machine name where the domain application server is running. --port port number of the domain application server listening for administration requests. --secure if true, uses SSL/TLS to communicate with the domain application server. --passwordfile file containing the domain application server password. --terse indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well- formatted data for consumption by a script. --echo setting to true will echo the command line statement on the standard output. --interactive prompts you for the required options that are not already specified. --mailhost mail server host. --mailuser mail account user name. --fromaddress email address. --storeprotocol mail server stored protocol. --storeprotocolclass mail server stored protocol class name. --transprotocol mail server transport protocol. --transprotocolclass mail server transport protocol class name. --debug if set to true, server startsup in debug mode for this resource. --enabled determines whether the resource is enabled at runtime. --description text description of the Javamail resource. --property optional attribute name/value pairs for configuring the Javamail resource. OPERANDS
jndi_name JNDI name of the Javamail resource to be created. Example 1: Using create-javamail-resource asadmin> create-javamail-resource --user admin --password adminadmin --host fuyako --port 7070 --mailhost localhost --mailuser sample --fromaddress sample@sun.com mail_resourc/MyMailSession Command create-javamail-resource executed successfully Where: mail/MyMailSession is the JavaMail resource created. The escape character () is used in the --fromaddress option to distinguish the dot (.) and at sign (@). The JNDI name for a JavaMail resource customarily includes the mail/ naming subcontext. EXIT STATUS
0 command executed successfully 1 error in executing the command asadmin-delete-javamail-resource(1AS), asadmin-list-javamail-resources(1AS) J2EE 1.4 SDK March 2004 asadmin-create-javamail-resource(1AS)