728x90
반응형

*****************************
POSTFIX 특정 도메인만 SPF check 하기

 

# /etc/postfix/main.cf:

smtpd_recipient_restrictions =
    reject_unlisted_recipient
    ...
    reject_unauth_destination 
    check_sender_access hash:/etc/postfix/sender_access
    ...
smtpd_restriction_classes = spfcheck
spfcheck = check_policy_service unix:private/spfcheck

# /etc/postfix/sender_access:
    aol.com     spfcheck
    hotmail.com spfcheck
    bigfoot.com spfcheck
    ... etcetera ...

 

 

https://serverfault.com/questions/726471/how-to-setup-postfix-to-check-spf-record-only-for-domains-that-i-want-to-check

 

How to setup postfix to check SPF record only for domains that i want to check

I have working postfix server. It configured with amavis and uses pretty good SMTP headers control. But sometimes my users receive spam from spammers with well known mail service providers addresses.

serverfault.com

 

728x90
SMALL
Posted by gromet
728x90
반응형

윈도우 라우팅 테이블 설정

 

윈도우 라우팅 테이블을 변경해야 할 일이 생겼다.

라우팅 테이블을 변경하기 위해서는 아래와 같이 CMD에서 route 명령어를 입력해야 한다.

 

// route add [네트워크 대상] mask [네트워크 마스크] [게이트웨이] if [인터페이스] [옵션] // -p : 영구설정. 재부팅 시 해당 설정 유지.
$
route add 10.10.10.0 mask 255.255.255.0 192.168.0.1

 

혹시나 해서 편하게 할 수 있는 유틸리티가 있나 찾아 봤더니 찾을 수 있었다.
옛날 프로그램이지만 Windows10에서 작동하는 것을 확인했다.

https://www.nirsoft.net/utils/network_route_view.html

NetRouteView

 

참고사이트: https://8ugust-dev.tistory.com/16

 

728x90
SMALL
Posted by gromet
728x90
반응형

ribkhan @pixabay

https://pixabay.com/users/ribkhan-380399/

Postfix 5분 지연 발송

 

Postfix를 사용하여 메일 발송 시 5분 지연을 설정하는 방법:

  1. Postfix 설치 확인:
    • Postfix가 이미 설치되어 있는지 확인. RHEL 또는 CentOS에서는 기본적으로 설치.
  2. Postfix 설정 파일 수정:
    • Postfix의 주 설정 파일인 /etc/postfix/main.cf를 편집.
    • 다음 설정을 추가하거나 수정:
      # 메일 발송 지연 설정 (5분 = 300초)
      header_checks = regexp:/etc/postfix/header_checks
      
    • 위 설정은 메일 헤더를 검사하여 지연을 적용.
  3. 지연 설정 파일 생성:
    • /etc/postfix/header_checks 파일을 생성하고 다음 내용을 추가:
      /^Subject:/ HOLD 300
      
    • 이 설정은 메일의 제목이 "Subject:"로 시작할 경우 5분(300초) 동안 지연.
  4. Postfix 재시작:
    • 설정 변경 후 Postfix를 재시작:
      sudo systemctl restart postfix
      
 
 

#postfix #지연발송

 

728x90
SMALL
Posted by gromet
728x90
반응형

메일을 지연 전송 하기 (postfix, MailScanner)

 

메일 발송을 하고 아차 할 때가 있다. 수신자가 잘못되었다던가, 쓰지 말아야 할 내용을 썼다던가..
그런 경우를 위해서 MSExchange에는 메일 회수 기능이 있고, outlook 같은 클라이언트 프로그램에는 지연 전송 설정이 있다.
클라이언트에서 이런 기능을 이용하지 않고 메일 관리자에게 발송을 막아줄 수 있냐는 문의를 할 때가 있다.
보통은 발송 즉시 메일서버를 떠나기 때문에 불가능하다.
그래서 서버에서 일정 시간 잡아두는 것을 검토하고 있다.

postfix에서 master.cf의 qmgr이나 pickup의 파라미터를 조정해 볼 수 있을것 같은데,
정확히 모르겠다.

다행히 MailScanner에서 가능한 방법을 확인했다.
참고로 남겨둔다.

 

Description:

Attempt immediate delivery of messages, or just place them in the outgoing
 queue for the MTA to deliver when it wants to?
      batch -- attempt delivery of messages, in batches of up to 20 at once.
      queue -- just place them in the queue and let the MTA find them.
 This can also be the filename of a ruleset. For example, you could use a
 ruleset here so that messages coming to you are immediately delivered,
 while messages going to any other site are just placed in the queue in
 case the remote delivery is very slow.

https://www.mailscanner.info/MailScanner.conf.index.html#Delivery%20Method

728x90
SMALL
Posted by gromet
728x90
반응형

============================================

 

 

 

 

보안업데이트 - Mozilla 제품 보안 업데이트 권고

 

[LGU+보안관제센터] 보안업데이트 - Mozilla 제품 보안 업데이트 권고

 

□ 개요
o Mozilla 재단은 자사 제품에서 발생하는 취약점을 해결한 보안 업데이트 발표 [1]

o 영향받는 버전을 사용 중인 시스템 사용자는 해결 방안에 따라 최신 버전으로 업데이트 권고

 

□ 설명
o Thunderbird에서 발생하는 네트워킹 채널에서 범위를 벗어난 메모리 읽기 취약점(CVE-2024-1546) [2]

o iOS용 Firefox에서 발생하는 UXSS(Universal Cross-Site Scripting) 취약점(CVE-2024-26282) [3]
o iOS용 Focus에서 발생하는 UXSS(Universal Cross-Site Scripting) 취약점(CVE-2024-26284) [4]


□ 영향받는 제품 및 해결 방안

취약점 제품명 영향받는 버전 해결 버전
CVE-2024-1546 Thunderbird 115.8 이전 버전 115.8
CVE-2024-26282 iOS용 Firefox 123 이전 버전 123
CVE-2024-26284 iOS용 Focus 123 이전 버전 123

※ 하단의 참고사이트를 확인하여 업데이트 수행 [2] [3] [4] [5]

 

□ 기타 문의사항
o 한국인터넷진흥원 사이버민원센터: 국번없이 118

[참고사이트]

[1] https://www.mozilla.org/en-US/security/advisories/

[2] https://www.mozilla.org/en-US/security/advisories/mfsa2024-07/

[3] https://www.mozilla.org/en-US/security/advisories/mfsa2024-08/

[4] https://www.mozilla.org/en-US/security/advisories/mfsa2024-10/

[5] https://support.mozilla.org/ko/

 

#보안업데이트 #모질라 #썬더버드 #Mozilla #Thunderbird

 

 

728x90
SMALL
Posted by gromet
728x90
반응형

리눅스 파일/디렉토리 크기별로 정렬해서 출력하기

 

du -sh * | sort -h

 

[참고사이트]
https://serverfault.com/questions/62411/how-can-i-sort-du-h-output-by-size

 

 

728x90
SMALL
Posted by gromet

블로그 이미지
나는 운이 좋은 사람이다 나는 나날이 점점 더 좋아진다 내가 하는 선택과 행동은 반드시 성공으로 이어진다 내게는 인내력과 지속력이 있다 네게는 좋은것들만 모여든다
gromet

공지사항

Yesterday
Today
Total
반응형

달력

 « |  » 2024.9
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

최근에 올라온 글

최근에 달린 댓글

최근에 받은 트랙백

글 보관함

160x600