I am setting up a webserver that will need to access qmail, but will not be handling mail storage locally (the 3 domains on the server all have their mail handled by a third party). My biggest issues in setting this up are as follows:
- How do I set up qmail so that it ONLY accepts connections for SMTP from localhost? (Don't want to be an open relay )
- How do I handle bounces & postmaster type messages, since I won't be checking this server for any mail?
Thanks for any help you can provide!
My qmail-showctl follows:
/var/qmail/queue : ../bin/qmail-showctl |more
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1003, 1002, 1004, 0, 1005, 1006, 1007, 1008.
group ids: 1002, 1003.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: Bounce user name is bounce.
bouncehost: Bounce host name is peakswebdev.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is wheezer.peakswebdev.com.
defaulthost: (Default.) Default host name is wheezer.peakswebdev.com.
doublebouncehost: (Default.) 2B recipient host: wheezer.peakswebdev.com.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is wheezer.peakswebdev.com.
helohost: (Default.) SMTP client HELO host name is wheezer.peakswebdev.com.
idhost: (Default.) Message-ID host name is wheezer.peakswebdev.com.
localiphost: (Default.) Local IP address becomes wheezer.peakswebdev.com.
locals:
me: My name is wheezer.peakswebdev.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is ipowerweb.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at usa.net.
SMTP clients may send messages to recipients at cscolo.com.
SMTP clients may send messages to recipients at peakswebdev.com.
SMTP clients may send messages to recipients at computersolutionsllc.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: SMTP greeting: 220 Hello.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains: (Default.) No virtual domains.
defaultdelivery: I have no idea what this file does.
concurrencyincoming: I have no idea what this file does.
- How do I set up qmail so that it ONLY accepts connections for SMTP from localhost? (Don't want to be an open relay )
- How do I handle bounces & postmaster type messages, since I won't be checking this server for any mail?
Thanks for any help you can provide!
My qmail-showctl follows:
/var/qmail/queue : ../bin/qmail-showctl |more
qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 1003, 1002, 1004, 0, 1005, 1006, 1007, 1008.
group ids: 1002, 1003.
badmailfrom: (Default.) Any MAIL FROM is allowed.
bouncefrom: Bounce user name is bounce.
bouncehost: Bounce host name is peakswebdev.com.
concurrencylocal: (Default.) Local concurrency is 10.
concurrencyremote: (Default.) Remote concurrency is 20.
databytes: (Default.) SMTP DATA limit is 0 bytes.
defaultdomain: Default domain name is wheezer.peakswebdev.com.
defaulthost: (Default.) Default host name is wheezer.peakswebdev.com.
doublebouncehost: (Default.) 2B recipient host: wheezer.peakswebdev.com.
doublebounceto: (Default.) 2B recipient user: postmaster.
envnoathost: (Default.) Presumed domain name is wheezer.peakswebdev.com.
helohost: (Default.) SMTP client HELO host name is wheezer.peakswebdev.com.
idhost: (Default.) Message-ID host name is wheezer.peakswebdev.com.
localiphost: (Default.) Local IP address becomes wheezer.peakswebdev.com.
locals:
me: My name is wheezer.peakswebdev.com.
percenthack: (Default.) The percent hack is not allowed.
plusdomain: Plus domain name is ipowerweb.com.
qmqpservers: (Default.) No QMQP servers.
queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.
rcpthosts:
SMTP clients may send messages to recipients at usa.net.
SMTP clients may send messages to recipients at cscolo.com.
SMTP clients may send messages to recipients at peakswebdev.com.
SMTP clients may send messages to recipients at computersolutionsllc.com.
morercpthosts: (Default.) No effect.
morercpthosts.cdb: (Default.) No effect.
smtpgreeting: SMTP greeting: 220 Hello.
smtproutes: (Default.) No artificial SMTP routes.
timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.
timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.
timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.
virtualdomains: (Default.) No virtual domains.
defaultdelivery: I have no idea what this file does.
concurrencyincoming: I have no idea what this file does.