서비스 중지
svc -d /service/*

서비스 시작
svc -u /service/*

'시스템, 서버 > 메일' 카테고리의 다른 글

메일 priority 값  (0) 2007.02.02
qmail 수신 용량 제한  (0) 2007.02.02
qmail status.new / out of space  (0) 2007.02.02
qmail-remote 인터셉트  (0) 2007.02.02
MailDir 확인  (0) 2007.02.02
블로그 이미지

용병

,
queue 의 갯수 및 용량체크
더이상 생성할 수 없을만큼 쌓였을 경우 에러 발생가능

'시스템, 서버 > 메일' 카테고리의 다른 글

qmail 수신 용량 제한  (0) 2007.02.02
qmail svc 관련 옵션  (0) 2007.02.02
qmail-remote 인터셉트  (0) 2007.02.02
MailDir 확인  (0) 2007.02.02
메일 인증관련 사항  (0) 2007.02.02
블로그 이미지

용병

,
1. qmail-remote 파일을 아래꺼로 만들었습니다.
코드:

#!/usr/bin/perl -w
undef $/;
$inputdata = <STDIN>;
$/ = "\n";

# 로그를 기록한다.
$logfile = "/var/log/qmail-remote.log";
open FH, ">>$logfile";
flock(FH,2);
print FH "$ARGV[0]:$ARGV[1]:$ARGV[2]\n";
close FH;

# 원래 qmail-remote 프로그램을 실행시킨다.
open (MAIL, "| /var/qmail/bin/qmail-remote-org $ARGV[0] $ARGV[1] $ARGV[2]");
print MAIL $inputdata;
close MAIL;


그리고 권한을 아래처럼 주었구요..
코드:

-rwxr-xr-x    1 root     qmail         379 Nov 25 10:51 qmail-remote
-rwx--x--x    1 root     qmail       30516 Nov 25 09:54 qmail-remote-org

제 경우는 qmail-remote.log 파일의 소유자는 qmailr.qmail 이고
권한은 666 입니다.

'시스템, 서버 > 메일' 카테고리의 다른 글

qmail svc 관련 옵션  (0) 2007.02.02
qmail status.new / out of space  (0) 2007.02.02
MailDir 확인  (0) 2007.02.02
메일 인증관련 사항  (0) 2007.02.02
maillog 에 DBERROR: reading /var/lib/imap/db/skipstamp 에러시  (0) 2007.02.02
블로그 이미지

용병

,
[root@mail]# /var/qmail/bin/qmail-getpw id localhost
ksw05149999/usr/local/anymate/mailuser/id
블로그 이미지

용병

,
telnet localhost 25
ehlo
auth login
id
pw
------------------------

http://www.fehcom.de/qmail/smtpauth.html

cd /var/qmail/bin/
-rws--x--x  1 root   qmail 275068  7월 25 15:57 checkpassword

chmod 4710 /bin/checkpassword
chgrp `id -g alias` /bin/checkpassword

/var/qmail/supervise/qmail-smtpd
vi run
-----------------------
#!/bin/sh
ALIAS_UID=`id -u alias`
ALIAS_GID=`id -g alias`
exec /usr/local/bin/tcpserver -vRHl0 -x /etc/tcp.smtp.cdb \
         -u $ALIAS_UID -g $ALIAS_GID 0 25 \
         /var/qmail/bin/qmail-smtpd FOOBAR \
         /var/qmail/bin/checkpassword /bin/true 2>&1
-----------------------

'시스템, 서버 > 메일' 카테고리의 다른 글

qmail status.new / out of space  (0) 2007.02.02
qmail-remote 인터셉트  (0) 2007.02.02
MailDir 확인  (0) 2007.02.02
maillog 에 DBERROR: reading /var/lib/imap/db/skipstamp 에러시  (0) 2007.02.02
qmail 설치시 tls.c 에러  (0) 2007.02.02
블로그 이미지

용병

,
Aug 21 04:02:06 gw ctl_mboxlist[4591]: DBERROR: reading /var/lib/imap/db/skipstamp, assuming the worst: No such file or directory
Aug 21 04:02:06 gw ctl_mboxlist[4591]: skiplist: recovered /var/lib/imap/mailboxes.db (0 records, 144 bytes) in 0 seconds

------------------------------------------------------------

cd /etc/cron.daily
rm cyrus-imapd

'시스템, 서버 > 메일' 카테고리의 다른 글

qmail status.new / out of space  (0) 2007.02.02
qmail-remote 인터셉트  (0) 2007.02.02
MailDir 확인  (0) 2007.02.02
메일 인증관련 사항  (0) 2007.02.02
qmail 설치시 tls.c 에러  (0) 2007.02.02
블로그 이미지

용병

,