Postfix problems

Emil Oppeln-Bronikowski opi at cyb3r.org
Tue Apr 19 12:12:39 UTC 2005


 I'm running Postfix as my MTA. Everything was superb until I noticed 
I'm not getting reports from one of my programs. I logged to my server, 
asked for root rights and noticed that all my e-mail that where directed 
to my account on cyb3r.org server are deffered. Now I'll have to explain 
my situation a little bit: cyb3r.org is our hobby server, it's connected 
to two separated networks, just in case. I'm in same network as 
mail2.cyb3r.org is, but this network sysadmin didn't care to prepare 
proper routes for clients, so I can not see this link. The second link, 
mail.cyb3r.org and cyb3r.org is fully visible, but it takes lots of hops 
to get there. But at least it works. To avoid some problems with this 
(no, I don't want to run DNS server, I never did that and I have no time 
to learn it now;-) I've always put those lines in my /etc/hosts file

193.238.18.195  cyb3r.org
193.238.18.195  mail.cyb3r.org
193.238.18.195  mail2.cyb3r.org

 Postfix always noticed it first (as it's set in /etc/nsswitch.conf) and 
send my stuff. But not any more. I have about 40 e-mails in queue and I 
can not force Postix to forget about actual mail2.cyb3r.org IP.

DF59219DC      4807 Mon Apr 18 21:07:12  emil at dps1.mnc.pl
(delivery temporarily suspended: connect to 
mail2.cyb3r.org[217.153.154.34]: Connection timed out)
                                         opi at cyb3r.org

 but...

fretka:/var/spool/postfix/deferred# ping mail2.cyb3r.org -c 1
PING mail2.cyb3r.org (193.238.18.195) 56(84) bytes of data.
64 bytes from cyb3r.org (193.238.18.195): icmp_seq=1 ttl=52 time=81.9 ms

 Maybe Postfix is storing an IP of the SMTP server when it puts mail 
into queue. If yes, is there a tool that could help me revert it to 
mail.cyb3r.org? Maybe some awk/sed magic? ;-)

-- 
 Emil Oppeln-Bronikowski, http://bronikowski.com
 GNU/Linux :-)





More information about the ubuntu-users mailing list