Server :: Postfix Won't Stop Doing MX Lookups?
Apr 12, 2011
I have an odd issue with postfix 2.5.5 trying to relay email internally to a range of mail servers and it keeps ignoring the transport map [ ] and instead always doing mx lookups.
Essentially the server is only allowing connections from an internal network and only for certain domains that it will relay to other mail servers.
It has no local delivery and yet every time I get email passed to it, it will check the local network DNS server for MX information or with diable_dns_lookups enabled (as below) the A record for the domain, and try to deliver to that instead of the transport map destination.
Here's the main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
disable_dns_lookups = yes
# appending .domain is the MUA's job.
[Code]....
View 5 Replies
ADVERTISEMENT
Jun 16, 2010
I have a setup wth postfix, dovecot and sasl. It is setup to relay all my email through my gmail a/c mainly because my port 25 is blocked by ISP. I just setup postfix and dovecot with ssl/tls and according to docs I read it will now be connecting on port 465 for smtp. If I need to test if my setup is working do I need to change anything anything other than commenting out the relay line in main.cf. Am hoping I don't have to deletehe sasl_password file in case I need to revert back to old setup.
View 4 Replies
View Related
Feb 28, 2010
I have a Ubuntu server running in my house.Server name UshaMain PC name HomeLaptop 1 Named BooLaptop 2 Names Bobevery one is running Ubuntu 9.10The server is running Bind9 and Samba and is working from any other PC i can type ping usha and it will give me teh ip address of the server.This has been working for 4 months now.I just installed PostFix and nowthe only PC that is working with i ping the name USHA "server name " Is the server.The other three pc come back with the IP address of the domain for USHA.I have removed the Postfix from the server but the DNS is still not working for the other pc on the network.Ho do I get Bind working again form the rest of the PC.
View 10 Replies
View Related
Jun 2, 2011
way to get nginx to perform DNS lookups at regular intervals against hostnames that are defined for upstream servers? It seems nginx only performs a DNS lookup once, the first time it starts, and subsequently does not perform any other DNS lookups. This causes problems when the ip addresses of our upstream servers change.
I posted this same question in the nginx forum; however I also posted it here as it seems that not many of the posts there get answered.
[URL]
View 6 Replies
View Related
Mar 13, 2011
I'm just getting started with postfix for the first time (using courier pop) and everything is working well. However I can't seem to figure out how to only allow some system users to have mailboxes?
For example I have a few accounts which are FTP only accounts but they still have mailboxes under postfix? Is there any way to tell postfix the accounts that I actually want mailboxes for?
Also on a side note, I notice that mail seems to be stored under the user's home directory. I'm scared they may accidentally delete them.
View 5 Replies
View Related
May 5, 2010
How can I stop and cancel email which are sending? Is there any command? I'm using postfix.
View 2 Replies
View Related
Sep 25, 2010
is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..
View 1 Replies
View Related
Oct 4, 2010
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
View 7 Replies
View Related
Feb 25, 2011
I recently moved over user from an old box running postfix(v 2.0.16) over to rhel 6 running postfix (v mail_version = 2.6.6). ive tried to make sure all the files are of correct permissions and that the main.cf file is configured corectly. However there is something wrong as when i run postfix: service postfix server i get no error but when checking the status:service postfix status i get: master dead but pid file exists Looking into /var/log/mailog i find this line being the issue:
Feb 25 16:24:39 puny1 postfix/master[3517]: fatal: fifo_listen: create fifo public/pickup: Permission denied
I gather this is a file permission issue and ive tried to make sure the public folder in /var/spool/postfix is correctly set but still no avail.
View 2 Replies
View Related
Mar 11, 2010
Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"
-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:
[Code]....
View 1 Replies
View Related
May 17, 2011
Im trying to learn BIND DNS! (yes im bored) Running Ubuntu Server 10.04 LTS.
What files to edit.
1) I want to add a A record for a machine
2) I want to forward none-discoverable lookups to another DNS server.
I found on google seems a bit harsh for me to understand.
View 2 Replies
View Related
Jul 15, 2011
I work in IT, but networking is my weakest area.I'm getting very slow DNS lookups (60+ seconds with lots of page timeouts)in Firefox and Chromium on my Kubuntu laptop. Windows clients (xp and 7) work fine.
View 7 Replies
View Related
Jul 9, 2011
I'm running Ubuntu 11.04 and I'm really new to linux. My problem is that whenever I try to browse a site I notice the website loads very slowly because it takes a long time to do lookups. I installed Ubuntu with an onboard NIC and later switched to a PCI NIC (Dlink DGE-530T). Although I disabled the onboard NIC in the BIOS, it doesn't help. Could this conflict in configuration be a problem? My download rates are fine, its just lookups that take really long ( upto ~ 10 seconds). I know the PCI network card is fine because when I jump to Windows 7, lookups are normal again (~ 300ms). At first I thought about installing the sk98lin drivers for the PCI NIC but I saw a couple of places where people have mentioned that the skge driver that comes along with the kernel is better.
I have tried a system wide as well as Firefox disable of IPv6. Here is my /etc/udev/rules.d/70-persistent-net.rules
Code:
# PCI device 0x1186:0x4b01 (skge)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:24:01:14:eb:39", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10de:0x0373 (forcedeth)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:8c:3e:19:ed", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
The interface I want to use according to the listing above is the one with the MAC - 00:24:01:14:eb:39.
I tried removing one of the entries in the file above and rebooting but it still didn't work. Here is a look at my /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.1.10
gateway 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
View 4 Replies
View Related
Jul 17, 2011
p, li { white-space: pre-wrap; } Laptop connects to a (wired) ethernet port on a DLINK DIR-625 wireless router using dhcp. All works perfectly.
Using the same laptop connecting to the same wireless router, but using the wireless adapter and dhcp instead of wired ethernet, I can ping IP addresses on the LAN and also WAN IP's to/from anywhere on the net. I can perform reverse name resolutions (ip to host name), but not forward lookups (host names to ip addresses). I can use the DNS server obtained from dhcp or specify, by ip address, a DNS server to perform the lookups. This makes no difference.
Web pages (LAN server pages or from the internet) are not accessible by site address name or by ip address specifically.
Kubuntu 11.01
$ uname -r
2.6.38-10-generic
$ iwconfig
[Code].....
View 9 Replies
View Related
Jul 13, 2011
We have bind 9.3 running on CentOS 5.2. We are able to do reverse lookups for the public IP's but not able to resolve to the private IP's on our network.
View 1 Replies
View Related
Jan 12, 2010
how can I best transfer my mails that are sitting on my old exim server to my new postfix server?
View 1 Replies
View Related
Jul 27, 2011
I am using postfix as spam Mailscanner to protect my mail server running sendmail. The problem is that when I forward an email from MailScanner mail me back with the following error:
<postmaster@localhost.@mydomain.com.>... Real domain name required for sender address (in reply to MAIL FROM command))
Jul 27 13:15:59 smtp postfix/local[28465]: C68AC1000001: to=<root@smtp.mydomain.com>,
[code]....
View 1 Replies
View Related
Nov 26, 2010
my postfix to send and recive external emails, but many recive in trash folder.Other programer say me that is need some configurations in postfix with and dovecot to work, but i dont know what!This is my first time configuring a linux server at this week.
my main.conf
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
[code]...
View 3 Replies
View Related
Apr 24, 2011
i need to configure postfix on centos to relay email from the internet to the Exchange Server and i also need that emails sent from the exchange within the same domain be sent to postfix then resent to exchange because i have spamassassin and clamav installed on centos to filter all incoming and outgoing mails ...
View 1 Replies
View Related
Sep 16, 2009
I did a a basic install of postfix and dovecot instead of using courier-pop and courier-imap. This is only send and receiving e-mail locally within the test network 10.7.0.X and 10.0.0.X. I used:
[URL]
my postfix.conf is;
PHP Code:
[code]....
This is the error when I send an email from a local machine on the 10.0.0.X network.
PHP Code:
Jan 20 17:05:48 testbox postfix/smtpd[2491]: warning: Illegal address syntax from unknown[10.0.0.111] in MAIL command: <test@10.0.0.112>
View 8 Replies
View Related
Jun 24, 2011
I've got an uber simple test mail script in php on my awesome new dev machine running Ubuntu:
PHP Code:
Unfortunately, something is preventing mail delivery. I can't tell from this error log whether it's the remote machine rejecting me or whether it's my machine rejecting the self-signed cert on the remote machine:
Code:
I'm wondering what I could change in my postfix configuration to remedy this problem.
I tried setting smtp_tls_security_level = may = may but this did not change anything.
View 10 Replies
View Related
Jun 23, 2010
i compiled and install postfix, and i using relayhost that point to my ISP. but my "DNS server" is on the same server where is installed postfix. and there is running apache with vhosts so i have domain that hosted on same server and in zonefiles of my domain my MX records points to Google Apps, to google's MX servers. But when i try send E-mail via sendmail to mail@mydomainonsameserver.com it not deliver mail to Google Apps totally, if i try to send to another E-mail everything fine it deliver it. so finally i done research this problem in Internet. And find that need to disable deliver mail to localhost(localdelivery)as i think postfix understand that the domain point to the same server where postfix have itself. and try to deliver mail local. but zonefile MX record even the domain on same server can point to another server outside. So i disabled localdelivery in postfix. and problem not fixed
View 2 Replies
View Related
Mar 18, 2010
I am running CentOS 5.4 and Postfix. So when I start Postfix server than immediately maillog is starting to grow. And the first lines that I see in it are:
[Code]...
Server is already in several blacklists and I desperately need to do something.
View 12 Replies
View Related
Sep 29, 2010
I am running Fedora 10, Postfix and Dovecot I recently changed the password of a user using the 'passwd' command. The problem is that the user can no longer receive their email messages in Thunderbird (Authentication Error). However, they can still login using SquirrelMail and get their mail.
View 2 Replies
View Related
Dec 25, 2010
I recently had the need to relay SMTP mail through our organizations hosted MS Exchange server. I had to do a little troubleshooting, so I wrote a concise summary of the procedure I followed.
View 1 Replies
View Related
Apr 4, 2010
i have setup mailrelay using postfix and relay email to exchange server. The problem is how can i relay email to multiple exchange server. For example: -
domain aa.bb.com relay to exchange server 10.10.10.10
domain 123.test.com relay to exchange server 192.168.10.5
View 5 Replies
View Related
Apr 20, 2010
I am newbie to postfix. I added a new domain to my postfix server in the main.cf under mydestinations variable and the relay_domains file. Also, added this domain to my backend exchange server. When I send a test message from the new domain, my messages from that domain appear to be stuck in the "queue active". What does it mean when you are stuck in this queue? Does this mean that my backend email server (exchange 2003) isn't allowing messages from this new domain OR that the POSTFIX server still needs configuring.
View 2 Replies
View Related
Oct 2, 2010
Having my Diploma Final Project on setting up a virtual mail server within Local Area Network (LAN) only.I had follow this how-to http://www.linuxmail.info/squirrelma...o-in-centos-5/ and complete up to squirrealmail web mail. I added two new user to try on sending and receiving mail. It works.I run CentOS on VMplayer. I using my laptop to do all the stuff, the laptop default OS is windows 7, i install VM player on it and run CentOS inside the VM Player.I want to do testing on Windows 7 side by installing Thunderbird email client program, i want to connect to mail server with SMTP, IMAP/POP3 using the email service. I have problem while setting up user account on Thunderbird, Thunderbird seems like cannot detect my CentOS mail server. How ?
Do i have to do any other configuration on CentOS ? any DNS ? port number for IMAP,POP3 or SMTP ?
View 1 Replies
View Related
Apr 10, 2010
I'm trying to configure Postfix with a mail server that I programmed in C. The main.cf is set in this way :
Code:
relayhost = [myMailServer.localhost]
smtp_sasl_auth_enable = no
smtp_use_tls = no
disable_dns_lookups=yes
smtp_never_send_ehlo = yes
code....
I don't know why it doesn't receive response after HELO. In fact if I debug my mail server with gdb, I can see it sends a 250 response code. Moreover, I've tested my server both with traditional mail clients, as Thunderbird, and through telnet session and it works very well.
View 6 Replies
View Related
Apr 7, 2011
I'm trying to get my server back up to snuff. I'm using Debian Squeeze right now and I'm up and atom with apache, mysql, php, pureftpd, ssh, and I have squirrelmail installed.
My dilemma comes with the mail part of the whole ordeal, Postfix and Courier are installed, have their keys made, and for what I assume, are configured correctly. HOW do I make new virtual users? My domain points to this machine as well as my MX record for mail.mydomain.com.
I need IMAP and POP working. And upon the creation of new email users, will SquirrelMail interface with Postfix and Courier? When I installed SM I set it up for use with Courier.
View 1 Replies
View Related