Project

General

Profile

action #150956

Updated by okurz 6 months ago

## Observation 

 After the o3 migration, postfix is no longer able to reach the configured mail relay. 

 ``` 
 jbaier@new-ariel:~>    sudo postconf relayhost 
 relayhost = [relay.infra.opensuse.org] 

 jbaier@new-ariel:~>    host relay.infra.opensuse.org 
 relay.infra.opensuse.org has address 192.168.47.4 

 jbaier@new-ariel:~>    ip r 
 default via 10.150.2.254 dev eth0 
 10.150.1.0/24 dev eth1 proto kernel scope link src 10.150.1.11 
 10.150.2.0/24 dev eth0 proto kernel scope link src 10.150.2.10 
 10.151.15.2 via 10.150.1.254 dev eth1 
 172.17.0.0/24 dev tun5 proto kernel scope link src 172.17.0.2 linkdown 
 192.168.47.0/24 dev tun5 scope link linkdown 
 192.168.112.0/24 dev tun5 scope link linkdown 
 192.168.254.0/24 dev tun5 scope link linkdown 

 jbaier@new-ariel:~>    mailq 
 -Queue ID-    --Size-- ----Arrival Time---- -Sender/Recipient------- 
 4C8A1191D7       5277 Tue Nov 14 15:21:09    o3-admins@opensuse.org 
   (connect to relay.infra.opensuse.org[192.168.47.4]:25: Connection timed out) 
                                          o3-admins@suse.de 
                                          team-qa-tools-aaaaejigt64kk3g6p3q4rtgnl4@suse.slack.com 
 ``` 

 I believe the tun5 is/was the ssh tunnel to old-ariel. 

 ## Acceptance criteria 

 * **AC1**: We are able to receive emails from o3 (again) 

 ## Suggestions 

 * DCT migration related so open a thread in Slack #dct-migration (set reminder to yourself so that you ask again if there is no follow-up). If that does not work then we need to open an SD ticket and point to the Slack thread (duh) 
 * Find out the address of usable mail relay in PRG2 either in opensuse.org or suse.org domain 
 * Reconfigure postfix on o3 to use it 
 * Verify the operation 
 ``` 
 jbaier@new-ariel:~>    sudo postconf relayhost 
 relayhost = [relay.infra.opensuse.org] 

 jbaier@new-ariel:~>    host relay.infra.opensuse.org 
 relay.infra.opensuse.org has address 192.168.47.4 

 jbaier@new-ariel:~>    ip r 
 default via 10.150.2.254 dev eth0 
 10.150.1.0/24 dev eth1 proto kernel scope link src 10.150.1.11 
 10.150.2.0/24 dev eth0 proto kernel scope link src 10.150.2.10 
 10.151.15.2 via 10.150.1.254 dev eth1 
 172.17.0.0/24 dev tun5 proto kernel scope link src 172.17.0.2 linkdown 
 192.168.47.0/24 dev tun5 scope link linkdown 
 192.168.112.0/24 dev tun5 scope link linkdown 
 192.168.254.0/24 dev tun5 scope link linkdown 

 jbaier@new-ariel:~>    mailq 
 -Queue ID-    --Size-- ----Arrival Time---- -Sender/Recipient------- 
 4C8A1191D7       5277 Tue Nov 14 15:21:09    o3-admins@opensuse.org 
   (connect to relay.infra.opensuse.org[192.168.47.4]:25: Connection timed out) 
                                          o3-admins@suse.de 
                                          team-qa-tools-aaaaejigt64kk3g6p3q4rtgnl4@suse.slack.com 
 ``` 

 I believe the tun5 is/was the ssh tunnel to old-ariel. 

 ## Acceptance criteria 

 *AC1*: o3 is able to send e-mails 

 ## Suggestions 

 * find out the address of usable mail relay in PRG2 
 * reconfigure postfix on o3 to use it

Back