Sponsored Content
Top Forums Shell Programming and Scripting sendmail script throwing an error "No recipient addresses found in header" Post 302528211 by DGPickett on Monday 6th of June 2011 04:29:12 PM
Old 06-06-2011
Maybe it wants a space after the comma? Does it work for one address per line?
 

9 More Discussions You Might Find Interesting

1. Solaris

Network Path Not Found Error "Sunfire V100"

I recently got this new old server from a friend. I just installed a fresh version of Solaris 10 on it. I have put a static IP of 192.168.100.10 the server. Their is no subnetting scheme on the network. And I made the hostname "SunServ." And I also changed the folder "/etc/inet/hosts" because I... (4 Replies)
Discussion started by: louisd11
4 Replies

2. Solaris

sendmail "root... User address required." error

I'm running sendmail (8.13.8+Sun/8.13.8/Submit) solaris 10. When I send mail to root at the command line (whether I use a full-qualified address or just root), I get the error message root... User address required. Sending mail to root (either at the command line or in a cron job),... (10 Replies)
Discussion started by: csgonan
10 Replies

3. Shell Programming and Scripting

when executing .sh script in telnet error "script not found"

Hi. i have written a wrapper script which inturn call the ftp child script in it. Now the problem is when i executing the same script in my script directory through putty it is getting executed successfully;where as through telnet i get an error "scripts not found" Can some one help me... ... (1 Reply)
Discussion started by: smiley
1 Replies

4. Red Hat

"No Drives Found" error during Redhat Linux AS 4 installation

I'm trying to install Redhat LInux AS 4 update 4 on an IBM x306 series server. I keep getting following error: "No Drives Found. An error has occurred - no valid devices were found on which to create new file systems. Please check your hardware for the cause of this problem." I called IBM and... (2 Replies)
Discussion started by: pieman8080
2 Replies

5. UNIX for Dummies Questions & Answers

CRON JOB SCHEDULER throwing "option not allowed error"

Hi All, Pardon me if this turns out to be a dumb question. But I am trying to schedule a cron job for a my script which takes input options. So an entry in crontab would be something like: 1 * * * * run_report.sh -o out.csv -m monthly -e somename@email.com > cron_output.log 2> cron_error.log... (3 Replies)
Discussion started by: trueharsh
3 Replies

6. UNIX for Advanced & Expert Users

Sendmail: how to restrict delivery based on "to" or "from"?

Hello, I manage a large sendmail server that handles more than 20,000 pieces of mail per day. It's a bit unusual in that all this mail is only being sent to and from 4 local accounts. (It's an automated transaction processing system, whereby users submit a transaction via email attachment). ... (2 Replies)
Discussion started by: lupin..the..3rd
2 Replies

7. Red Hat

Could interrupt disabled cause "opreport error: No sample file found"?

Hi All I would like to profile my application with oprofile but I can't since no samples are collected. The kernel of my app is 2.6 on RED HAT Enterprise 5.3 (Tikanga) so OProfile is setup in timer interrupt mode # opcontrol --list-events Using timer interrupt. I... (0 Replies)
Discussion started by: manustone
0 Replies

8. Shell Programming and Scripting

Bash script fails with "function: not found" error

Hello everyone, I am having problems figuring this out. This script below is supposed to create a list of file names with their "md5sum", in a file "lib-list.txt" When I run it "sh component-list.sh " I get this:component-list.sh: 4: component-list.sh: function: not found component-list.sh:... (4 Replies)
Discussion started by: joemb
4 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
mh-alias(4)						     Kernel Interfaces Manual						       mh-alias(4)

NAME
mh-alias - Alias file for MH message system DESCRIPTION
Aliasing allows you to send mail to a person or group of persons without typing their complete mail address. Both your MH personal alias file and the system alias file for mail delivery, /usr/lib/mh/MailAliases, process aliases in the same way. You can specify the name of your personal alias file in your .mh_profile. A line of the alias file can have the following formats: alias : address-group alias ; address-group < alias-file The first line of the example is the standard format. The alias appears at the start of the line, followed by a colon, followed by the address or addresses that it represents. If the alias is terminated with a semicolon (;) instead of a colon (:), the mail system outputs both the alias and the address-list in the correct format. If the line starts with a <, the file named after the < is read for more alias definitions. The reading is done recursively, so a < can occur in the beginning of an alias file with the expected results. Addresses can be expressed in the following formats: alias: address1, address2, address3, ... alias: <file alias: =group alias: +group alias: * Addresses are normally given in a list, separated by a comma and one or more spaces. If the list goes over one line, you can create a con- tinuation line by placing a back-slash () immediately before the new-line character. If the address-group begins with a <, the file named after the < is read and its contents added to the address list for the alias. If the address-group starts with an =, then the file /etc/group is consulted for the group named after the =. Each login name occurring as a member of the group is added to the address list for the alias. If the address-group starts with a +, then the file /etc/group is consulted to determine the group-id of the group named after the +. Each login name occurring in the /etc/passwd file whose group-id is indicated by this group is added to the address list for the alias. If the address-group is simply *, then the file /etc/passwd is consulted and all login names with a user-id greater than a given number (usually 200) are added to the address list for the alias. Aliases are resolved at posting time in the following way. A list of all the addresses from the message is built and duplicate addresses are eliminated. If the message originated on the local host, then alias resolution is performed for those addresses in the message that have no host specified. For each line in the alias file, aliases are compared against all of the existing addresses. If there is a match, the matched alias is removed from the address list, and each new address in the address-group is added to the address list, if it is not already on the list. The alias itself is not usually output; the address-group that the alias maps to is output instead. However, if the alias is terminated with a semicolon (;) instead of a colon (:), both the alias and the address are output in the correct format. This makes replies possible, because in MH aliases and personal aliases are unknown to the mail transport system. MH alias files are expanded into the headers of messages posted. This aliasing occurs first, at posting time, without the knowledge of the message transport system. In contrast, once the message transport system is given a message to deliver to a list of addresses, for each address that appears to be local, a system-wide alias file is consulted. These aliases are not expanded into the headers of messages delivered. An alias file must not reference itself directly, or indirectly through another alias file, using the <file construct. Using Aliasing To use aliasing in MH, you need to set up a personal alias file. It can have any name, but it is usually called aliases, and is usually located in your Mail directory. To set up the file, you need to perform the following steps. First, add the following line to your .mh_profile: Aliasfile: aliases If you have chosen a different name for your file, you should use this instead of aliases. If your file is in a directory other than your Mail directory, you must supply the full pathname. Next, create the file aliases in your Mail directory. You can now start to add aliases to your aliases file. EXAMPLES
This section gives an example of an alias file, followed by an explanation of the entries: sgroup: fred, fear, freida fred: frated@UCI work-committee: <work.aliases staff: =staff wheels: +wheel everyone: * On the first line of the example, sgroup is defined as an alias for the three names frated@UCI, fear, and freida. On the second line of the example, fred is defined as an alias for frated@UCI. Next, the definition of work-committee is given by reading the file work.aliases in your Mail directory. The alias staff is defined as all users who are listed as members of the group staff in the /etc/group file. The alias wheels is defined as all users whose group-id in /etc/passwd is equal to the group wheel. Finally, the alias everyone is defined as all users with a user-id in /etc/passwd greater than 200. FILES
/usr/lib/mh/MailAliases System alias file. $HOME/.mh_profile Your user profile. RELATED INFORMATION
ali(1), send(1), whom(1), group(4), passwd(4), mh_profile(4), mtstailor(4), conflict(8), post(8) delim off mh-alias(4)
All times are GMT -4. The time now is 09:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy