10-27-2009
not able to send mails from linux
I am using centOS 5.3 as server, and i hav installed sendmail-8.13.8-2.el5.i386.
But still, m not able to send mails to outer domain. Do i need to configure DNS for this?
PLease suggest a step by step guide, if u hav, for the concern, as i m new to linux and sendmail as well..
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Please help.
I have a text file which looks something like this
aaa@abc.com, c:FilePath\Eaaa.txt
bbb@abc.com, c:FilePath\Ebbb.txt
ccc@abc.com, c:FilePath\Eccc.txt
ddd@abc.com, c:FilePath\Eddd.txt...so on
I want to write a shell script which will pick up the first field 'aaa@abc.com' and... (12 Replies)
Discussion started by: Amruta Pitkar
12 Replies
2. Debian
hi
howto configure mailx ?
kind regards
ccc (11 Replies)
Discussion started by: ccc
11 Replies
3. AIX
Hi,
I am not able to send mails to the recipents.
I am using AIX 5.3 Version and using the below command.
cat test.log|mail -s "TestMail" user1@mail.com
Can you please tell me is there any configurations to be done or is the above command wrong?
Thanks & Regards
Sheshadri (3 Replies)
Discussion started by: arsheshadri
3 Replies
4. UNIX for Advanced & Expert Users
Hi folks
OS- Debian Etch
Xen
postfix
courier
perdition
perdition-mysql
MySQL
Single public IP
Dom0 - Debian Etch workstation
Server-1, domU1 for routing with perdition and perdition-mysql
installed
Server-2, domU2, mail server for domain-A
Server-3, domU3, mail server for... (2 Replies)
Discussion started by: satimis
2 Replies
5. Shell Programming and Scripting
Hi-I want to create a shell script which should read a file line by line (file having email address and transaction id of each user)and send email on email ids with the transaction id of the user respectively.
Please help - I think a while loop should help but I am very new too UNIX Shell... (1 Reply)
Discussion started by: DeepSalwan
1 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I was using mpack for sending mails with pdf as attachment. It was working well. but some days back my server was shut down forcefully due to power failure and I found now the mails are moving to the queue always.
I checked in /var/spool/mail/mqueue. Is the forece shutdown has to do... (0 Replies)
Discussion started by: itesh.dash
0 Replies
7. Shell Programming and Scripting
Hi All,
I am writing one script to automate one long process. In this process we need to upload some input files and download some output files. So , I want to automate this upload and download by using mail functionality.
I want to trigger this script when I am sending mail to server. I know... (0 Replies)
Discussion started by: NirajThakar
0 Replies
8. Solaris
Hi,
Iam not able to send mails from solaris servers to external mailid (gmail,yahoo).I am able to send mails to internal mailids with in network.
Requesting you all to please help me to resolve this issue.
Thanks in advance.
Venkat (2 Replies)
Discussion started by: venkatasiva85
2 Replies
9. Red Hat
Hello,
I am working on postfix server on CentOS 5.8 which will be send mails to a specific domain only.
All the things are nearly finished but i am not getting how to setup the postfix to send mails to specific domains.
Please help me out.
Thanks,
Sunny (2 Replies)
Discussion started by: sunnysthakur
2 Replies
10. Shell Programming and Scripting
Hi.
I'm new on this forum and I need if possible someone to help me with one script.
The script should act like this:
- should be run by crontab and have next parameters:
script_name $par1 $par2 $par3 $par4
where script will search in dir $par1 for files with mask $par2 and if number of... (2 Replies)
Discussion started by: atrailm
2 Replies
LEARN ABOUT FREEBSD
mailer.conf
MAILER.CONF(5) BSD File Formats Manual MAILER.CONF(5)
NAME
mailer.conf -- configuration file for mailwrapper(8)
DESCRIPTION
The file /etc/mail/mailer.conf contains a series of lines of the form
name program [arguments ...]
The first word of each line is the name of a program invoking mailwrapper(8). (For example, on a typical system /usr/sbin/sendmail would be
a symbolic link to mailwrapper(8), as would newaliases(1) and mailq(1). Thus, name might be ``sendmail'' or ``newaliases'' etc.)
The second word of each line is the name of the program to actually execute when the first name is invoked.
The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(8) was called with.
The file may also contain comment lines, denoted by a '#' mark in the first column of any line.
FILES
/etc/mail/mailer.conf
EXAMPLES
This example shows how to set up mailer.conf to invoke the traditional sendmail(8) program:
# Execute the "real" sendmail program located in
# /usr/libexec/sendmail/sendmail
sendmail /usr/libexec/sendmail/sendmail
send-mail /usr/libexec/sendmail/sendmail
mailq /usr/libexec/sendmail/sendmail
newaliases /usr/libexec/sendmail/sendmail
This example shows how to invoke a sendmail-workalike like Postfix in place of sendmail(8):
# Emulate sendmail using postfix
sendmail /usr/local/sbin/sendmail
send-mail /usr/local/sbin/sendmail
mailq /usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail
This example shows how to invoke a sendmail-workalike with Exim (from ports) in place of sendmail(8):
# Emulate sendmail using exim
sendmail /usr/local/sbin/exim
send-mail /usr/local/sbin/exim
mailq /usr/local/sbin/exim -bp
newaliases /usr/bin/true
rmail /usr/local/sbin/exim -i -oee
This example shows the use of the mini_sendmail package from ports in place of sendmail(8). Note the use of additional arguments.
# Send outgoing mail to a smart relay using mini_sendmail
sendmail /usr/local/bin/mini_sendmail -srelayhost
send-mail /usr/local/bin/mini_sendmail -srelayhost
SEE ALSO
mail(1), mailq(1), newaliases(1), mailwrapper(8), sendmail(8)
postfix(1) (ports/mail/postfix), mini_sendmail(8) (ports/mail/mini_sendmail)
HISTORY
mailer.conf appeared in NetBSD 1.4.
AUTHORS
Perry E. Metzger <perry@piermont.com>
BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the "behave dif-
ferently if invoked with a different name" behavior of things like mailq(1) should go away.
BSD
October 8, 2010 BSD