Server :: Setup An MTA To Pass Mail Onto An External ISP/mail Provider?
Jul 1, 2009
I have a Fedora 10 machine that I want to setup to send email. However I don't want it to be a full blown SMTP setup.What I am looking to achieve is when something sends email from the local machine (e.g. from cron) to an address I want it to use an MTA on the local machine which will then connect to, and authenticate with, my e-mail providers SMTP server this will then take care of actually sending the e-mail.I don't want, or need, to setup a full blown SMTP service (i.e. only the local machine should be able to use it) so sendmail seems a bit over the top for my needs. Nor do I want to mess about with MX records (am I right in thinking this will mean I have to manage all mail for my domain?).
There is an requirement, intranet people they may not have internet access but they want to send mail to external domain(internet),but in that intranet network one machine can have internet access. Is there any solution for this requirement.
I am setting up a CentOS box as a NAT firewall that needs to also send mail. It needs to send this mail using an outside provider's SMTP. The provider requires SMTP over SSL. None of the machines inside the NAT will ever send mail except via the provider's SMTP nor will they ever receive mail except to local clients via the provider's IMAP servers.
So for the example the machine is TESTMACHINE. There is one internet facing ethernet port connected to a DSL modem via pppoe.
The SMTP it needs to send mail via is mail.host.net which requires SMTP over SSL (port 465) and username/password authentication.
The sendmail documentation is quite confusing on how to get this simple setup operating, so an example showing the appropriate changes to sendmail.mc and other require config files.
Through yast2 I went to network services-->Mail server and took the standard option. My connection type is Permanent, filled in the outgoing server information and got to the incoming mail screen.
I told it to accept remote SMTP connections, open a port in the firewall and bypassed the downloading section since I just want to directly receive mail (I did however tell it I wanted a daemon to fetchmail). Told it to forward root's mail to me and a delivery mod of Directly. And finished.
The system sends mail out but I can't seem to receive any. What did I do wrong or what else do I need to do?
The question is pretty much the same as the subject. I have a bunch of debian servers - most of them running exim4 default installations configured as internet site using dpkg-reconfigure exim4-config. It can send mails fine from php scripts and some other applications, but I can't seem to find a way to forward all root mail to some external address. I have tried adding "root: someaddress@example.com" to /etc/aliases and run newaliases command, but it doesn't seem to work.
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?
Currently, his mail is coming in on 2 addresses. He'd like to take the mails from one source and add it to the other.
The idea is to fetch the mails from the least used address - on the provider's POP server - and forward it to the other address. He can use the SMTP server from the same provider to send off the forwarded mails.
This operation would be cron'ed to run every few minutes.
I'm in the process of starting a migration from an old postfix server to nice shiney new exim server however there are a few things i'm really not clear on and i'm hoping that some one here could point me in the correct direction. Okay the postfix server at the moment does the follwoing ( i'll try and keep this simple ):
* accepts incoming mail for users on multiple domains and puts the mail in the users mailbox ( external -> internal )
*accepts mail from users on multiple domains to pass on to the outside world ( internal -> external )
Obviously the POP and Imap functions are handled by other daemons.. I'd like to replicate this sort of setup on the new exim box, however the guides i can find only help with configuring the exim system for incoming mails ( external -> internal ) for multiple domains and i cant seem to find a guide that would indicate how to do both ( internal -> external and external -> internal ) on one box. I'm guessing i may have to do some sort of auth to get exim to accept and then handle the internal -> external side of things?
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:
xx@xx.com SMTP error from remote mail server after initial connection: host [URL] [ip address]: 550 Access denied...
I have a problem relate to posttfix.I want to mirgare postfix mail server to exchange 2010 mail server but I can't do it,u can help me.You can show me have to do configure postfix and exchange how to?
How do I make a local mail server that itself is a client to a WAN mail server.I want the local mail server to query new mail every 30 minutes from the WAN server.
I've setup my server by following a ton of goods, and it seems to work ok, but I need to start using my server for email in order to receive orders placed via my website. I've followed this guide - [URL] I followed the steps above, and tested the mail server via telnet, and all seemed to be ok. I tried sending an email via Squirrelmail, from cs@thinclientwarehouse.co.uk TO my working email simon@c1systems.co.uk, but the server returned with the following message:
<simon@c1systems.co.uk>: host mail.c1systems.co.uk[95.128.128.129] said: 550-Verification failed for <cs@localhost.thinclientwarehouse.co.uk> 550-The mail server could not deliver mail to cs@localhost.thinclientwarehouse.co.uk. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries. 550 Sender verify failed (in reply to RCPT TO command)
I have installed F11 on my server bythis article! I have problem with certificatewhen I connectin from clients computers to my mail server for reciving mail! I have warning like this
I have set up postfix and dovecot as per the Ubuntu anual and appear to have a functioning mail server.Using the sendmail command I can send mail and I receive mail in ~/Maildir. Using Thunderbird I can read any mails received but I can't send any mail from Thunderbird. I have tried with both STARTTLS and SSL/TLS and whilst I get the prompt for a password I keep getting the message my password for my server is wrong.I have ports 25, 465, 587 and 993. Is that all the right ports?When I ping my domain name it resolves to my router name whereas I believe it should resolve to my IP. Could there be a problem with my host file? I've had a play but to no avail.Here's the error in mail.log.
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:
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 ?
I have setup a postfix mailserver and it seems to be working ok, we are only using this to relay mail to our forum users. Its not being used to recieve any email only send them out to the internet.
What is the difference between the mail.log and mail.info files? Can I turn one or both off? I see alot of messages like...
Just wondering what this string of log entries means? Also I am getting duplicates in the syslog file as well.
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: xx@xx.com SMTP error from remote mail server after initial connection: host [URL] [ip address]: 50 Access denied...
Two exchange servers internally. One is setup for example.com (192.168.1.10) and the other is setup for example2.com (192.168.1.20) Both are behind a single public IP.
I want to use postfix to sit in front of the two exchange servers. Postfix will accept mail for both domains and relay to the appropriate server. I have postfix installed with only defaults at this point.
I'm running SUSE linux Server version 11. I want to configure mail server with postfix & cyrus-imap. For that, i have read many documents in Internet by i met issues. I'm running DNS in this server & it's ok Now I cannont send mail through command line.
I have to administer a few mail servers, a mail log server, 4 nameservers and a web server -all running on Centos 5 server distributions. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and mail log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves. I have already installed VMWare Server 2.0 I have a few questions:
- How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? - How do I actually do this cloning? Is there a tutorial on how to do this?
i have an server which have my site on it, server have an public ip and site works fine..the thing that i done to enable mail server is :
1.select sendmail option as mail server(in joomla). 2.install and configure sendmail in server (which ubuntu installed on it )
**if i use my website locally mail server works fine i can send message and receive , but when i use web site from Internet mail server seems not working at all
I do not know where the problem occurs, but when sending mail through FCI mail () on the Gmail e-mail fails to deliver. The logo is not a bug and should be on the list, center, walks etc mails totally normal, but gmail does not pass anything. Nothing in the spam ... I tried to create a new mail to Gmail and send the message, and nothing may be ...
You have no idea where it could be a potential bug? from webmail to send mail to gmail is realized, but through the mail () not ... I thought that the problem is in a blacklist from Google, but a week ago, we changed the IP server (migration) and the problem still persists ..
i basically had this system installed for our mail system.The setup is as follows:
1. Operating system installed is Debian ver. 5.0.3
2. Roundcube is installed as a webmail(if its right for me to say that)
3. The server is hosted right here at our offices
4.The server uses relay system to send mail i.e. relays all our mails to our ISP
That all i can say about the configurations becuase thats as much as i understand it.The problem now is that we are not able to send or recieve emails from both internal and external.I tried to send mail to a collegue in the office who is on our local LAN,Roundcube says sent successfully but the person does not recieve the mail.i tried to send to my yahoo address but nothing.I dont know where these mails have been trapped.
i'm trying to send a mail with "mail" on my cent os console , but without success. In Suse it's quite simple with "mail": mail -r sendersaddress@domain -s "subject" targetaddress@domain </tmp/filewithcontent
I would like to set up a mail and instant messaging server running on squeeze.It will be running on a 1ghz celeron (pentium 3 era) with 1gb ram and 10gb hdd (I'm assuming these are high enough specs) It will have less than 10 accounts and probably no webserver (not sure if good idea). I am also unsure of what IM protocols would be best for this. I would prefer to do all this from the command line if possible (so long as it's not too hard) and preferably from a remote machine (so SSH?) I prefer IMAP if possible but pop3 and smtp are also fine. I would also like to be able to connect remotely with encryption (not a big requirement -just a nice feature)
Planning to put a bugzilla server for bug reporting at our office. I have loaded and configured bugzilla on one of our machines running CentOS5.4. And there is another machine on CentOS5.4 that is running Zimbra community edition. Both are distinct machines. Zimbra is running fine and so is Bugzilla. I want bugzilla to use this Zimbra server to send mails so that I can use this internal mail server for my purpose. This is the first time I am putting up bugzilla and have never worked on it but documentation helped. But I could not find any reference on how to do this?