Sponsored Content
Full Discussion: Sendmail - Any Ideas?
Top Forums UNIX for Advanced & Expert Users Sendmail - Any Ideas? Post 302499943 by mikey2003ma on Friday 25th of February 2011 06:30:36 PM
Old 02-25-2011
Sendmail - Any Ideas?

I have solaris 9 and am using sendmail to pickup requests and forward them to a bulk mail server on a different port. Now for the fun...In sendmail, I need to find a way to place a default address in the Mail From: and Rcpt To: or remove them as required - These will be picked up by the bulk mail sender and sent out. (Sendmail is in between to act as a buffer to a flexible SMTP Connection) Any ideas ? Thanks!
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Any Ideas?

I have several staging directories on my UNIX server. /usr2/data1 /usr2/data2 /usr2/data3 /usr2/data4 /usr2/data5 /usr2/data6 In these directories a file is transferred from different PC's connected to the network via TCP/IP. The File name is constant for all directories. Transfers... (1 Reply)
Discussion started by: Docboyeee
1 Replies

2. Cybersecurity

Any Ideas !!!!!!!!!!

Hi, I installed sybase server on a LINUX server. I assigen port 2025 whilst installation for sybase , later i uninstalled sybase and when i try to reinstall sybase and use port 2025 it throw up error saying that it is already in use, use other port number. How can I re-use the same port number... (2 Replies)
Discussion started by: suda
2 Replies

3. Shell Programming and Scripting

any ideas?

i need to compare to dates/times given in the format MMDDhhmmYY. That is month, day, hour, minute, year. It is a 24 hour clock. I need to compare two dates to check that they are, say, less than 900 seconds apart. I have got to a point where it checks the time, turns the values into seconds and... (5 Replies)
Discussion started by: fwabbly
5 Replies

4. Shell Programming and Scripting

Scripting ideas?

Hi All, How can I script the following logic? Step 1: Check if the file xyz.txt exists under direcotry test and if the size of the file xyz.txt is greater than 32MB. Step 2: If the above conditions are true(file exists and size >32 MB), then step 3, otherwise step 4 (file does not exist or... (2 Replies)
Discussion started by: Sueyoung88
2 Replies

5. UNIX and Linux Applications

Need ideas for graduation project based on unix or linux Need ideas for graduation project based on

Dear all, i am in last year of electronics department in engineering faculty i need suggestions for a graduation project based on unix or free bsd or linux and electronics "embedded linux " i think about embedded unix for example or device drivers please i need helps (1 Reply)
Discussion started by: MOHA-1
1 Replies

6. Shell Programming and Scripting

Ideas for while loop

idealy, i'd like to do something like this: while read line do echo $line done < $(egrep error /var/log/syslog) but when i do, i get an unexpected response. i.e. cat test: #!/bin/sh while read line do echo $line done < $(egrep error /var/log/syslog) (12 Replies)
Discussion started by: SkySmart
12 Replies

7. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

8. Shell Programming and Scripting

Help me get some ideas

Hello, I have been given a scripting project, but have not learned any scripting. I need to get some ideas on how to start. Attached is part of the project: I have no idea how to parse the arguments. What I had in mind was to get the arguments ($1, $2, ... ) and have if statements for different... (1 Reply)
Discussion started by: facepalm
1 Replies
VACATION(1)						      General Commands Manual						       VACATION(1)

NAME
vacation - E-mail auto-responder SYNOPSIS
vacation [-a alias] [-C cffile] [-d] [-f database] [-i] [-I] [-j] [-l] [-m message] [-R returnaddr] [-r interval] [-s address] [-t time] [-U] [-x] [-z] login DESCRIPTION
Vacation returns a message, ~/.vacation.msg by default, to the sender informing them that you are currently not reading your mail. The message is only sent to each sender once per reply interval (see -r below). The intended use is in a .forward file. For example, your .forward file might have: eric, "|/usr/bin/vacation -a allman eric" which would send messages to you (assuming your login name was eric) and reply to any messages for ``eric'' or ``allman''. Available options: -a alias Handle messages for alias in the same manner as those received for the user's login name. -C cfpath Specify pathname of the sendmail configuration file. This option is ignored if -U is specified. This option defaults to the stan- dard sendmail configuration file, located at /etc/mail/sendmail.cf on most systems. -d Send error/debug messages to stderr instead of syslog. Otherwise, fatal errors, such as calling vacation with incorrect arguments, or with non-existent logins, are logged in the system log file, using syslog(8). This should only be used on the command line, not in your .forward file. -f filename Use filename as name of the database instead of ~/.vacation.db or ~/.vacation.{dir,pag}. Unless the filename starts with / it is relative to ~. -i Initialize the vacation database files. It should be used before you modify your .forward file. This should only be used on the command line, not in your .forward file. -I Same as -i (for backwards compatibility). This should only be used on the command line, not in your .forward file. -j Respond to the message regardless of whether the login is listed as a recipient for the message. Do not use this flag unless you are sure of the consequences. For example, this will cause to reply to mailing list messages which may result in removing you from the list. -l List the content of the vacation database file including the address and the associated time of the last auto-response to that address. This should only be used on the command line, not in your .forward file. -m filename Use filename as name of the file containing the message to send instead of ~/.vacation.msg. Unless the filename starts with / it is relative to ~. -R returnaddr Set the reply envelope sender address -r interval Set the reply interval to interval days. The default is one week. An interval of ``0'' or ``infinite'' (actually, any non-numeric character) will never send more than one reply. The -r option should only be used when the vacation database is initialized (see -i above). -s address Use address instead of the incoming message sender address on the From line as the recipient for the vacation message. -t time Ignored, available only for compatibility with Sun's vacation program. -U Do not attempt to lookup login in the password file. The -f and -m options must be used to specify the database and message file since there is no home directory for the default settings for these options. -x Reads an exclusion list from stdin (one address per line). Mails coming from an address in this exclusion list won't get a reply by vacation. It is possible to exclude complete domains by specifying ``@domain'' as element of the exclusion list. This should only be used on the command line, not in your .forward file. -z Set the sender of the vacation message to ``<>'' instead of the user. This probably violates the RFCs since vacation messages are not required by a standards-track RFC to have a null reverse-path. Vacation reads the first line from the standard input for a UNIX ``From'' line to determine the sender. Sendmail(8) includes this ``From'' line automatically. No message will be sent unless login (or an alias supplied using the -a option) is part of either the ``To:'' or ``Cc:'' headers of the mail. No messages from ``???-REQUEST'', ``???-RELAY'', ``???-OWNER'', ``OWNER-???'', ``Postmaster'', ``UUCP'', ``MAILER'', or ``MAILER- DAEMON'' will be replied to (where these strings are case insensitive) nor is a notification sent if a ``Precedence: bulk'' or ``Prece- dence: junk'' line is included in the mail headers. The people who have sent you messages are maintained as a db(3) or dbm(3) database in the file .vacation.db or .vacation.{dir,pag} in your home directory. Vacation expects a file .vacation.msg, in your home directory, containing a message to be sent back to each sender. It should be an entire message (including headers). For example, it might contain: From: eric@CS.Berkeley.EDU (Eric Allman) Subject: I am on vacation Delivered-By-The-Graces-Of: The Vacation program Precedence: bulk I am on vacation until July 22. If you have something urgent, please contact Keith Bostic <bostic@CS.Berkeley.EDU>. --eric FILES
~/.vacation.db default database file for db(3) ~/.vacation.{dir,pag} default database file for dbm(3) ~/.vacation.msg default message to send SEE ALSO
sendmail(8), syslog(8) HISTORY
The vacation command appeared in 4.3BSD. $Date: 2013-11-22 20:52:02 $ VACATION(1)
All times are GMT -4. The time now is 02:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy