Showing posts with label qmail. Show all posts
Showing posts with label qmail. Show all posts

Friday, July 22, 2011

qmail: queue wrong owner # 4.3.5 error

this is a problem with qmail's directory/file structure

to fix:
1. download and run queue-repair to fix the queue
    http://pyropus.ca/software/queue-repair/
2. make sure qmail-queue is owned by qmailq
    # chown -Rf qmailq qmail-queue
3. set qmail-queue's user id bit (to run qmail-queue as qmailq user)
    # chmod u+s qmail-queue

don't go playing with your qmail files if you don't know what you're doing. i think that's how i got in trouble. lol

Wednesday, July 20, 2011

qmail: adjust maximum recipient limit

do you get a "Your message did not reach some or all of the intended recipients. 550 5.7.0 Maximum Recipient Limit Exceeded" message when sending email to a large number of recipients?


here's how to adjust maximum recipient limit:
1. edit tcp.smtp
# vi /etc/tcprules.d/tcp.smtp
look for CHKUSER_RCPTLIMIT="25"
this setting has a 25 maximum recipient limit. adjust as you prefer


2. apply your preferred maximum recipient limit
# tcprules /etc/tcprules.d/tcp.smtp.cdb /etc/tcprules.d/tcp.smtp.tmp < /etc/tcprules.d/tcp.smtp


i had mine set to not more than a hundred recipients to prevent users from spam-sending

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...