On 3/17/2011 10:47 AM, Roger Goh wrote:
Bear with me; I'm a newbie struggling to get a  newly set up postfix
server to receive mails on Unix account (roger8 is the account that
I've useradd'ed)

1. firstly, is ISPconfig necessary in a postfix server or I can still get
     a basic postfix set up without it?  If it's essential where can I
     download its RPM (for Redhat)

No, ISPconfig is not needed; relatively few people use it.



2. is there anything wrong with my aliases file below?  I've run 'newaliases'
     to generate aliases.db&  restarted postfix

Apparently you have a duplicated entries for the username roger8. This isn't a serious error, but note that only one entry will be used. If the entries aren't the same, this can lead to confusing misdelivered mail.



3. what needs to be done to fix the message below (found in maillog):
    "smtpd_sasl_auth_enable is true, but SASL support is not compiled in"

The message means what it says. You have specified SASL auth, but postfix was not compiled with SASL support. Recompile postfix with SASL or if you're using packages find a package that has SASL support. You can display what sasl server support is available in postfix with the command
# postconf -a


4. why are the mails received indicated as "removed" after being
     delivered to /usr/bin/procmail (shown in maillog)

This is normal. When procmail signals that it has received the message, postfix is done with it and removes the message from the postfix queue.



5. can I read mails received in postfix using Linux "mail" command.

Maybe. The *nix mail command only supports mailfile (all mail stored in a file). If you're using maildir (mails stored as separate files in a directory), you'll need mutt. (Most people prefer mutt anyway, which works for both maildir and mailfile). Which you're using depends on how procmail is configured to deliver mail.



6. what need to be configured such that "mailq"&  "postsuper" will
     correctly read/manage the mailboxes
    (which is in /big_partitn/spool/mail/... ?)


Postfix is just the transfer agent. Once mail has been transferred out of postfix into something else, postfix tools will no longer show the message.



# postconf -n
debug_peer_list = yyyyyyyy.com

Don't enable debug logging.

local_recipient_maps =

You have disabled recipient validation for $mydestination. Don't do that; your queue will be flooded with undeliverable mail and your server will be blacklisted as a spam source. Remove this parameter.

mynetworks = 172.16.20.0/24, 127.0.0.0/8, 201.5.162.0/24

You own all 201.5.162.0/24? Even if you do, it's unusual to list an internet block in mynetworks.

relay_domains = $mydestination

If you have relay_domains (domains you accept mail for and relay to another server) you should list their names explicitly here rather than using $mydestination. If you don't have relay_domains, set this parameter empty.
relay_domains =

smtpd_recipient_restrictions = permit_mynetworks,   permit_sasl_authenticated,
                check_client_access hash:/etc/postfix/rbl_override,
                reject_unauth_destination,
                                 reject_rbl_client dsn.rfc-ignorant.org,
                permit

Note: dns.rfc-ignorant.org will likely reject legit mail when used here. It's intended for scoring eg. in spamassassin.
You'll probably get much better results using zen.spamhaus.org.


# cat aliases

roger8:         roger8
...
roger8:         roger8



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

# saslfinger -s
saslfinger - postfix Cyrus sasl configuration Thu Mar 17 18:10:18 SGT 2011
version: 1.0.2
mode: server-side SMTP AUTH

-- basics --
Postfix: 2.5.6
System: Red Hat Enterprise Linux ES release 4 (Nahant Update 2)

-- smtpd is linked to --
         libsasl2.so.2 =>  /usr/lib/libsasl2.so.2 (0x47b72000)


Maybe you have more than once postfix installed; one with sasl, one without.






  -- Noel Jones

Reply via email to