View Full Version : postfix outside
mjr
15th February 2006, 02:37 AM
i am just finally figuring how postfix work and i got the server to work on evolution it only work on the local user on my server like root@ that name i configured .com i am useing dyndns as my dns server how do i make my mial server recieve emial from outside mial servers like msn.com and aol.com :confused:
mjr
15th February 2006, 03:21 AM
anybody please
mjr
16th February 2006, 02:28 AM
:confused: :confused: :confused: i am not geting this connection when i want to recieve mial to postfix and this on micrsoft out look
:confused:
ibbo
16th February 2006, 09:54 AM
It could be a range of issues from your configuration of postifix to your firewall to your IP range been in spam lists to many many other things.
You need to elaborate on your problem and trawl through related posts on this forum to find any related information to your problem.
Ibbo
mjr
16th February 2006, 12:54 PM
i thinking of changeing to sen mail but i will have trobble trying to configuure it
rioguia
17th February 2006, 02:24 AM
edit the /etc/postfix/main.cf as follows:
1. set the correct hostname:
myhostname = mail.yourdomain.tld
// you can skip step one if you like the name of your computer assigned in your /etc/hosts file. If you don't
set this variable, postfix will assign the name set in /etc/hosts. If your computer name is "biff" and your want your mail server to answer as "mail", then follow step one.
2. tell postfix the domain your server is located in and it will create your server's name even if you skip step one.
mydomain = yourdomain.tld
3. tell postfix the domain for which you want to accept mail. the default is set like this:
mydestination = $mydomain
// the default is the value you assigned in step 2. if the domain you are receving mail for is the same as the value in mydomain, then you can skip this step. if the domain you are accepting mail for is named my_other_domain.tld, then set
mydestination = my_other_domain.tld
4. mail servers interact with lots of authomated processes (like the cron as we will set up below). postfix needs to know the domain to append to the mail sent by the processes. if you skipped step 3, then you can skip this step, too. Postfix will take the value assigned in step 2 and use that value here, too.
myorgin = $mydomain
//If you set the value in step 3 equal to my_other_domain.tld, then you must set that value here like this:
myorigin = my_other_domain.tld
5. save your /etc/postfix.main.cf file
6. now postfix needs to be able to send you notices. to do this you need to ask postfix to forward your "root user's mail" to your "regular user's mail" account. edit /etc/postfix/aliases (near the end of the file) so that:
root: regular_user
7. save /etc/aliases and update your aliases tables by typing:
/usr/bin/newaliases
8. tell postfix to start / reload the new tables:
/usr/sbin/postfix start // if postfix is already started, /usr/sbin/postfix reload will tell it to read the new tables.
9. test your postfix by sending your maillog to your open terminal via email (courtesy of Ralf Hildebrandt and Patrick Koetter, the authors of "The Book of Postfix")
echo foo | /usr/sbin/sendmail -f root root && tail -f /var/log/maillog
10. you are now a mail administrator, get used to reading logs. to help you keep up, you will need a log reader to get you going. pflogsumm will send you email at 10 minutes past midnight. The summary will provide an overview of the prior day's mail.
a. yum -y install postfix-pflogsumm
b. crontab -e
c. insert:
10 0 * * * /usr/sbin/pflogsumm -d yesterday /var/log/maillog | mail -s "Mail Report" regular_user@yourdomain.tld
This will get you going. When you run into problems, check /var/log/maillog. Also posfix has a diagnostic print out of main.cf that you should post. This will allow users to help you.
/usr/sbin/postconf -n
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.