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


ADVERTISEMENT

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

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

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

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

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

Debian Configuration :: Exim Doesn't Deliver Local Mail; Files In /var/mail Empty?

Jan 28, 2010

I cannot get exim4 to actually deliver any "local delivery only; not on a network".But whatever I do in the config, all mail gets frozen with entries in the log file like:"root@empty R=nonlocal: Mailing to remote domains not supported"Maybe the problem is that there is no fqdn for the computer (and will never be). How can I enable local mail delivery?

View 14 Replies View Related

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

Ubuntu Servers :: Exim4 Sends Mail Correctly, But Wrong "from" Address?

Apr 5, 2010

I have a ubuntu server 9.10 installed with exim4 as MTA. I configured a mail address on it (let's say me@example.com). Before i had it working i had a other email configured (let's say me_2@example.com). At the time i had this one it didn't work i removed exim4.

Now i can successfully send mails with it by the configured me@example.com. I also configured the password for this, but when i receive the mail the old configured mail is presented as "from" (so from: me_2@example.com).

Anyone knows how this can be changed so it says the mail is from me@example.com? The mail is not an alias, and in a mail client they work separately.

View 4 Replies View Related

Debian Configuration :: Setting Up A Mail Server?

Jan 5, 2011

I would like to run a mailing daemon on my system that would receive incoming mail and forwards it to my Gmail account. I have no experience in mail services and forwarding mail at all. where to start reading and/or look for clues?

View 3 Replies View Related

Debian Configuration :: Install A Mail Server

Jan 12, 2011

i need to install a mail server with the following requirements: smtp, imap, web administration interface (users management to be done by a non-specialist) and ... to be easy enough to install/implement on debian (this is one time deal for me ...)

i used until now Xmail, phpxmail and nocc, very easy to install and it was working flawlessly, but unfortunately nocc is a too poor webmail client be cause is based only on pop3 literally the requirement is that on the web[client] mails sent must be saved and from what i see on webmail that only can be done with imap and (this is the big problem) Xmail does not support imap so i cannot install a good webmail client

View 1 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

Debian Configuration :: Smdadm Sends No Mail While Booting

Oct 13, 2015

It's hard to understand the whole systemd stuff. Specially in combination with mdadm and sendmail. My goal is to get a mail every boot about the state of the RAID. Also get a mail when someone is wrong with the RAID while my computer is running. How I can reach this target I don't care especially. It just has to be a Debian package and stable

OK, to the story: I made a while ago an dist-upgrade from wheezy to jessie. Before, everything works fine. I boot my computer, the RAID gets checked and a mail was sent to my email-address with the state of my RAID and the disks of it. For this I followed a HowTo from [URL] .... After the upgrade, I dont get a mail anymore.

Here some details.

Actually installed: Debian 8.2 Jessie

Code: Select allsystemctl status mdadm-raid -l
● mdadm-raid.service - LSB: MD array assembly
   Loaded: loaded (/etc/init.d/mdadm-raid)
   Active: active (exited) since Son 2015-10-11 16:11:34 CEST; 21min ago
  Process: 281 ExecStart=/etc/init.d/mdadm-raid start (code=exited, status=0/SUCCESS)

Okt 11 16:11:34 xy-server mdadm-raid[281]: Generating udev events for MD arrays...done.

[Code] ....

When I execute

Code: Select allecho "This is a test e-mail from my server using msmtp" | msmtp -d xyz@gmx.net
or
Code: Select allmdadm --monitor --scan --test --oneshot

Everything works. I get the mails like I need it. In my opinion it's not a problem of the mail configuration. It seems, there is no network when the RAID get's started and the mails want to be send.

What I'm wondering is also, that obviously the

/etc/default/mdadm
is ignored by systemd and only the
/lib/systemd/system/mdmonitor.service is executed. But while booting the RAID get's startet with /etc/init.d/mdadm-raid and this should read the /etc/default/mdadm. Right? Confusing!

Anyway, is there a way, how I can easy change the order (without any side-effects) of the startup for the network and the RAID. I can't figure out, which unit I have to change, that it will work. Or maybe is there another solution? Like I mentioned, it's just have to work with Debian stable packages

There are various units who sounds nice, but wich one is the correct one?

Network:
- network-online.target
- network.target
- system-ifup.slice
- ifup@eth0.service

Disks:
- local-fs.target
- mdadm-raid.service
- mdmonitor.service
- -.mount

And how can I be sure, that every dependency of the network units doesn't depend on a filesystem unit?

View 2 Replies View Related

Debian Configuration :: Optimal Setup For A Mail Server?

Apr 16, 2010

I would like to discuss setting up a mail server and its implications and alternatives. First, let us see if I have understood this correctly: A mail server consists of many different components. First, a server to listen to any mail inbound for a specific domain (say postfix), and then a POP3/IMAP server (say dovecot). Then, I should somehow configure the rules by which all mail is forwarded to their respective owners. This should be fairly simple by using debians package managers and dselect or whatever program it is that sets up right packages by use cases at the install.

But now lets assume a more complicated environment, where there are multiple users with different domains and needs. First, we need to send mail to ourselves from webapps for instance for backup purposes. So let's say we have a domain called domain.com setup, and we want to send mail to backup@domain.com. Unfortunately, some configuration issue makes the application get confused, because it is trying to send mail to itself, but doesn't quite understand what it should do. How can this problem can be solved?

Second, how could I configure different domains with different rules. For instance, if I want one domain to have a catch-all account, where random email sent to erroneous accounts is captured? Or if I want to create accounts which are not based on actual Debian accounts, but instead just random usernames (say, danny@domain.com, mike@domain.com, support@domain.com etc.)?

Finally, which are the best web-guis for doing such configuration? What if the customer wants to himself add accounts? I cannot require him to edit text files - especially if he can thus break the whole configuration for other customers as well.. postfix-admin is one, but it is quite crude-looking. Is there something which integrates both postfix, apache and dovecot configuration? How about Webmin?

View 2 Replies View Related

Debian Configuration :: Popcon Mail Notification Fails?

Mar 5, 2011

I would like to use debian's popularity contest utility as I think it's an important tool for the developers and packagers, but it seems to be broken. I received the following notification after a recent full-upgrade from Lenny to Squeeze:

From MAILER-DAEMON Thu Nov 18 19:14:25 2010
Envelope-to: root@mediacenter.local
Delivery-date: Thu, 18 Nov 2010 19:14:25 +0200
X-Failed-Recipients: survey@popcon.debian.org
Auto-Submitted: auto-replied

[Code].....

View 3 Replies View Related

Debian Configuration :: Getting Lot Of Mail Delivery Failed - Exim 4.72

Jun 15, 2011

I run a mailserver and this is bothering me quite abit. Being going on for about a month now. Running exim4 and dovecot with exim4u. This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

dsghjytyt@yahoo.com
retry time not reached for any host after a long failure period

This is a copy of the message, including all the headers.
Return-path: <andreas@servar.net>
Received: from ip-81-210-201-120.unitymediagroup.de ([81.210.201.120] helo=holly5)
by gwdebian.net with esmtpa (Exim 4.72)
(envelope-from <andreas@servar.net>)
id 1QWpUO-0000yy-ML
for dsghjytyt@yahoo.com; Wed, 15 Jun 2011 14:46:32 +0200
MIME-Version: 1.0
Date: Wed, 15 Jun 2011 14:44:16 +0200
X-Priority: 3 (Normal)
Content-Type: text/plain;
charset="iso-8859-1"
Subject: =?iso-8859-1?Q?lizzie_VIAGRA_=C2=AE_-61%_discount?=
Content-Transfer-Encoding: quoted-printable
From: andreas@servar.net
Reply-To: "RE: Your Recent Job" <Posting>
To: dsghjytyt@yahoo.com
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
Message-ID: <CHILKAT-MID-3b7cf1d5-b3e7-3d78-5c1d-713c0e381cb9@holly5>
X-Antivirus: avast! (VPS 110615-0, 15.06.2011), Outbound message
X-Antivirus-Status: Clean
X-Scanned-By: unscanned primary on gwdebian.net (109.108.198.243); Wed, 15 Jun 2011 14:46:32 +0200
Then alot of random text

I run OSX on my everyday computer so this is not me sending out stuff since the above mail says Microsoft Outlook express has sent it (?) Running a Debian Squeeze server. And I really dont get any other spam due to exim4u setup and spamassasin.

View 14 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

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 View Related

General :: Debian Mail Server As A User Send A Mail With Attachment Maximum Wight Is 5 Mb

Jun 8, 2011

How to configure a Debian mail server as a user send a mail with attachment maximum wight is 5 Mb.

View 3 Replies View Related

General :: Debian E-mail Client Download E-mail Messages

Aug 7, 2011

I need help in setting up the native e-mail client included in Debian Squeeze. My ultimate goal is to have the Debian e-mail client download e-mail messages and process attachments automatically.

View 14 Replies View Related

Debian Configuration :: Sieve Mail Filter For Domain Isn't Working

Sep 18, 2015

The first filter does not work, the second does...why?

Code: Select allelsif allof (
                body :contains ["some text", "Some Text"],
                address :domain :is "From" "amazon.de"
            )
            {
                redirect "someemail@gmx.net";
            }
elsif allof (
                body :contains ["some text", "Some Text"],
                address :domain :is "From" "yellowstone.bohlsen.lan"
            )
            {
                redirect "someemail@gmx.net";
            }

I even saved the amazon.de email from thunderbird as .eml and used it as a testmail to check the second filter

Code: Select allcat /tmp/amazon-main | mail mylocalusername@yellowstone.bohlsen.lan

that worked without problems.

the amazon email address that is sending me mails is:

Code: Select allbestellbestaetigung@amazon.de

#hostname -f
yellowstone.bohlsen.lan

View 2 Replies View Related

Debian Configuration :: Postfix To Block Fake Mail From Own Email

Mar 22, 2016

The problem I have is so simple yet difficult for me to resolve. My Postfix MTA allow fake mails from me@example.com to me@example.com. How can I block them?

For example, if I do "telnet smtp.mail.yahoo.it 25", as I write the MAIL FROM command I get the alert "Authentication required". How can I achieve that?

View 13 Replies View Related

Debian Configuration :: Email Encryption - How To Setup Mail Server

Feb 8, 2010

Could anyone point me to some simple articles that explain what email encryption is and how to set up a mail server (e.g. Exim) that can send secure emails? I know nothing about networks, mail servers, encryption, etc., but I have to be an expert on it before I walk into work tomorrow morning.

View 14 Replies View Related

Debian Configuration :: Can't Send Email From Command Line Using Mail

Mar 17, 2010

I'm running a desktop-less version of Debian via Sun VirtualBox. The reason I'm doing this is because I don't have enough graphics or RAM power to have a desktop environment running on top of my current desktop; also, I want to learn Linux through the command prompt. I'm running the AMD64 version of Debian; I'm not sure if that's relevant.

My main goal is to be able to email useful files from the virtual Debian to my main computer, so that I can save them for later if I ever decide to do a "real" installation of Debian on this computer. I realize now that there's probably some "easy" way to do this by reading the virtual machine's hard drive, but at this point, my curiosity wants to see this issue resolved. I started off wanting to find a command-line program to send my email with, and one was built-in. The syntax ~$ sudo mail -s "Subject" email@yahoo.com "This is a test email."

C^D
Cc:C^D ~$

is what I found. I tried it, and (unsurprisingly), it failed. I then learned that the mail command calls exim4, or something along those lines, so I needed to configure exim4. Soon thereafter, I learned that Yahoo's SMTP wasn't public, but Google's was. So, I found this web page which described how to configure exim4 to allow for email to be sent to a Gmail account. I made one, and followed the page word-for-word.

I sudo-mailled a test email to my Gmail account, and nothing happened. I waited a bit longer, and still, nothing happened. Finally, I started looking around, and found out about the exim4 logs in /var/log/exim4. In my mainlog, I think that it's telling me that Google denied my connection: <date><time><random numbers and letters> == **********.gmail.com R=send_via_gmail t=gmail_smtp defer (111): Connection refused

So, now, I'm just stuck. I don't know what I did wrong, I checked my exim4.conf.template twice for spelling errors, but I don't think I made any. At this point, I can only hope that someone else has had a similar problem, or knows what I'm doing wrong (or haven't done yet).

View 14 Replies View Related

Debian Configuration :: Anti-spam Proxy For Mail On Server?

Jun 20, 2010

I was wondering if there was some kind of anti-spam proxy available for debian, that could serve as a layer between my ISP's mailserver and my email client. Something light, as it needs to be installed to a guruplug server with not much storage available. It would be great if I don't need to configure a fully fledged mail server but if it can function on it's own, only filtering spam messages. I already found assp and qpsmtp, but I find these very difficult to setup and assp is like huge.

View 1 Replies View Related

Debian Configuration :: Adding Router For Mail Service Function?

Jun 10, 2011

I'm building a Debian based router, I want to add to this router a mail service function. I don't want mail to be sent outside of the network, what I want is the ability for services to send mail to the Debian server and for me to then pick them up from this server via pop3 into my normal mail application. Given I'm not looking for mail to be sent outside of the network and its strictly for services to log notifications via. What of the various mail applications should I setup? i.e. just looking for SMTP + POP3 internally.

View 5 Replies View Related

Debian Configuration :: Send Mail From System Commandline As Root User?

Jul 26, 2011

I tried to send mail from my debian system commandline as root user But i did not get the mail in the destination email inbox No errors was shown

View 1 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

General :: Add ISP Mail Relay To DNS Configuration

Jul 26, 2011

I am trying to get ISP to relay mails for me if my mail server is not available and they are sking me to add their relay name in to my DNS configuration.

View 4 Replies View Related







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