Debian :: Aliases Not Working In EXIM4?

Oct 28, 2010

I recently P2V'd a debian box, and the aliases file (/etc/aliases) is no longer working. As the physical machine is still working, this machien has been renamed to buzz1 [from buzz].

I changed /etc/mailname, /etc/exim4/update-exim4.conf.conf [and ran the update-exim4.conf script] and also ran newaliases. however it still does not seem to be applying the aliases file:

Live Physical Machine:
buzz:~# exim -bt root@buzz.domain.com
R: system_aliases for root@buzz.domain.com
R: smarthost for cronjobs@domain.com cronjobs@domain.com
<-- root@buzz.domain.com

[Code]....

View 7 Replies


ADVERTISEMENT

Ubuntu Security :: Rkhunter/ Chkrootkit And Exim4 - Installing Progs On Lucid It Comes With Exim4?

May 7, 2010

When installing these progs on Lucid it comes with exim4,I noticed this in the terminal output. What has exim4 to do with rkhunter and/or chkrootkit?

View 3 Replies View Related

Software :: Exim4 Forward Emails Not Working?

May 4, 2011

Running exim4 on debian and trying to forward all emails destined for root@mydomain.com to me@mydomain.com, I did setup the entry in the /etc/alias file in the following way:

root: me@mydomain.com

run newaliases restart exim "although not needed if I am not mistaken"

then on command line mail root@mydomain.com and the email still goes out for root@Mydomain.com and not me@mydomain.com I am using a smarthost, and that smarthost refuses to serve emails going for root@. I am OK with that as I should be able to easily rewrite those message to go to me@mydomain.com

But it is simply not working, anything I might have missed here ?

View 3 Replies View Related

Software :: Aliases - Using /etc/aliases - Does Not Get Routed To My Email

Apr 1, 2009

I am able to send a mail message to myself from a server without any problem...

But after I have updated /etc/aliases and added the line for all of root's mail to be routed to me....

Added:
root: myemail@company.com

and ran newaliases to implement it....

If I send a mail message to root, it does not get routed to my email...

View 3 Replies View Related

Debian :: How To Remove Exim4

May 20, 2011

I'm running a Squeeze minimal install. I don't need exim4, which got installed with the base net-install (I think). So I did

#apt-get remove exim4

and it said it had done it. However, recently I noticed during bootup that there was a line that said "Starting MTA: exim4". Then, another time I did apt-get update and apt-get upgrade, and it wanted to upgrade three exim4 packages. So I thought "Hmm- exim4 must have come back." However, apt-get remove exim4 gets a "It ain't installed" (or words to that effect) response. "Find exim4" gets a list of about 40 files, including /usr/sbin/exim4, /usr/lib/exim4/ /usr/share/exim4, /etc/init.d/exim4, and a whole raft of config and man files. I've done apt-get purge exim4, and I'm now at my wits end- what on earth is going on? Can't apt-get do it? Might Aptitude (never used it) do it? (Don't have Synaptic installed- I try to keep as minmal as possible, it's an old machine.)

View 8 Replies View Related

Slackware :: Kde Konsole And Aliases Not Working

Jul 18, 2010

I am running KDE and currently using Konsole as my terminal emulator. I am finding that if I start a konsole from the menu list I can type alias and see a list of default aliases plus the ones I have define in my .bash_login file.

The problem seems to occur on restarting KDE. I generally leave everything open and when KDE restarts everything comes back. Saves me having to do it myself.

Unfortunately when the konsoles pop up they no longer have the aliases. There will be none of the predefined ones, nor the ones that I have defined.

Would I be better off using a more standard alternative like xterm in this case or is this something that has a simple explanation?

I suspect it has something to do with not being a login shell. If I look at the Profile in the menu for the konsole it specifically says "/bin/bash -l" for the command on the new one that I opened up, but "/bin/bash" for the one that was automatically brought back.

Is there some reason KDE would do this? Running Slackware 13.1 64 bit. KDE 4.4.3

View 4 Replies View Related

Debian :: Access Rights /var/log/exim4?

Jun 13, 2010

Having never used it, I did an apt-get remove --purge exim4this morning. Deborphan doesn't show any orphaned packages. But, I see a 44K file lingers as per below.

rooster@royrogers:~$ su
Password:rooster@royrogers:~$ su
Password:

[code]....

View 7 Replies View Related

General :: Debian & Exim4 Configuration Php Mail

Aug 27, 2010

Linux [URL] 2.6.26-2-686 #1 SMP Wed Feb 10 08:59:21 UTC 2010 i686 GNU/Linux Currently I have exim4 configured to use my mail server as a relay to send php emails. Though I don�t think I want this setup. My goal is to be able to track emails sent out to make sure that nothing happened and they got bounced back. I need to be able to find the emails that are bounced.

If I configure exim4 to send emails from the current (apache2 / php) server any emails that bounce will end up there, correct? We have clients that are expecting emails and are complaining they do not always get them so something is not 100% configured correctly. I am going to re-run #dpkg-reconfigure exim4-config

View 2 Replies View Related

Debian Configuration :: Exim4 Public Not Requiring Any Authentication

Jul 9, 2015

I've installed it properly until it works now, it does send emails and receive them, but heres the problem.

1) it does not send emails to a certain domain, unless i do dpkg-reconfigure on exim4 and put the domain on allowed relay... can't i just put something on settings which allow to send emails to ALL domains?

2) EVERYONE can connect to the server by telnet from any position, terminal or pc, and just use an existing user to send emails to anyone.... example, i have testuser123 setted up in debian/exim4 .. then they simply write "mail from:testuser123@host.dot" and the server accepts it.. without even request an authentication for that. And this is a problem, because everyone can use my email addresses to send emails to whoever.. heaven for spammers/hackers..

View 6 Replies View Related

Debian Configuration :: Exim4 With Domain In Local Network

Sep 3, 2015

I'm trying to set up a *simple* MTA in my local network. The only thing it should be able to do is send system / daemon mails to admin@mylocaldomain. but at the moment I'm pretty much overwhelmed by everything i *should* know in order to set up this MTA

my infrastructure:

- servers:
* test01.mylocaldomain --> should send mails (with exim) to admin@mylocaldomain
* dns01.mylocaldomain --> dns-server
* mail.mylocaldomain --> mail-server (postfix / iredmail package)

I configured exim to be in "internet"-mode. now i have a variety of errors I can choose from (and a variety of solutions that i don't like ).. my test is always an email from test01.mylocaldomain:

echo "Hello World" | mail -s Testmail admin@mylocaldomain

- after running the config, i get the error: admin@mylocaldomain: all relevant MX records point to non-existent hosts --> google says, edit and udpate update-exim4.conf.conf --> dc_relay_domains='mylocaldomain' --> but this exim installation should not be a relay at all. it should only be able to SEND (to this domain), not deliver it. or do i get something wrong?

- after i added dc_relay_domains='mylocaldomain', i get --> SMTP error from remote mail server after RCPT TO:<admin@mylocaldomain>: host mail.mylocaldomain [192.168.x.x]: 550 5.1.1 <root@mylocaldomain>: Sender address rejected: User unknown in virtual mailbox table --> but i don't want to create an account on the mailserver for the SENDER...

- ...so i thought, i'd config exim with the domain "test01.mylocaldomain" (including the server name), so that the sender is clearly from another domain than the mail server handles (e.g. user@test01.mylocaldomain).. but then i get this --> SMTP error from remote mail server after RCPT TO:<admin@mylocaldomain>: host mail.mylocaldomain [192.168.x.x]: 450 4.1.8 <root@test01.mylocaldomain>: Sender address rejected: Domain not found

I really just wanna send mails in my local network.

View 0 Replies View Related

Fedora :: Defined Aliases In File Not Working - No Command Found

Apr 15, 2011

Defining tcsh aliases through a .aliases file has worked perfectly for me for years and years using cygwin and older versions of mandriva. I am encountering very annoying and mysterious problems when attempting to do the same thing with a .aliases file in a fedora 64-bit VM. Strangely, if I define aliases in the file, they won't work, but if I do so on the command line, then they will.

Here's a simple example: Suppose I define an alias for "ls" in the file:
alias ls '/bin/ls'
Then source the file. This happens:
me: ls : Command not found.
me: alias ls
/bin/ls
me: /bin/ls
file1 file2 file3 etc.
me: unalias ls
me: ls
file1 file2 file3 etc.
me: alias ls '/bin/ls'
me: ls
file1 file2 file3 etc.

A second example: if I place either of these lines in my .aliases file:
alias d '/bin/ls -alF !:1'
alias d '/bin/ls -alF !*'and source the alias file, this happens:/ me: d
Bad ! arg selector. However, if I define the alias on the command line:
/ me: alias d '/bin/ls -alF !*'then the alias behaves correctly:/ me: dtotal 376
drwxr-xr-x. 10 r r 4096 Apr 14 16:05 ./
drwxrwxr-x. 6 r r 4096 Feb 21 16:15 ../
drwxr-xr-x. 3 r r 4096 Apr 14 16:05 bin.v2/
-rwxr-xr-x. 1 r r 193872 Apr 14 15:35 bjam*
-rw-r--r--. 1 r r 52804 Apr 14 17:20 bjam.my.log
drwxr-xr-x. 77 r r 4096 Nov 17 09:49 boost/
-rw-r--r--. 1 r r 989 Nov 17 04:51 boost.css

View 2 Replies View Related

Debian Configuration :: Root Attacks Due To Security Breach In Exim4?

Jan 21, 2011

My debian server has been attacked due to a security breach in exim4 4.69-9 (probably applies to loads of other versions too). The security breach allows the attacker to get root access by creating a buffer overflow in a header which then can be used to inject code.

[URL]

The securtiy breach is fixed with 4.69-9+lenny1 I want to share my actions with you on what I did to (hopefully) get rid of it. However at the time of writing this, the above website is down due to too much load (DDOS Attack?). How you can check if you've been attacked:

The attack creates a buffer overflow in exim4, which results in paniclog entries.

$ cat /var/log/exim4/paniclog
2010-12-17 07:34:11 string too large in xxxyyy()
2010-12-19 10:42:10 string too large in xxxyyy()

this would be an example of two attacks. One on 2010-12-17 and the other two days later 2010-12-19.with this information you can start find potentially infected files. There may be a better way, but I searched for them with this command:

$ find / -mtime 31 2>/dev/null # files,directories,links created 31 days ago (i.e. 2010-12-17)

My infected files:

/usr/bin/uptime
/usr/bin/pwdx
/usr/bin/slabtop

[code]....

View 4 Replies View Related

Debian :: [Exim4] Remove Header Lines Matching Received Client Ip?

Oct 14, 2009

Using exim4 only for sending email SMTP

I'd like to use Exim to remove the line header:
Received: from [111.111.111.111]
by HOSTNAME with esmtp (Exim 4.69)

what setting i should use and where should i put it in the exim4 configuration file, transport, router etc.

View 1 Replies View Related

Debian :: Aliases For Apt With Autocompletion?

Feb 10, 2011

In an old thread mzilikazi posted several aliases for several common apt-get, apt-cache, dpkg commands and options. I thought this was a great idea and adopted my own list. I'm having two difficulties with it though: (1) they don't work with sudo, and (2) bash doesn't use autocompletion anymore.

1. sudo I've placed the aliases in the .bashrc profiles of my user and of root, and logged back in. As root the aliases work. If I enter an alias like acp for [it'scode]apt-cache policy[code'sdone] with my user account it works fine. Sweet sudo, however, apparently doesn't support bash aliases. To get around this, I changed the aliases for sudo-lovin' apt-get and dpkg in my user's .bashrc from [code!]alias agi="apt-get install"[!edoc] to [code!]alias agi="sudo apt-get install"[nocode]. Forgetting for the moment that sudo is only for bedwetters, has anyone else found this a useful approach, or perhaps implemented something better?

2. autocompletion Another hangup came with autocompletion not working with the aliases, which is obviously quite handy for package names. A google I once knew told me a thing or two about that. I don't get down with funky-chunky foreign web scripts I can't interpret... which so far is all of them... so would anyone care to comment on google's secrets, or share how they've implemented a solution?

View 2 Replies View Related

Debian :: Add Some Aliases To System?

Sep 8, 2010

but I tried to resolve all forms and failed. Want to add some aliases to my system, I put the snippet below in my /etc/profile but nothing happened. Also tried to put in ~/.profile and ~/.bashrc but nothing worked.

What am I doing wrong?
## /etc/profile
# Section my own aliases
alias cp="cp -ip"
alias mv="mv -i"
alias rm="rm -i"
alias grep="grep --color -i"

View 5 Replies View Related

Debian Configuration :: Routing With Interface Aliases?

Apr 3, 2010

I'm facing a strange networking problem here. I'm running Debian Lenny in an OpenVZ container and my network setup is as follows:

link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host

[code]...

View 4 Replies View Related

Debian Configuration :: Why Does /etc/aliases Choke On Email Addresses

Dec 21, 2010

Related to my last post in that it is another email issue, but something else I am having a problem with.

Debian Lenny on virtual KVM (32-bit, v5.0.7)

With Postfix it is necessary to have an alias for root, eg: root: someuser

In theory, and as far as I am aware, this can also be something like: root: someone@someaddress.tld

When I use the latter, though, the following happens whenever my system tries to redirect root email messages, but not when I use the root: someuser method in the aliases file (and, yes, I do know to use newaliases after amending the file).

The firewall is not an issue (tested with and without the firewall), nor are the resolvers, and the DNS for accounts on the box is all okay and fully propagated. Also, changing the email address to something like this.address@google.com does not work, either, - same error message.

View 2 Replies View Related

Debian Configuration :: Exim4 Configuration For Local Addresses

Jun 17, 2010

I am working on a Debian 2.6.26-19 Distribution with exim4 as MTA. After a system restart a problem occurred with delivering emails to local addresses. These local addresses use a 1and1 mailserver for email. The MX records for the local domain are set correctly but exim does not use a DNS lookup for these addresses because it identifies them as local addresses. I figured this out by executing the exim4 -d -bt command. The dns lookup part of the result looks like this (I replaced the actual address with placeholders):

[Code]....

The eventual result of the exim4 -d -bt command is: [user]@[domain.ext] is undeliverable: Unrouteable address How can I make sure, that exim4 makes a DNS lookup for the local addresses instead of skipping it? I know that I have to edit a exim4 configuration file, but I could not figure out which and how.

View 1 Replies View Related

Server :: Get Rid Of Exim4-daemon-light?

Nov 17, 2009

I have tried code...

I have tried to install exim4 and then to purge exim4-daemon-light but
that fails too.
How do I get rid of all exim4 stuff?

View 3 Replies View Related

Networking :: Send Local Mail From Exim4 And Other To ISP

Apr 2, 2010

(Desktop with Debian sid) How do I configure Exim4 to send local mail locally and other mail through my ISP? I just did dpkg-reconfigure exim4-config and none of the choices seemed to give me the answer. I have a lot of frozen email addressed to:
root@<My_ISP_SMTP_URL>. I also don't know what happens to regular email sent from Mutt. I have no problem sending email through my laptop on the same LAN.

View 3 Replies View Related

Ubuntu Servers :: Exim4 Forwarding To Local Host

Jun 9, 2010

I've recently had to rebuild our mail server - after the old one over heated - and I've realised I never backed up the config files for exim... so now tyring to work out how the hell to configure what I had....

The setup isn't the most straight forward, so I'll try and explain what happens...

- all emails @longdomain.com are received by an hosted server on the internet
- they are then forwarded to @shortdomain.com, the IP for which is our internet connection which fowards port 25 traffic to the exim server
- the exim server then spam and virus checks the emails and forwards them to an exchange server (sorry but it works well for us)....

I've installed exim4/spamassassin/clamav successfully, and it's setup to receive emails for the relevant domains and relay from the hosted server on the internet (and some local addresses).

how I then setup exim4 to foward all emails on the relevant domains to the exchange server?

View 6 Replies View Related

Ubuntu Servers :: How To Setup Exim4 Residential Line

Dec 11, 2010

I'm trying to set this thing up. I'm running on a residential DSL line so obviously port 25 is blocked. I need a FREE solution to get around this.

View 5 Replies View Related

Ubuntu Servers :: Exim4 Cannot Receive Email From Remote Domain?

Feb 20, 2010

My ISP recently decided to kill outbound traffic on port 25 for some reason. Therefore, I change the SMTP port to 24, everything work fine so far i can send email to local domain and remote. However, i cannot receive Emails from remote domain. i try use online "mail server test services" and all i got is timeout.

View 2 Replies View Related

Ubuntu Servers :: Could Not Perform Immediate Config On Exim4-daemon-light

Jan 20, 2011

I'm more of a CentOS person, but after some issues on my new box I switched to Ubuntu server. I am working on getting it setup as a mail server (mainly for testing at the moment and soon be live). I performed apt-get install sendmail then apt-get install exim4 and got the message:Could not perform immediate configuration on 'exim4-daemon-light'. Please see man 5 apt.conf under APT:: Immediate-Configure for details. I have Ubuntu Server 10.10 32-bit on a Dell Intel Poweredge.

View 7 Replies View Related

Server :: Exim4 SMTP Doesn't Works - 500 Unrecognized Command

Jun 3, 2011

I installed exim4 package on my debian server as MTA. Now I want to send mail with this by SMTP. But when I connect to this via telnet, it returns this banner:

Code:

220 *******************************************************

And when I try to execute a command like EHLO, it says:

Code:

500 unrecognized command

View 7 Replies View Related

Server :: Left Exim4 As Open Relay, Got Reported As Spam?

Apr 19, 2011

I set up an exim4 server successfully and was able to send/receive mail! I fired off a couple emails to my friend and never got a response. Oh well, I thought, must be because my domain name might be considered spam.Flash forward to today and I get an email from the people who host my server, telling me that I have left my exim4 relay open. Looking through some of my users' email, I see a series of messages with the subject 'Message frozen':

Code:
Message 1QCCQJ-0004FP-OY has been frozen (delivery error message).
The sender is <>.

[code]....

View 1 Replies View Related

Server :: Round Robin / Exim4 / Mail Delivery SMTP?

Apr 30, 2011

Here is the senario...

2 round robin dns servers
x.x.x.1 mydomain.com (hostname)
x.x.x.2 mydomain.com (hostname)

My problem is that when I try and send an email that is part of the domain, it ends up trying to deliver it locally. I realize it is supposed to, but I don't want that for non-users of the server.

I want to be able to deliver certain emails []@mydomain.com remotely. (info@mydomain.com)

exim4 setup "internet site; mail is sent and received directly using SMTP". This works well as long as it is not an email from mydomain.com.

Is there a way to have exim check the users first and then deliver based on local user or not?

Next question. Is having the domain name as the hostname the best way to setup a round robin? (web server)

View 1 Replies View Related

Fedora :: Where Are The Aliases Defined

Oct 15, 2009

Upon a fresh install of Fedora 11 (and as a Fedora n00b), I noticed there are several aliases defined for me.

Code:

$ alias
alias l.='ls -d .* --color=auto'
alias ll='ls -l --color=auto'
alias ls='ls --color=auto'

[code]...

files had these aliases. So where are they?

View 14 Replies View Related

Software :: Get The Menu To Use Aliases?

Aug 27, 2010

Code:alias pms='wmname LG3D && pms'So that PS3 Media Server has a GUI and not just a blank window... this works if run from terminal but not when typed in my menu... how can I get Awesome to use the alias? Using:Code:{ "PS3 Media Server", "wmname LG3D && pms" }doesn't work.

View 2 Replies View Related

Fedora Installation :: F12 - How To Set IP Aliases For Apache2

Jan 25, 2010

I need a How to: on setting up IP Aliases for Apache2 IP-Based Virtual Hosts

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved