08-01-2004
Sendmail configuration - help needed
System is running HP-UX11
I need to configure sendmail, to send to a mail server of ours...
Any help would be appreciated....
I will be using mailx
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
First of all, Happy Holidays,Merry Xmas, Happy Hanakah, Happy Kwanzaa, Happy Mid Winter Festival, etc.(Forgive me if I left your holiday out)
Anyway, here is my situation. I am setting up an email server at the job, and Sendmail is not cooperating. The error that I get on my RedHat 7.3 Dell... (5 Replies)
Discussion started by: Jody
5 Replies
2. AIX
I am in the process of setting up a new AIX 5.2 machine. I am not normally an AIX admin so please excuse if this is a dumb question.... this being that I need to alter the sendmail config. I can easily diff the default sendmail.cf with an existing server's file and see where to make the changes I... (2 Replies)
Discussion started by: nzaixer
2 Replies
3. Linux
hi
just i want someone to guide me through the basic configurations of sendmail "a local network"
just i want to let user1@domain.com send e-mail to user2@domain.com
Thanks in advance (1 Reply)
Discussion started by: a_elhoseeny
1 Replies
4. Shell Programming and Scripting
I had my admin team to configure the SMTP on my HPUX unix box to send mails. Now they have given me a SMTP ip xx.xx.xx.xx and asked my to use this ip in ur code and not hostname for sending mails.
where should I put this SMTP IP in the code or what should i configure in order to send mails.
... (2 Replies)
Discussion started by: Omkumar
2 Replies
5. UNIX for Dummies Questions & Answers
I have a requirement to enable sendmail in all the servers in our lab. This is required in lots of cases like e-mail the server owner if any hardware error and if any application problems and so. Here my part is to confirm that it is possible to send e-mail to the system user from the server.e-mail... (2 Replies)
Discussion started by: testbedengr
2 Replies
6. AIX
I want to configure sendmail on AIX 4 and 5 to send emails to a windows SMTP proxy server for distribution. Mail would be going from AIX to Windows but any return emails would be sent not AIX but to a default Windows return address.
What variables in the AIX sendmail.cf file would need to be... (1 Reply)
Discussion started by: rahe
1 Replies
7. Emergency UNIX and Linux Support
Hi,
We have a standalone Solaris 10 Server (no DNS is configured) from which we want email alerts to be triggered when there is any breaches in the disk utilization threshold levels. we would like to achieve this mailing through sendmail.
Can any one explain the procedure to do so..???
... (1 Reply)
Discussion started by: EmbedUX
1 Replies
8. Shell Programming and Scripting
Hi All,
I need to configure mail functionality which enable us to send mail to outside company network. I just came to know that we have to configure outbound mail host/relaying mail in sendmail.cf file.
Can someone suggest me on what to change in sendmail.cf, what information is required... (0 Replies)
Discussion started by: ace_friends22
0 Replies
9. HP-UX
Hi All,
Need help !.
I am configuring SMTP server details in my sendmail.cf
My SMTP server details are like MAC234.ad.compname.com, and i have configured my sendmail.cf with this address.
But mail address is something like user1@compname.com. Now when i run the sendmail command, i get... (6 Replies)
Discussion started by: chpsam
6 Replies
10. Solaris
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
LEARN ABOUT DEBIAN
extsmail.externals
EXTSMAIL.EXTERNALS(1) BSD General Commands Manual EXTSMAIL.EXTERNALS(1)
NAME
extsmail.externals -- configure which external commands to robustly send e-mail via
DESCRIPTION
extsmail.externals is used to configure extsmaild(1). It consists of one or more group declarations. Each group consists of zero or more
match / reject clauses followed by one or more external declarations. An external consists of one or more assignments of key = value pairs.
When sending messages extsmaild(1) first searches through the externals file, in order, for a group whose match / reject clauses match the
message in question. If a group does not contain any such clauses it automatically matches all messages. Match / reject clauses currently
match only against headers, and use standard POSiX extended regular expressions (see re_format(7) for more details). extsmaild(1) then tries
each external in the group, in order, to send the message successfully.
The grammar for this file is as follows:
group ::= { matches* external+ }
matches ::= match
| reject
match ::= MATCH HEADER string
reject ::= REJECT HEADER string
external ::= EXTERNAL ID { defn+ }
defn ::= ID = STRING
| ID = TIME
TIME ::= [0-9]+[dhms]
Valid assignments within an external are:
sendmail
Defines the external shell command used to send e-mail.
timeout
If extsmaild(1) is executed in daemon mode, this value defines the length of time that extsmaild(1) will retry this external before
giving up and trying the next external in the group. Times are specified as a number followed by d (days), h (hours) m (minutes), or
s (seconds). If extsmaild(1) is executed in batch mode, the timeout value is ignored.
FILES
The extsmail configuration file is searched for, in order, in the following locations:
~/.extsmail/externals
Per-user configuration.
/etc/extsmail/externals
System-wide configuration.
EXAMPLES
The simplest externals file sending e-mail via ssh(1) looks as follows:
group {
external mymachine {
sendmail = "/usr/bin/ssh -q -C -l user mymachine.net /usr/sbin/sendmail"
}
}
where mymachine is a human-friendly name given to an external (it does not effect processing), and user is the username on the remote machine
mymachine.net.
A more complex example using multiple groups, message matching, and multiple external commands looks as follows:
group {
match header "^To:.*@foo.com"
external foo {
sendmail = "/usr/bin/ssh -q -C -l user shell.foo.com /usr/sbin/sendmail"
}
}
group {
external mymachine {
sendmail = "/usr/bin/ssh -q -C -l user mymachine.net /usr/sbin/sendmail"
}
external bk {
sendmail = "/usr/bin/ssh -q -C -l user bk.mymachine.net /usr/sbin/sendmail"
}
}
SEE ALSO
extsmail(1), extsmail.conf(5), extsmaild(1)
AUTHORS
Laurence Tratt <http://tratt.net/laurie/>
BSD
November 2, 2008 BSD