v11 questions and smtpd.cfg problem
Posted: Tue Jan 30, 2007 12:18 am
This mail server is going to be hosting a lot of different domains email. It seems simple enough to add domains through the administration console. It does mention that users should only have one email alias, if they're setup as an external mail user. This server will be used almost exclusively as external mail, and many users have multiple alias accounts. I am wondering if the correct way to set these up, would be to just add all their email aliases onto their account?
I went to test recieving mail, and I'm unable to get anything to come in. I read a few posts about the smtpd.cfg, but none are very clear on what should actually be set, besides the server name using the fqdn. I setup the debug line, so I could try to get some more info, but it tells me exactly what I already knew:
speed:/var/opt/scalix/sd/s/tmp# tail -f smtpd-SMTP.log
SMTP Relay 11.0.0.431 started (5058): Mon, 29 Jan 2007 22:04:40 -0600 (CST) for SMTP
Accepted client 1 from (mail.SOURCE.com)
Cli 5058/1 sent : 220 speed.DESTINATION.com. ESMTP Scalix SMTP Relay 11.0.0.431; Mon, 29 Jan 2007 22:05:16 -0600 (CST)
Cli 5058/1 rcvd: 'EHLO mail.SOURCE.com'
Cli 5058/1 sent : 250-speed.DESTINATION.com. Hello mail.SOURCE.com [69.41.XXX.XXX], pleased to meet you
250-AUTH DIGEST-MD5 PLAIN LOGIN GSSAPI CRAM-MD5
250-AUTH=LOGIN
250-DSN
250 8BITMIME
Cli 5058/1 rcvd: 'MAIL FROM:<drew@SOURCE.com>'
Cli 5058/1 sent : 250 drew@SOURCE.com... Sender ok
Cli 5058/1 rcvd: 'RCPT TO:<drew@DESTINATION.com>'
Rejected relay attempt from drew@DESTINATION.com at 69.41.XXX.XXX to drew@DESTINATION.com
Cli 5058/1 sent : 550 Denied due to spam list
Cli 5058/1 rcvd: 'QUIT'
Cli 5058/1 sent : 221 speed.DESTINATION.com. closing connection
The entry's in my smtpd.cfg look like this:
DEBUG_LOG=TRUE
# NB Authenticated RELAYs are always allowed
RELAY accept 127.0.0.1
RELAY accept speed.DESTINATION.com.
this is the correct name:
speed:/var/opt/scalix/sd/s/sys# hostname --fqdn
speed.DESTINATION.com.
RELAY Log_Reject ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
# The following group sets the configuration for the submission listener
# This listener is only active if SUBMIT=ON is above
# By default it binds to port 587
[SUBMIT]
#LISTEN=localhost:587
# Reject all anonymous connections
ANONYMOUS Log_Reject ALL
# The following group sets the configuration for the lmtp listener
# This listener is only active if LMTP=ON is above
[LMTP]
LISTEN=localhost:24
# Use the following line to listen on a unix domain socket
#LISTEN=~/tmp/lmtp.unix
I went to test recieving mail, and I'm unable to get anything to come in. I read a few posts about the smtpd.cfg, but none are very clear on what should actually be set, besides the server name using the fqdn. I setup the debug line, so I could try to get some more info, but it tells me exactly what I already knew:
speed:/var/opt/scalix/sd/s/tmp# tail -f smtpd-SMTP.log
SMTP Relay 11.0.0.431 started (5058): Mon, 29 Jan 2007 22:04:40 -0600 (CST) for SMTP
Accepted client 1 from (mail.SOURCE.com)
Cli 5058/1 sent : 220 speed.DESTINATION.com. ESMTP Scalix SMTP Relay 11.0.0.431; Mon, 29 Jan 2007 22:05:16 -0600 (CST)
Cli 5058/1 rcvd: 'EHLO mail.SOURCE.com'
Cli 5058/1 sent : 250-speed.DESTINATION.com. Hello mail.SOURCE.com [69.41.XXX.XXX], pleased to meet you
250-AUTH DIGEST-MD5 PLAIN LOGIN GSSAPI CRAM-MD5
250-AUTH=LOGIN
250-DSN
250 8BITMIME
Cli 5058/1 rcvd: 'MAIL FROM:<drew@SOURCE.com>'
Cli 5058/1 sent : 250 drew@SOURCE.com... Sender ok
Cli 5058/1 rcvd: 'RCPT TO:<drew@DESTINATION.com>'
Rejected relay attempt from drew@DESTINATION.com at 69.41.XXX.XXX to drew@DESTINATION.com
Cli 5058/1 sent : 550 Denied due to spam list
Cli 5058/1 rcvd: 'QUIT'
Cli 5058/1 sent : 221 speed.DESTINATION.com. closing connection
The entry's in my smtpd.cfg look like this:
DEBUG_LOG=TRUE
# NB Authenticated RELAYs are always allowed
RELAY accept 127.0.0.1
RELAY accept speed.DESTINATION.com.
this is the correct name:
speed:/var/opt/scalix/sd/s/sys# hostname --fqdn
speed.DESTINATION.com.
RELAY Log_Reject ALL
# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*
# The following group sets the configuration for the submission listener
# This listener is only active if SUBMIT=ON is above
# By default it binds to port 587
[SUBMIT]
#LISTEN=localhost:587
# Reject all anonymous connections
ANONYMOUS Log_Reject ALL
# The following group sets the configuration for the lmtp listener
# This listener is only active if LMTP=ON is above
[LMTP]
LISTEN=localhost:24
# Use the following line to listen on a unix domain socket
#LISTEN=~/tmp/lmtp.unix