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
ADVERTISEMENT
Oct 29, 2010
Alright guys, I've looked over every thread regarding this issue on this forum, and many others; yet I cannot find out why my mail is being bounced without error from my external gmail account.From what I've seen, you guys need to start off by seeing my postconf -n
Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
[code]...
View 9 Replies
View Related
Jan 12, 2011
The scenario: We have an external server that runs HTTP/DB servers for out shop system. Then, there's our local, in-house infrastructure that runs a.. yeah... Exchange 2010. The shop system on the external server needs to send mails to customers (order confirmations, invoices, etc.). seing as sending them directly through the local MTA (Postfix) would cause mail delivery problems because of reverse DNS issues, i've set the Postfix MTA to act as a satellite to our in-house Exchange Server, so the Exchange sends the mail instead, giving recipient mail servers a valid reverse DNS lookup.
Now, mails sent by the (proprietary, uneditable) shop system are relayed correctly and sent to the target e-mail address. My problem is: Mails not sent by the shop system, but by our own PHP scripts which run on that same external servers, are NOT relayed properly. So the Exchange is fine with the mails sent by the shop system, but not the mails sent by our scripts. This is what i get in the mail.log: The successfully relayed mail sent by the shop system:
[Code]....
View 2 Replies
View Related
May 6, 2010
My courier server cannot recieve mail.
My freebsd installation has worked for quite some time w/o problems.
I'm using ubuntu as a replacement and have tried using the same settings from my previous server.
I keep getting the following error.
courieresmtpd:
View 1 Replies
View Related
Mar 17, 2010
I wrote/cobbled-together this nifty sendmail script to read some logs and take some disk stats. basically i'm reporting on rsnapshot. When I run it as
Code:
sudo /etc/rsnapshot/mailSta.sh
Everything works wonderful and the emails arrive as expected and fires off an email to two accounts at a remote server
View 1 Replies
View Related
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
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
Dec 23, 2010
I have 2 email accounts set up in Thunderbird - one is gmail and the other was given me by our server admins few years ago. Everything works fine on windows but when I try to send something from the second account (not gmail) in ubuntu it says that password is incorrect. Ive double checked all settings and seems like everything set correct. Now the most interesting part: when I set up this account as root (gksu thunderbird and then do same as I did under my account) everything works perfect.
I found only one thread at this forum with same issue and sure it's not solved [URL]..
View 7 Replies
View Related
Nov 3, 2010
how can attachment sends through mail command in linux with mail command either with mail -s or -v option also please confirm how to download the attachments from it . and how one should knows with mail command that attachment is present with the particular mail
View 4 Replies
View Related
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
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
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
Apr 16, 2011
I'm new here and I'm sure this question has been thrown around a lot but I just couldn't find a solution. I have a networking website I've setup and we need to send notification mails to our members depending on activity related to their profiles(messages, comments etc).We are hosting the site on Centos5.6 with VirtualMin and are using Postfix as our MTA. We also use google apps for email on the site. Heres the problem, the mails go through for some gmail users but more often than not, they end up in gmail,hotmail and yahoo spam.We've setup the appropriate SPF codes on the server, DKIM and rDNS works fine.v=spf1 ip4:xx.xx.xx.xx a mx include:_spf.google.com ~all Below is a sample email that goes directly into gmail spam. I've replaced the actual values with dummy text (Ip, Domain etc)
Delivered-To: my.email@gmail.com
Received: by 10.143.165.5 with SMTP id s5cs223598wfo;
Fri, 15 Apr 2011 08:38:22 -0700 (PDT)
[code]...
View 1 Replies
View Related
Jan 6, 2010
I'm new to mail via the CLI, so bear with me. I have this line in my crontab:
Code:
*/5 * * * * fetchmail
Which does check my mail every 5 minutes fine. But I get the command-line output mailed to
[code]...
View 3 Replies
View Related
Feb 3, 2010
i have a website, there is a button that u click fill out a form and sends u a link to download a trial version of our software, the message gets sent with out html.. i copied a sample below (edited out some personal info)
Code:
Content-type: text/html; charset=iso-8859-1
From: ******.com>
[code]...
View 10 Replies
View Related
Jul 1, 2010
I am running CentOS 5.5 and am trying to get Nagios to send out Emails.
After a bit of reading I have the following in my /etc/mail.rc file:
Code:
[root@linux ~]# cat /etc/mail.rc
set ask askcc append dot save crt
ignore Received Message-Id Resent-Message-Id Status Mail-From Return-Path Via
set smtp=172.29.1.76
You have new mail in /var/spool/mail/root
[root@linux ~]#
I have Nagios setup correctly and introduced an error to generate an Email but nothing has come through.I suppose I have two questions:
1. Is mail.rc setup correctly?
2. Can I test to see if mail.rc is working correctly?
View 4 Replies
View Related
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
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
Jan 18, 2010
Is there a way to configure exim4 to bcc all new incoming emails to another email address? My boss wants a copy of all outgoing emails.
I know postfix can do this with a bcc_always option. Im sure exim4 should be able to also.
View 3 Replies
View Related
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
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
Mar 14, 2010
my network expertise is tenuous at best. This started because one computer on my network is having trouble updating Google Toolbar information. This is a laptop which joins other wifi networks outside of the house.
Code:
BROKEN:~$ ping toolbar.google.com
PING toolbar.google.com (208.68.139.89) 56(84) bytes of data.
[code]....
View 9 Replies
View Related
Mar 17, 2010
I updated Kubuntu from 8.10 to 9.04. After the update, I saw a problem with VPN connections. I am using an mac pro with 2 ethernet ports. Only one of them is connected to switch. I am using a static IP in my local network. The problem is that I lose dns information after connecting and disconnecting to a VPN by KVpns.As I am using static ip, I entered my dns server to resolv.conf file with "nameserver 192.168.128.4". My interfaces file is as follows:
auto lo
iface lo inet loopback
address 127.0.0.1
[code]....
View 1 Replies
View Related
Jan 2, 2011
Something is definitely odd here:Quote:
[rena@mercury:~ 500]
$ hostname
mercury
[code]....
View 9 Replies
View Related
Feb 16, 2011
I'm trying to get dhcpd to use a specific IP address as the source address for responses it uses an IP address for. I coded "local-address 172.30.0.4" in the config file. For some responses it uses this address. For some other responses it does not. In those cases it uses the IP address that is the first on the interface. Is there another configuration I should be using, instead?
View 2 Replies
View Related
Aug 3, 2011
Our primary mail server is Exchange 2003 Standard on Windows Server 2003 Standard - don't shout at me; I inherited it already set up this way.I have a couple of hardware identical redundant servers (HP ML350 boxes), all with very fast 2 or 4 disk arrays, multiple core CPUs and plenty of memory, and I am looking at two potential new additions to the infrastructure.
A secondary mail server is high on my list of priories. I've been well and truly bitten by Exchange in the past and given that this particular box has been running four years straight and that it's mail store is dangerously large, having a secondary mail server in place suddenly makes a lot of sense.
A new Exchange 2010 box is currently being set up, but the secondary mail server will remain in place even when the new Exchange server is brought online, so this won't be a wasted exercise.... I also want a gateway box in place to filter and relay mail to the primary server, or to the secondary server if the primary is unavailable. Currently our outer perimeter is:
ISP supplied CISCO router
Draytek VigorPro 5510 UTM
Untangle running in bridged mode (primarily used for SPAM filtering, URL blacklisting, and very little else) Exchange 2003 sits behind the Untangle box. This is how I want to end up:
CISCO >> Draytek >> Ubuntu gateway >> Exchange/secondary mail server
I know I could replace/remove the Draytek but I want it to remain for several reasons, including lots of VPN dial-in users already configured and that it offers us an additional layer of email antivirus scanning before things hit the Exchange box. No point switching all of our remote workers over to new tunnels unnecessarily...
I have done some research and have started testing a pilot secondary mail server using Ubuntu/postfix DNS is properly set up and MX records and reverse PTR records are all present and correct, and things are looking encouraging so far. Before I go out over deep waters and start to flounder, has anyone who has done something like this got any obvious howlers I should be looking to avoid ?
View 2 Replies
View Related
Jun 30, 2011
I set up my mail server using the guide here: [URL] I am able to receive mail, I can send mail locally, but I can't send to external addresses. This is in my mail.log: Quote: Jun 30 14:40:43 Server postfix/smtp[10725]: 2FD9322015BF: to=<myemail@gmail.com>, relay=none, delay=1634, delays=1484/0.02/150/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[74.125.65.27]:25: Connection timed out)
This is my main.cf:
[Code]...
View 6 Replies
View Related
Jan 29, 2010
I just configured my first postfix mail server today. Everything is working correctly except for the fact that on all outgoing emails instead of the mail format being user@mydomain.biz it says user@hostnameofpostfixserver. I've looked everywhere I can think and I cant see where I'm substituting the host-name of the server for the domain name of my email. Where else could it be?Below is my main.cf. I am running ubuntu 9.10.# See /usr/share/postfix/main.cf.dist for a commented, more complete version# Debian specific: Specifying a file name will cause the first# line of that file to be used as the name. The Debian default
View 2 Replies
View Related
Mar 4, 2011
i installed slackware current straight(make iso from it and installed on clean disk) and i installed Multilib current from alien and now when i wanna compile wine source its write
"configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
[code].....
I checked i got that libaries in /lib and /lib64 why it doesent work it was working on slackware 13.1 with multilib
View 4 Replies
View Related
May 20, 2011
Hey guys. I have a client computer PXE booting from my host computer and it is supposed to give the client the ip address 172.16.0.100 however instead it gives it the ip address 172.16.0.208.
I have this set up working with two other computers and there is no noticeable difference other than mac addresses for the network card.
Here is an extract from my '/etc/dhcp3/dhcpd.conf' file...
ddns-update-style-none;
option domain-name "example.org";
default-lease-time 600;
max-lease-time 7200;
[Code]....
I have quadruple checked the mac address of the client and it is definitely "00:07:E9:32:16:81" so why is it not giving it the IP address that I have specified?
View 2 Replies
View Related