Hello fellow CentOS users,
I'm using:
# cat /etc/*release CentOS release 6.3 (Final)
# rpm -qa | grep post postfix-2.6.6-2.2.el6_1.x86_64
on 2 servers: preferans.de and (yes, funny name) static.103.78.9.176.clients.your-server.de
I own several domains and would like all incoming mails addressing those domains to be forwarded to my Gmail address.
So I have setup the MX-records for my domains:
# host videoskat.de videoskat.de has address 176.9.40.169 videoskat.de mail is handled by 100 static.103.78.9.176.clients.your-server.de. videoskat.de mail is handled by 10 preferans.de.
# host balkan-preferans.de balkan-preferans.de has address 176.9.40.169 balkan-preferans.de mail is handled by 100 static.103.78.9.176.clients.your-server.de. balkan-preferans.de mail is handled by 10 preferans.de.
And at the both servers I have added:
# head /etc/postfix/virtual @balkan-preferans.de First.Last@gmail.com @videoskat.de First.Last@gmail.com
# postmap /etc/postfix/virtual
# postmap -q "@videoskat.de" /etc/postfix/virtual First.Last@gmail.com
And have opened port 25 in the firewall:
# grep -w 25 /etc/sysconfig/iptables -A INPUT -p tcp -m state --state NEW -m tcp -m multiport --dports 25,22 -j ACCEPT
But now when I send a mail to spam@videoskat.de there is nothing to see in postfix logs:
# sudo tail /var/log/maillog Jan 15 10:50:42 postfix/postfix-script[1401]: starting the Postfix mail system Jan 15 10:50:42 postfix/master[1402]: daemon started -- version 2.6.6, configuration /etc/postfix
So I'm probably missing something?
BTW the daily logwatch mails arrive from both servers just fine at my Gmail-mailbox First.Last@gmail.com
Regards Alex
From: Alexander Farber alexander.farber@gmail.com
So I have setup the MX-records for my domains: # host videoskat.de videoskat.de has address 176.9.40.169 videoskat.de mail is handled by 100 static.103.78.9.176.clients.your-server.de. videoskat.de mail is handled by 10 preferans.de.
Tried both MXs and none answered...
$ telnet preferans.de 25 Trying 176.9.40.169... $ telnet static.103.78.9.176.clients.your-server.de 25 Trying 176.9.78.103...
JD
Thanks -
On Tue, Jan 15, 2013 at 2:10 PM, John Doe jdmls@yahoo.com wrote:
Tried both MXs and none answered...
$ telnet static.103.78.9.176.clients.your-server.de 25 Trying 176.9.78.103...
I've opened the firewall for 176.9.78.103 only sofar... (doing hosts one by one).
Is mayb postfix listening for local connections only in the default CentOS 6 install? I see:
# netstat -an |grep -w 25 tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
Thanks Alex
From: Alexander Farber alexander.farber@gmail.com
Is mayb postfix listening for local connections only in the default CentOS 6 install? I see: # netstat -an |grep -w 25 tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
Section 15.3.1.2 of the RH documentation: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/ht...
JD