Ubuntu Servers :: Postfix Configuration - Send Mail To Other Domains

Nov 5, 2010

Let me start off by saying I am experienced with computers, though my knowledge of Linux and networking is limited. I've just recently started setting up a Ubuntu 10.04 server to be a SMTP server. I've followed this guide by the letter: [URL] What I've attempted, to test the server, is the following:

telnet localhost 25
ehlo localhost

(this returns all the desired information) I then do a MAIL FROM my domain which is accepted, and try to do a RCPT TO an external mail server (gmail) to test sending an email. I am then told 'Relay Access Denied'. I'm sure that there's something fundamental that I'm either not understanding or not doing correctly. I simply want an SMTP server that can send to other domains. What do I need to do?

View 1 Replies


ADVERTISEMENT

Ubuntu Servers :: Postfix Configuration Can't Send E-mail

Apr 23, 2010

I am trying to make my elastix voip server to send and receive e-mails. It has built in Postfix mail server, and i tried to configure it.I am not sure about some parameters, such as domain and hostname.Either way, i will attach my config file and the errors that i get from log and mail queue as i get them from webmin.

View 7 Replies View Related

Server :: Configure Postfix To Relay Mail To Multiple Internal Mail Servers With Different Domains?

Aug 6, 2010

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.

View 2 Replies View Related

Ubuntu Servers :: Can't Send Mail Using PostFix - Only Receive Mail

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

Ubuntu Servers :: Configure To Send And Receive Mail From Multiple Sub Domains Of Domain?

Jun 14, 2011

I want to configure a single mail server to send and receive mail from multiple sub domains of my domain. I've already installed Postfix/Dovecot and it is perfectly working for mydomain.com. And also installed roundcube for Web Mail. Can I further customize this setup to process mail to sub domains? ex- someone@subdomain1.mydomain.com, someone@subdomain2.mydomain.com, someone2@subdomain1.mydomain.com (someone@subdomain1.mydomain.com and someone@subdomain2.mydomain.com are 2 separate users. they should be able to log on to web interface separately)

Currently i use system account names as email user names. (ex - systemusername@mydomain.com). The only MX record in my domain DNS pointed to current server (mailhost.mydomain.com). I read about postfix virtual domains. but couldnt figure out how to use it to achive my target. I do not need configuration details. Just explain me the way to do it. I can do the rest my self.

View 1 Replies View Related

Ubuntu Servers :: Postfix Slow To Send E-mail

Jan 21, 2011

I'm on Ubuntu 10.04 and using Postfix 2.7 with Dovecot's SASL. The issue is when sending e-mail it takes a bit of time to send. LIke for it to get connected it takes around 15.20 seconds. How can I reduce this delay so it can be sent faster?

View 2 Replies View Related

Ubuntu Servers :: PostFix Won't Send Remote Mail

Feb 9, 2011

I have spent the last 24 hours searching the internet for an issue to resolve my problem. I have tried the verious solutions posted by people and followed endless amounts of tutorials

In the end i followed [URL] line by line

This allowed me to recieve email fine, but only send email locally.

I either get a "Relay access denied" message, or as of last night is is now "Recipient Address Rejected"

Below is a link to my Main.cf file

[URL]

View 3 Replies View Related

Ubuntu Servers :: Send Mail Doesn't Postfix SASL Work

Nov 27, 2010

I'm running a server with Ubuntu 10.04 and I have installed postfix and courier. The server can recieve mail and I can fetch them using POP, but when I try to send mail it doesn't work. Postfix itself can send email if i telnet from localhost and I am using my ISP as a relay because they block port 25. I'm using outlook 2007 on my client computer and it just says that the server rejects the login attempt and tells me to check my username and password. Postfix listens on port 12 as well because the client connection also has outgoing on port 25 blocked. I have tried to use telnet to connect to the server, and I can connect. This is what I get:

[Code]....

Now what? I've tried searching for the answer but all I can come up with is AUTH PLAIN or AUTH LOGIN, but I don't know what to type after that.

View 2 Replies View Related

OpenSUSE Network :: Mail Server Configuration - Postfix To Send Incoming Emails To A Php Script Or Perl

Aug 13, 2010

I have a server with a domain running and im trying to resolve the mail server but i can't see where to start. I use OpenSuse 11.2. Basically, for starting, i want postfix to send incoming emails to a php script or perl. for outgoing emails i guess that i could use php mail function and i will see what else to have. I configured the dns. I do a dig.mydomain.tld MX and i get the following:

mydomain.tld3600INMX0 mail.mydomain.tld
mail.mydomain.tld 3600INAmyNumericalIp

So now my system is receiving MX content but i dont know what to do.

View 9 Replies View Related

Server :: Postfix Not Delivering Mail To External Domains?

May 23, 2009

i have configured postfix to deliver mail from an internal mail server to external domains... however i keep getting this errors

Code:

un 10 23:23:59 smtpserver postfix/local[28831]: 7800CF0058: to=<root@smtpserver.domain>, orig_to=<postmaster>, relay=local, delay=0, status=sent (delivered to mailbox)
Jun 10 23:23:59 smtpserver postfix/qmgr[5989]: 7800CF0058: removed
Jun 10 23:25:19 smtpserver postfix/smtpd[28824]: connect from unknown[192.168.5.22]

[code]....

View 2 Replies View Related

Server :: Postfix: Sending Mail From Multiple Domains?

Jul 20, 2009

I'm running a server with two sites which both need to be able to send emails. Currently I have Postfix set up to send email via Google Apps. This works fine, but Google's servers ignore the From: address I specify and substitute the one I logged in with. Is there a way to make Postfix log into Google Apps with a different username based on what site the email is coming from? The server does not recieve any mail itself; Google recieves it and we have it set to forward it to the appropriate person's real email address. I'm only worried about sending mail.

(Postfix is not a requirement here, so if there's another mailer that can do this better, I'm open to ideas. However, sending email directly from the server isn't an option as it's a residential IP address and blocked by most of the big email providers.)

View 6 Replies View Related

General :: Restrict Users To Send Mail To Outside Domains

May 28, 2011

How to restrict users to send mail to outside domains in qmail server, i have centos and qmail installed

View 14 Replies View Related

Server :: Setting Up Postfix As Outgoign Mail Relay For Several Domains / Hosts

Oct 6, 2009

I would like to setup postfix to act as a relay for the outgoing mails of a couple of servers each serving it's own domain.The mails we are talking about are standard administrative emails like user registration, password reset request. The volume of those mails will naturally grow as the site grows. Which for me poses the problem that depending on the growth of the site you will sooner or later hit the quotas imposed by (my otherwise preferred) providers like GMail or smtp.com.

So what I need is a mail relay that will only accept mails from authenticated clients from hosts in its access list and relay their mail without restrictions. Is that possible with postfix? What has to be changed in the config and what are the pitfalls?

View 1 Replies View Related

Server :: Configure Mail With Postfix & Cyrus-imap - Cannot Send Mail Through Command Line

Nov 19, 2010

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.

[Code]....

View 9 Replies View Related

General :: Send Mail From Domain As A User That Does Not Exist As Well As Email From Other Non-existent Domains

Jul 31, 2010

I have a server with a static IP that I use as a sendmail server. The problem is that port 25 is exposed. As a result, anybody can login to the SMTP server and send mail from my domain as a user that does not exist as well as email from other non-existant domains. I'm sure there are sendmail options that I can enable to do some checks, like if the user exists on that server or if the domain is the same on the server, etc. I was wondering if you guys can mention a few that I can add to my sendmail.mc file?

I have thought about auth login, the problem is if auth login is on my public port then I won't be able to receive email from gmail because it would be unauthenticated. Also, I only have 1 mail server. I know the ideal solution is to have 2 mail servers. One for outgoing mail/internal mail server where you can enable auth login and the other for incoming mail which just acts as the relay to the internal mail server. That way spammers can't login to send mail out. That's another question I had, how do I configure sendmail to only send email out/in?

Anyhow, so I have to make do with 1 mail server for now. So I decided to add a few rules on iptables. I grabbed the IP range that gmail uses when I receive mail from then and added it to my iptables with the following command.

[Code]....

View 2 Replies View Related

Ubuntu Servers :: Postfix Not Relaying To External Domains?

Jan 16, 2010

I'm having a problem with a new install of postfix... it won't relay mail to external domains. Internal mail is fine.I'm using virtual_mailbox_domains so that I can have multiple domains, and I've set dovecot to use local files with encrypted passwords.Here's my main.cf

Code:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases

[code]....

View 2 Replies View Related

Fedora Servers :: Multiple Domains With Postfix

Aug 4, 2010

I have Postfix + Unix Accounts + Virtual Domains. I have a bunch of domains hosted on my machine, let's call them [URL] [URL] and [URL]... etc Until know, domain2.com, domain3.com were mapped in virtual domains to [URL] So this is how /etc/postfix/virtual looks like:

[URL]

Like I said, all mail accounts are unix accounts, so, if for example I have the user "paul" this user will receive e-mail for ALL DOMAINS. [URL]But as it turns out, I now need a COMPLETELY ISOLATED domain... let's call it [URL]. So If I create a new user, let's call it "steve" I want steve to receive e-mail ONLY on [URL] and not on all others.

I would have to redo the whole thing from the beginning. I'd have to comment out the $mydestination parameter in the main.cf file and start using only virtual domains. So if I have the following users: paul, steve, sally, megan, jenny and I want paul and steve to ONLY receive mail for domain1.com, sally and megan to receive mail for domain2.com and jenny to receive mail for domainX.com, my /etc/postfix/virtual file would have to look like this:

[URL]

I'd have to create the unix account and then start modifying the /etc/postfix/virtual file.

View 1 Replies View Related

Ubuntu Servers :: Setting Up DKIM AND POSTFIX FOR 9.10 WITH VIRUAL DOMAINS

Apr 16, 2010

setting up DKIM AND POSTFIX FOR UBUNTU 9.10 WITH VIRUAL DOMAINS

View 1 Replies View Related

Ubuntu Servers :: Can't Send Email To External Domains

Jan 9, 2010

I've set up a mail server using Postfix + dovecot. It works just fine sending email to users in my domain. However, I can't send email to external domains (like gmail, yahoo, etc) different than mine. I've tried sending from a remote connection using Evolution and I get the following message on mail.log

Jan 8 10:45:20 mail postfix/smtpd[14911]: connect from unknown[]
Jan 8 10:45:21 mail postfix/smtpd[14911]: NOQUEUE: reject: RCPT from unknown[]: 550 5.1.1 <lobomacz@gmail.com>: Recipient address rejected: User unknown in local recipient table; from=<user@mydomain.com> to=<lobomacz@gmail.com> proto=ESMTP helo=<[10.24.4.230]>

[Code].....

View 2 Replies View Related

Ubuntu Servers :: Sendmail Can Only Send To External Domains

Jun 15, 2011

When I use sendmail (or, most commonly, a PHP or Perl script uses it) to send to any other domain except my own, it works great. When I use it to send to my own domain, however, it's trying to deliver it to localhost. Problem is, all our mail is handled by an Exchange server on a different machine, so I really don't want If I run sendmail manually for a test message to myself, here's how it comes up after the message is closed out:

Code:

echo "Subject: test" | /usr/sbin/sendmail -v me@domain.com
354 Enter mail, end with "." on a line by itself
>>> .
050 <me@domain.com>... Connecting to local...

[code]...

The message then gets dropped into my box at /var/mail/xxxx, but that's really not helpful to me -- I need to to connect to that other machine to deliver the mail there. This machine isn't used as a mail server at all. Also, if it's trying to send to a username that doesn't have an account on this server (we have many), it just fails entirely with "user unknown" (that makes sense, as there are only a couple of user accounts on the web server). how to get sendmail to connect to our mail server instead of "local"?

View 4 Replies View Related

Networking :: How To Send Mail Using Postfix

Mar 11, 2010

recently i configure postfix on my fedora core 9 system i want to send mail from one user to another till now i did not create any user, i just configure the main,cf file with the help of some link i found on internet

here is my main.cf file

# Global Postfix configuration file. This file lists only a subset
# of all parameters. For the syntax, and for a complete parameter
# list, see the postconf(5) manual page (command: "man 5 postconf").
#
# For common configuration examples, see BASIC_CONFIGURATION_README

[Code]...

i dont know what i should write about my main.cf file so i post the whole file here.

so can anyone tell me is that the configuration is correct and and how do i create new user to my domain name and how can i send and receive mails from one user to another user using postfix

View 118 Replies View Related

Server :: Cannot Send Mail Outside LAN With Postfix

Apr 4, 2010

My problem is that I cannot send mail with postfix. For all mail I get connection timeout Example: (delivery temporarily suspended: connect to [URL] Connection timed out)

View 13 Replies View Related

Server :: Postfix Can Not Send Mail

Jan 21, 2011

telnet localhost 25 when rcpt to:mike@test.com ,report error: 451 4.3.0 <lisi@test.com>:Temporary lookup failure

View 1 Replies View Related

Server :: Postfix Wont Send Mail?

Jan 8, 2011

I'm having a problem with Postfix sending email. To be more specific, Postfix sends mail perfect but when my web server running webmail (RoundCube) connects to my mail server to send email, it fails & there is nothing in the logs that explain to me why:

Code:
Jan 8 11:53:02 mail dovecot: imap-login: Login: user=<carlos>, method=PLAIN, rip=192.168.0.201, lip=192.168.0.200, mpid=2161, TLS
Jan 8 11:53:02 mail postfix/smtpd[2162]: connect from www.iamghost.org[192.168.0.201]
Jan 8 11:53:02 mail postfix/smtpd[2162]: setting up TLS connection from www.iamghost.org[192.168.0.201]
Jan 8 11:53:02 mail postfix/smtpd[2162]: Anonymous TLS connection established from

[Code]...

View 7 Replies View Related

Server :: Unable To Send Mail Using Postfix

Jun 10, 2010

I have recently installed the ISPCP web hosting control panel. It seems that after a while running and testing I can receive but I cannot send e-mail. basically I get an error which goes

Code:

postfix/smtp[5939]: connect to alt1.gmail-smtp-in.l.google.com[72.14.213.27]:25: Connection timed out

I have, in the recent past, been able to send e-mail so I know that there is something that has gone wrong with my configuration, which I cannot. I post here my master.cf and my main.cf files as well as the mail.log file and the mail.warn....

Ubuntu Server 8.04 LTS 64x
spCP 1.0.4 OMEGA
build: 20100228
Codename: Priamos

View 2 Replies View Related

Ubuntu :: Postfix - Can't Send Email To 1and1 Mail Server

Aug 9, 2010

what do I need to change in postfix/ dns to send email to one one of the email server hosted by 1and1.

I'm using zenoss to monitor system/ network and devices. I wanted to setup email notification , so I installed postfix. All works fine when I use my private account on yahoo or hotmail. but when I specify email account that is hosted by 1and1 I receive error 421. "

xxxxmyserver postfix/smtp[5399]: B0A5B22A06: to=<1and1emailaddress>, relay=mx00.1and1.co.uk[212.227.15.169]:25, delay=0.8, delays=0.04/0.02/0.62/0.12, dsn=4.0.0, status=deferred (host mx00.1and1.co.uk[212.227.15.169] said: 421 invalid sender domain 'xxxxmyserver' (misconfigured dns?) (in reply to RCPT TO command))

View 1 Replies View Related

Software :: Postfix With Dovecot On Ubuntu 9.10 Mail Send Error

May 8, 2010

i installed a new server ubuntu server 9.10 with lamp, etc.

after which i followed the following tutorial to setup

Postfix, DoveCot, Squirell

[URL]

It was working fine till here. After which i installed the spamassain which also got configured perfectly.

I can send only 1 or 2 mails after which i get error

here is my confid file of postfix

Quote:

# 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
# is /etc/mailname.

[Code]....

View 1 Replies View Related

Server :: Postfix Cannot Send Mail To Users In The Same Machine?

Jun 22, 2010

i am trying to set up a mail server that will support users in a LAN in my school. I am using postfix on a Mandrakelinux distro.

I can send mail when I am root to the other user on my (same) machine both when in command line (mail command) and on Graphical mail client (Kmail ) but the user (sam) cannot send mail to the root account on either interfaces.

I followed the postfix configuration settings on John_Wiley_-_Redhat_Linux_Networking_and_System_Administration_3rd_Edition.

View 5 Replies View Related

Ubuntu Servers :: Sending Mail From Multiple Domains?

Apr 6, 2010

how can i configure my server to send mails from about ten different domains i use google apps and want to know if its possible. Because it sends mail but all goes to spam and i have a static ip

View 9 Replies View Related

Ubuntu Servers :: Mail Server For 400 Small Domains - Which One To Use?

Sep 1, 2011

I am going to try and replace our crappy Windows/imail server with a new ubuntu 10.04 LTS based machine. It will end up with about 400 domains on it with around 3000 users total. 96% of the domains have very light use. 4% of the domains have heavy use but do not send any bulk mail.

Can someone here recommend a mail server software package that would be easy to administrate and easy to backup/replicate? All we need is POP with webmail. We do not need IMAP or want any group/collaborative functions.

What do you usually use for anti-spam on a linux mail server? We want to keep it all open source if possible.

For hardware we are looking at an HP DL360 G5 with dual Xeons, 4G of ram, and the P400 controller with 6 SAS 15k drives. Do you think a server like this will be able to handle the mail on linux? Volume is around 400k messages a day inbound with about 10% being legit/90% being spam. The server will be dedicated to mail hosting and will not host websites.

View 1 Replies View Related







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