Postfix problems
Marius Gedminas
marius at pov.lt
Tue Apr 19 12:33:52 UTC 2005
On Tue, Apr 19, 2005 at 02:12:39PM +0200, Emil Oppeln-Bronikowski wrote:
<snip>
> 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? ;-)
Did you try
sudo /etc/init.d/postfix restart
/usr/sbin/sendmail -q
?
It always worked for me, although my situation is slightly different: a
laptop that moves between different networks, and mail.pov.lt resolves
into a different (local) IP in one of those networks.
(By the way, Ubuntu now has an /etc/network/if-up.d/postfix script that
does everything that needs to be done in my migrating laptop situation.)
Marius Gedminas
--
Just to be extra clear about this: yes, it is morally wrong for us to have
written RetchMail, and it is morally wrong for you to use it. But try it, it's
really fast!
-- http://open.nit.ca/wiki/index.php?page=RetchMail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050419/60a67baf/attachment.sig>
More information about the ubuntu-users
mailing list