exim4


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers exim4
# 1  
Old 08-15-2012
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 08:08 PM.. Reason: Code tags; more code tags; correct some grammar for readability
# 2  
Old 08-27-2012
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.
# 3  
Old 09-01-2012
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
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

exim4 sending via multiple gmail smtp accounts

I need to send mail using different gmail smtp logins, depending on the from header. I can put the appropriate expression in dc_smarthost to generate the host, but I don't know how to specify the login id. The login id comes from passwd.client and is associated with the server name. According to... (1 Reply)
Discussion started by: Millwood
1 Replies

2. Debian

Debian exim4 security patch

I have just had to fix a debian5 system which suddenly started rejecting correctly addressed emails as '550 relay not permitted.' It turned out that rogue exim4 config files had been injected into the system at /etc/exim4/exim4.conf and /etc/exim4/exim.conf and these were messing up mail routing. ... (0 Replies)
Discussion started by: KevinGB
0 Replies

3. UNIX for Advanced & Expert Users

/etc/init.d/exim4 restart

I have restarted the exim4 process. It prints the following things. $ /etc/init.d/exim4 restart * Stopping MTA for restart /usr/sbin/update-exim4.conf: non-ascii value sugumar_imp.tar write.sql virtualbox-3.1_3.1.8-61349~debian~lenny_i386.deb etc... ...done. * Restarting MTA ... (1 Reply)
Discussion started by: ungalnanban
1 Replies

4. UNIX for Dummies Questions & Answers

EXim4 on Debian - setting up multiple mailboxes

I have exim4 smtp server running on Debian. I tend to use only one user account to login. The machine is running multiple websites and I have assigned unique email addresses for each of the websites. Emails sent to these addresses do not seem to get delivered. Emails sent to the alias that I... (0 Replies)
Discussion started by: shikarishambu
0 Replies

5. UNIX for Advanced & Expert Users

Problems with debian linux + exim4 + MS Outlook 2003

This seems to be a rather constant question that pops up on a lot of forums but as of yet I have not found a complete solutions on any of the forums so I'm asking everyone who might know about this in an attempt to find a complete solution for this: I have bought 3 domain names and they all... (0 Replies)
Discussion started by: liviutudor
0 Replies

6. UNIX for Advanced & Expert Users

exim4 relay only to specific domain

Hi, I am new in exim. I am trying to configure a debian server running exim4 such that it relays only mails to our domain (@abcd.de).The exim server uses a smarthost for relaying. I do not get it to block outgoing mails to domains different from ours (i.e. with the "standard" configuration it... (0 Replies)
Discussion started by: one71
0 Replies
Login or Register to Ask a Question