how-to for postfix

This is a discussion on how-to for postfix within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hello, is there a how-to how to set up a mailserver preffered with webmin. If not, is there a ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-22-2008
Dirk Lehmann
 
Posts: n/a
Default how-to for postfix

Hello,

is there a how-to how to set up a mailserver preffered with webmin.

If not, is there a how-to how to set up a mailserver without webmin by
manual editing the config files.

Please let me know.

Best regards,

Dirk Lehmann

Reply With Quote
  #2 (permalink)  
Old 03-22-2008
Matthias Hanft
 
Posts: n/a
Default Re: how-to for postfix

Dirk Lehmann wrote:
>
> If not, is there a how-to how to set up a mailserver without webmin by
> manual editing the config files.


You know the website http://www.postfix.org/ ? The "Howtos and FAQs"
and the "Documentation" pages give a lot of information...

Furthermore, the Postfix setup is pretty simple:

1.) Install it.
(for example, with Gentoo Linux, it's just "emerge postfix")

2.) If needed, configure it.
Generally, no configuration at all is needed; optionally you
can put your hostnames into "mydestination = ..." in the
/etc/postfix/main.cf file.

3.) Start it.
normally /etc/init.d/postfix start

That's it. Easy, huh?!

A very good source of information in German is Peer Heinlein's
"Das Postfix Buch". The 2004 edition seems to be out of stock
right now, but a new edition will appear in June 2008:
http://tinyurl.com/3ybern

-Matt
Reply With Quote
  #3 (permalink)  
Old 03-22-2008
Martin Gregorie
 
Posts: n/a
Default Re: how-to for postfix

Matthias Hanft wrote:
> Dirk Lehmann wrote:
>> If not, is there a how-to how to set up a mailserver without webmin by
>> manual editing the config files.

>
> You know the website http://www.postfix.org/ ? The "Howtos and FAQs"
> and the "Documentation" pages give a lot of information...
>
> Furthermore, the Postfix setup is pretty simple:
>
> 1.) Install it.
> (for example, with Gentoo Linux, it's just "emerge postfix")
>
> 2.) If needed, configure it.
> Generally, no configuration at all is needed; optionally you
> can put your hostnames into "mydestination = ..." in the
> /etc/postfix/main.cf file.
>
> 3.) Start it.
> normally /etc/init.d/postfix start
>
> That's it. Easy, huh?!
>
> A very good source of information in German is Peer Heinlein's
> "Das Postfix Buch". The 2004 edition seems to be out of stock
> right now, but a new edition will appear in June 2008:
> http://tinyurl.com/3ybern
>
> -Matt

One other point:

If your distro has sendmail as the default mta and has the alternatives
system installed there's another step to take.

Debian and Fedora default to this set-up. You need to use alternatives
to set Postfix as the current mta after installing it. For Fedora the
sequence is:

- see if Postfix is installed:
yum list postfix

- if its not installed, get it:
yum install postfix

- check the alternative setting:
alternatives --display mta

- and set it to Postfix if needed:
alternatives --set mta /usr/sbin/sendmail.postfix


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
Reply With Quote
  #4 (permalink)  
Old 03-22-2008
Dirk Lehmann
 
Posts: n/a
Default Re: how-to for postfix

Hello,

I found an other document for my wants and needs:

http://rimuhosting.com/support/setti...&t=local#local

Unfortunatly every mails to anybody at my domain are delivered into my
user-accounts mailbox even if my partner has his own user-acount and his own
mailbox.

For security reasons I do not give you the IP-adress and the domain name but
all other configuration settings of postfix.

This is my configuration:

inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = xxx.xxx.xxx.xxx (my domain)
program_directory = /usr/lib/postfix
inet_interfaces = xxx.xxx.xxx.xxx (my public ip-adresse)
masquerade_domains =
mydestination = xxx.xxx.xxx.xxx (my domain)
defer_transports =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000

I was wondering if someone can please let me know what I have to change that
each user at my domain get his or her mails into his or her own mailbox.

Thank you.

yours faithfully,

Dirk

"Martin Gregorie" <martin@see.sig.for.address> schrieb im Newsbeitrag
news:fbofb5-c2j.ln1@zoogz.gregorie.org...
> Matthias Hanft wrote:
>> Dirk Lehmann wrote:
>>> If not, is there a how-to how to set up a mailserver without webmin by
>>> manual editing the config files.

>>
>> You know the website http://www.postfix.org/ ? The "Howtos and FAQs"
>> and the "Documentation" pages give a lot of information...
>>
>> Furthermore, the Postfix setup is pretty simple:
>>
>> 1.) Install it.
>> (for example, with Gentoo Linux, it's just "emerge postfix")
>>
>> 2.) If needed, configure it.
>> Generally, no configuration at all is needed; optionally you
>> can put your hostnames into "mydestination = ..." in the
>> /etc/postfix/main.cf file.
>>
>> 3.) Start it.
>> normally /etc/init.d/postfix start
>>
>> That's it. Easy, huh?!
>>
>> A very good source of information in German is Peer Heinlein's
>> "Das Postfix Buch". The 2004 edition seems to be out of stock
>> right now, but a new edition will appear in June 2008:
>> http://tinyurl.com/3ybern
>>
>> -Matt

> One other point:
>
> If your distro has sendmail as the default mta and has the alternatives
> system installed there's another step to take.
>
> Debian and Fedora default to this set-up. You need to use alternatives to
> set Postfix as the current mta after installing it. For Fedora the
> sequence is:
>
> - see if Postfix is installed:
> yum list postfix
>
> - if its not installed, get it:
> yum install postfix
>
> - check the alternative setting:
> alternatives --display mta
>
> - and set it to Postfix if needed:
> alternatives --set mta /usr/sbin/sendmail.postfix
>
>
> --
> martin@ | Martin Gregorie
> gregorie. | Essex, UK
> org |


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:46 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0