Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers


UNIX Desktop for Dummies Questions & Answers Discuss UNIX and Linux user interfaces like GNOME, KDE, CDE, and Open Office here. All UNIX and Linux Newbies Welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-15-2012
Registered User
 
Join Date: Sep 2011
Posts: 15
Thanks: 20
Thanked 0 Times in 0 Posts
exim4

I want to send mail with a bash script.
I look on the internet what I have to do.
I installed exim4 and mailutils.
than I do sudo echo "Yay - SMTP works" | mail -s "Test email" mail-address"
but the mail wasn't sent.
I find this sudo dpkg-reconfigure exim4-config
but I don't know what I must fill in this.
I find also netstat -ano |grep :25 and
the output is

Code:
 tcp   0  0 127.0.0.1:25   0.0.0.0:*  LISTEN  off (0.00/0/0)
 tcp6  0  0 ::1:25         :::*       LISTEN  off (0.00/0/0)

If someone know what I must do for to have this working
thanks anyway

Last edited by methyl; 08-27-2012 at 07:08 PM.. Reason: Code tags; more code tags; correct some grammar for readability
Sponsored Links
    #2  
Old 08-27-2012
methyl methyl is offline Forum Staff  
Moderator
 
Join Date: Mar 2008
Posts: 6,388
Thanks: 286
Thanked 668 Times in 640 Posts
I may not be able to help you, but please post the following basic information:
1) Operating System and version.
2) What Shell you use.
3) Whether mail within the computer works.
Sponsored Links
    #3  
Old 09-01-2012
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
 
Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 3,301
Thanks: 27
Thanked 457 Times in 356 Posts
I suppose your MTA (exim) is not correctly configured. How this has to be done depends so much on your network and its configuration that it is not possible to give some generalized answer.

Please answer specific questions and we can answer specifically.

In the meantime you might be interested in a little introduction about how the mail system works in general i wrote a few days ago.

I hope this helps.

bakunin
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Debian exim4 security patch KevinGB Debian 0 12-17-2010 11:18 AM
/etc/init.d/exim4 restart ungalnanban UNIX for Advanced & Expert Users 1 09-16-2010 12:20 PM
EXim4 on Debian - setting up multiple mailboxes shikarishambu UNIX for Dummies Questions & Answers 0 10-30-2009 06:44 PM
exim4 relay only to specific domain one71 UNIX for Advanced & Expert Users 0 06-30-2008 05:31 AM



All times are GMT -4. The time now is 09:29 AM.