-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 8 Jan 2002, Julian Opificius posted the following:
JO>Hi again,
JO>I'm trying to replace sendmail with postfix, because I'm a regular guy and 
JO>not Mensa material.
JO>I'm getting even more confused than I normally am and would really 
JO>appreciate the help of someone who  has been through this before. Reading 
JO>the howto's has left my head spinning.
JO>
JO>My basic structure is single fixed IP, public domain name (all registered 
JO>and everything), local private subnet of 3 win boxes and a RH7.2 box.
JO>
JO>Postfix (RedHat rpm) is installed and "running", but I can't get anything 
JO>from it.

Dump it and use this one:

http://www.ea4els.ampr.org/~sjmudd/postfix/ftp/rh72/RPMS/i386/postfix-20010228_pl08release-3.i386.rpm

It's a better, and much more complete, package. Let me know if you need 
it customized to do specific things.

JO>I think I need clarifcation of the entries in main.cf, and aliases, so if 
JO>someone could run me through those, or give me a copy of theirs, it would 
JO>help immensely.

If you're doing dial-up here's a working config for that:

#http://www.moongroup.com/docs/RH-postfix-HOWTO/c241.html#AEN244

#sample /etc/postfix/main.cf for a dial-up user
#
# your ISP's SMTP server name or IP address goes here
relayhost = smtprelay.someprovider.com

#
# this line disables spontaneous PPP connections
defer_transports = smtp

#
# this line disables DNS lookups for mail. As you are using a relay 
# you really don't need DNS. If you use this you should use an IP 
# address for $relayhost.
disable_dns_lookups = yes
    
#
# you will need all of the default stuff included as well
# defaults
queue_directory = /var/spool/postfix
program_directory = /usr/libexec/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
mail_owner = postfix
default_privs = nobody
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
local_destination_concurrency_limit = 2 
default_destination_concurrency_limit = 10

#
# debug stuff
debug_peer_level = 2
debugger_command = PATH=/usr/bin:/usr/X11R6/bin, xxgdb 
        $daemon_directory/$process_name $process_id & sleep 5

#
# you shouldn't need any more in this next line for a stand alone host
mynetworks = 127.0.0.0/8

#
# host specific information
myhostname = yourhost.someprovider.com
mydomain = someprovider.com
myorigin = $mydomain

#
# where do we receive mail and who do we accept/receive mail for?
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, $mydomain

#
# no uucp here
default_transport = smtp

#
# let's get the envelope right
masquerade_domains = someprovider.com

If you're on a static IP address you won't need much more than this. You 
would need to change the mynetworks value to include your home lan.




- -- 
csm
Dmitry is free!
Boycott Adobe!
Repeal the DMCA!
Stop the SSSCA!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjw7Y4AACgkQv6Gjsf2pQ0qO6QCfXYe0UhAFWW4sApJ168StEnhB
AfYAnRxFK1lm1bNnSiVea9wp6U2xSgWi
=HQxT
-----END PGP SIGNATURE-----



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to