[opensuse] Confusion about configuring mail server...
Hi List, I am not in a position atm to get the mailserver set up at once... I have a few hours every day to get the job done... This way it is difficult to stay concentrated. In yast is a section mailserver. It says: mail server is not configured. Select configuration type according your needs. If you want to use sendmail as your MTA you have to use Standard configuration. What exactly does that mean? I have fetchmail, procmail and courier-imap installed atm, all seem to work. When i choose advanced, there need some pkgs get installed. When i use sendmail i get asked for my connection type... tia for an answer, Rob. -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Oddball
If you want to use sendmail as your MTA you have to use Standard configuration.
What exactly does that mean?
iiuc, postfix is the normal install. If you want to use sendmail rather than the postfix provided "sendmail" (Postfix to Sendmail compatibility interface), you have to use the configuration provided by the sendmail package (vs postfix package) and hand edit the configuration. Sendmail that you see on normal openSUSE installations is provided to allow one to use other packages in a manner quite similar to the full sendmail package (vs postfix). -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 12-12-10 18:24, Patrick Shanahan schreef:
* Oddball
[12-12-10 12:15]: If you want to use sendmail as your MTA you have to use Standard configuration.
What exactly does that mean?
iiuc, postfix is the normal install. If you want to use sendmail rather than the postfix provided "sendmail" (Postfix to Sendmail compatibility interface), you have to use the configuration provided by the sendmail package (vs postfix package) and hand edit the configuration.
Sendmail that you see on normal openSUSE installations is provided to allow one to use other packages in a manner quite similar to the full sendmail package (vs postfix).
I need to be able to send mail from other machines, via the imap server, iiuc, to prevent having mail: received and sent scattered over many machines, and storage of all mail, in one place. I need to configure a mailserver, that sends the mail to the places the mail needs to be sent, is this correct? Then, if i would choose sendmail, instead of cyrus or what the other to be installed pkgs would provide, sendmail would handle this? -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 12-12-10 18:33, Oddball schreef:
Op 12-12-10 18:24, Patrick Shanahan schreef:
* Oddball
[12-12-10 12:15]: If you want to use sendmail as your MTA you have to use Standard configuration.
What exactly does that mean?
iiuc, postfix is the normal install. If you want to use sendmail rather than the postfix provided "sendmail" (Postfix to Sendmail compatibility interface), you have to use the configuration provided by the sendmail package (vs postfix package) and hand edit the configuration.
Sendmail that you see on normal openSUSE installations is provided to allow one to use other packages in a manner quite similar to the full sendmail package (vs postfix).
I need to be able to send mail from other machines, via the imap server, iiuc, to prevent having mail: received and sent scattered over many machines, and storage of all mail, in one place. I need to configure a mailserver, that sends the mail to the places the mail needs to be sent, is this correct? Then, if i would choose sendmail, instead of cyrus or what the other to be installed pkgs would provide, sendmail would handle this?
Please understand my confusion: Fetchmail works, i only have to make the command permanent with regular intervals. Procmail is installed, and had prepared maildirs. How to get the mail that fetchmail stores in /var/mymailbox, to the maildirs in the /home/maildir/mymailbox? -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Oddball
Fetchmail works, i only have to make the command permanent with regular intervals. Procmail is installed, and had prepared maildirs. How to get the mail that fetchmail stores in /var/mymailbox, to the maildirs in the /home/maildir/mymailbox?
hand off the mail that fetchmail obtains to procmail instead of delivering it to /var/mymailbox. poll imap.gmail.com tracepolls with proto IMAP timeout 45 user '<user-name>@gmail.com' there with password '<password>' is '<useer>' here options fetchall stripcr ssl sslcertck mda '/usr/bin/procmail' then configure procmail to deliver it to local mailboxes DEFAULT="/home/<user>/mail/INBOX/" ## for maildir ## remove trailing "/" for mbox -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 12-12-10 18:58, Patrick Shanahan schreef:
* Oddball
[12-12-10 12:50]: Fetchmail works, i only have to make the command permanent with regular intervals. Procmail is installed, and had prepared maildirs. How to get the mail that fetchmail stores in /var/mymailbox, to the maildirs in the /home/maildir/mymailbox?
hand off the mail that fetchmail obtains to procmail instead of delivering it to /var/mymailbox.
poll imap.gmail.com tracepolls with proto IMAP timeout 45 user '<user-name>@gmail.com' there with password '<password>' is '<useer>' here options fetchall stripcr ssl sslcertck mda '/usr/bin/procmail'
then configure procmail to deliver it to local mailboxes
DEFAULT="/home/<user>/mail/INBOX/" ## for maildir ## remove trailing "/" for mbox
Thnx patrick, sorry for the late respons: your mail was in junkbox... -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oddball said the following on 12/12/2010 12:47 PM:
Please understand my confusion: Fetchmail works, i only have to make the command permanent with regular intervals. Procmail is installed, and had prepared maildirs. How to get the mail that fetchmail stores in /var/mymailbox, to the maildirs in the /home/maildir/mymailbox?
I think you are terribly confused about the roles of the various components here and how they pass information from one to another. 'fetchail' should pipe though postfix and postfix should then use procmail for local delivery. I also use procmail for spam filtering DO NOT USE 'sendmail' Postfix is so easy to configure and sendmail is a buqqer! I say that as someone who has use many mail systems over the last 30 years. All the details for configuring are in how-tos you can google for. But remember: 1. Postfix is a MTA - Mail TRANSFER Agent 2. IMAP is a mailbox access tool 3. Procmail is a local delivery rule agent fetchmail feeds into postfix feeds into procmail feeds into your mailbox In /etc/postfix/main.cf you want mailbox_command = /usr/bin/procmail -Y -a $DOMAIN In your .procmailrc you want MAILDIR=/$HOME/Maildir/IMAP/ # This is the home of the mail store DEFAULT=/$HOME/Maildir/INBOX # Inbox substitute: tell where to put # the mail You will also have to over-ride the IMAP server's idea of where the INBOX is, and that will depend on which server you use. Or you could do it in thunderbird :-) There are many variations on all of this, but until you are more experienced I'd strongly advise keeping it simple As I said there are many good examples on-line if you google for them. Here is one with explanations: http://userpages.umbc.edu/~ian/procmail.html Here is the one on using spamassassin http://userpages.umbc.edu/~ian/procmail.html I repeat, DO NOT USE sendmail -- The scientific name for an animal that doesn't either run from or fight its enemies is lunch. - Michael Friedman -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 12-12-10 19:32, Anton Aylward schreef:
Oddball said the following on 12/12/2010 12:47 PM:
Please understand my confusion: Fetchmail works, i only have to make the command permanent with regular intervals. Procmail is installed, and had prepared maildirs. How to get the mail that fetchmail stores in /var/mymailbox, to the maildirs in the /home/maildir/mymailbox?
I think you are terribly confused about the roles of the various components here and how they pass information from one to another.
'fetchail' should pipe though postfix and postfix should then use procmail for local delivery. I also use procmail for spam filtering
DO NOT USE 'sendmail' Postfix is so easy to configure and sendmail is a buqqer! I say that as someone who has use many mail systems over the last 30 years.
All the details for configuring are in how-tos you can google for.
But remember:
1. Postfix is a MTA - Mail TRANSFER Agent 2. IMAP is a mailbox access tool 3. Procmail is a local delivery rule agent
fetchmail feeds into postfix feeds into procmail feeds into your mailbox
In /etc/postfix/main.cf you want
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN
In your .procmailrc you want
MAILDIR=/$HOME/Maildir/IMAP/ # This is the home of the mail store DEFAULT=/$HOME/Maildir/INBOX # Inbox substitute: tell where to put # the mail
You will also have to over-ride the IMAP server's idea of where the INBOX is, and that will depend on which server you use. Or you could do it in thunderbird :-)
There are many variations on all of this, but until you are more experienced I'd strongly advise keeping it simple
As I said there are many good examples on-line if you google for them. Here is one with explanations: http://userpages.umbc.edu/~ian/procmail.html Here is the one on using spamassassin http://userpages.umbc.edu/~ian/procmail.html
I repeat, DO NOT USE sendmail
How nice! ;-) Thnx Anton, Now i will be able to get it done, and prepare the place for the 'mailbox' in the storage room. mailbox_command = /usr/bin/procmail -Y -a $DOMAIN < Do i write this, or is it something i have to fill in with something? -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Oddball
Op 12-12-10 19:32, Anton Aylward schreef:
As I said there are many good examples on-line if you google for them. Here is one with explanations: http://userpages.umbc.edu/~ian/procmail.html Here is the one on using spamassassin http://userpages.umbc.edu/~ian/procmail.html
I repeat, DO NOT USE sendmail
Thnx Anton,
Now i will be able to get it done, and prepare the place for the 'mailbox' in the storage room.
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN < Do i write this, or is it something i have to fill in with something?
this is completely wrong! if you are going to deliver thru postfix: mailbox_command = /usr/bin/procmail the parameters you suggest are for sendmail to deliver mail outside your machine, and nowhere suggested by Anton. using a shotgun in linux will give you much sorrow. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Patrick Shanahan
* Oddball
[12-12-10 13:56]: mailbox_command = /usr/bin/procmail -Y -a $DOMAIN < Do i write this, or is it something i have to fill in with something?
this is completely wrong!
It is me that is wrong, sorry! -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 12-12-10 20:11, Patrick Shanahan schreef:
* Patrick Shanahan
[12-12-10 14:03]: * Oddball
[12-12-10 13:56]: mailbox_command = /usr/bin/procmail -Y -a $DOMAIN < Do i write this, or is it something i have to fill in with something?
this is completely wrong!
It is me that is wrong, sorry!
So, i seem not be the only one confused... ;-[) so, the command is: mailbox_command = /usr/bin/procmail -Y -a $DOMAIN ? -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Oddball
So, i seem not be the only one confused... ;-[)
too fast on the trigger :^)
so, the command is: mailbox_command = /usr/bin/procmail -Y -a $DOMAIN ?
I would think that mailbox_command = /usr/bin/procmail -Y would be sufficient. there is always, trial-and-error. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday, 2010-12-12 at 14:42 -0500, Patrick Shanahan wrote:
there is always, trial-and-error.
I have: mailbox_command = /usr/bin/procmail - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAk0FbLwACgkQtTMYHG2NR9UAJACfdXNRMmUeRT/2QLUmw9jcY+88 RxoAn35EF+j49Q1CCPOLtvSMEgCbCEvI =NmkN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oddball said the following on 12/12/2010 01:54 PM
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN < Do i write this, or is it something i have to fill in with something?
Read the postfix config file - you will find it -- A rock has no detectable opinion about gravity. -- _The Science of Discworld_ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 12-12-10 20:29, Anton Aylward schreef:
Oddball said the following on 12/12/2010 01:54 PM
mailbox_command = /usr/bin/procmail -Y -a $DOMAIN < Do i write this, or is it something i have to fill in with something?
Read the postfix config file - you will find it
Thnx, i will, thnx for the help, my time is up again for today :-( Have to split.... c ya all l8r.. -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
http://www.jennings.homelinux.net/mailserver_config.html http://steveyoung.wordpress.com/2007/01/15/17/ Good flow diagram http://www.hypexr.org/linux_mail_server.php http://www.tuxradar.com/content/get-started-fetchmail-procmail-and-dovecot Go google some more and learn the basics. Like they say on X-Files: "The Truth is out there" Don't make us do the work for you. -- Light a fire for an idiot and he'll be warm for a night. Set an idiot on fire and he'll be warm for the rest of his life. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 12-12-10 20:46, Anton Aylward schreef:
http://www.jennings.homelinux.net/mailserver_config.html
http://steveyoung.wordpress.com/2007/01/15/17/
Good flow diagram http://www.hypexr.org/linux_mail_server.php
http://www.tuxradar.com/content/get-started-fetchmail-procmail-and-dovecot
Go google some more and learn the basics. Like they say on X-Files: "The Truth is out there" Don't make us do the work for you.
If you have the feeling you have to my work, you know nothing about my work... ;-) I would never force someone to do my work..... Setting up a mailserver i do not see as work, more as something after work.... But if you feel like you are forced by me to do my work, simply do not respond to my mail.... On the other hand, who is us? I am very busy getting an awfull lot of physical work done, and have simply not much time for my hobby, like now with this mailserver, I get up at 5:45, and go to bed at 22:15, and when i am lucky, i have been sitting doing nothing and drink tea for five or six minutes.... I learn something, and solve a problem at the same time, and as i said, i only have little time.. Today i just had the time to answer the mail, have to travel and work after supper, until 21:45 - 22:00, when i am lucky.... but that is not your problem... BTW, i am no kid, i am 54, and have a wife and 2 grownup sons.. the little time i have for this, i am using to look for written documents, but many do not apply.. I think it is not a big deal for guys like you to point me in the right direction... -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Oddball said the following on 12/13/2010 12:13 PM:
BTW, i am no kid, i am 54, and have a wife and 2 grownup sons..
Oh wow! A youngster. Patrick and myself seem to collect them :-)
the little time i have for this, i am using to look for written documents, but many do not apply..
I have shelves and shelves of them hat do not apply, afer all, who uses 12 bit, 18 bit, 19 bit, 24 bit, and 60 bit machines these days? Its why I use Google instead.
I think it is not a big deal for guys like you to point me in the right direction...
We have. Google is our friend. It can be yours as well. -- "It seemed to me," said Wonko the Sane, "that any civilization that had so far lost its head as to need to include a set of detailed instructions for use in a package of toothpicks, was no longer a civilization in which I could live and stay sane." -- Douglas Adams' _So Long, And Thanks For All The Fish_ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 12/12/2010 11:13 AM, Oddball wrote:
Hi List,
I am not in a position atm to get the mailserver set up at once... I have a few hours every day to get the job done... This way it is difficult to stay concentrated. In yast is a section mailserver. It says: mail server is not configured. Select configuration type according your needs. If you want to use sendmail as your MTA you have to use Standard configuration.
What exactly does that mean?
I have fetchmail, procmail and courier-imap installed atm, all seem to work. When i choose advanced, there need some pkgs get installed. When i use sendmail i get asked for my connection type...
tia for an answer, Rob.
Rob, I would stay with postfix, and use dovecot as the imap/pop package for mail access. I still have a general howto for mail server setup: http://www.3111skyline.com/linux/openSuSE-server.php ** see No. 7 -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Op 13-12-10 02:24, David C. Rankin schreef:
On 12/12/2010 11:13 AM, Oddball wrote:
Hi List,
I am not in a position atm to get the mailserver set up at once... I have a few hours every day to get the job done... This way it is difficult to stay concentrated. In yast is a section mailserver. It says: mail server is not configured. Select configuration type according your needs. If you want to use sendmail as your MTA you have to use Standard configuration.
What exactly does that mean?
I have fetchmail, procmail and courier-imap installed atm, all seem to work. When i choose advanced, there need some pkgs get installed. When i use sendmail i get asked for my connection type...
tia for an answer, Rob.
Rob,
I would stay with postfix, and use dovecot as the imap/pop package for mail access. I still have a general howto for mail server setup:
http://www.3111skyline.com/linux/openSuSE-server.php
** see No. 7
thanks for thinking with me... ;-) -- Enjoy your time around, Oddball (M9.) (Now or never...) OS: Linux 2.6.34-12-desktop x86_64 Huidige gebruiker: oddball@AMD64x2sfn1 Systeem: openSUSE 11.3 (x86_64) KDE: 4.4.4 (KDE 4.4.4) "release 2" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Anton Aylward
-
Carlos E. R.
-
David C. Rankin
-
Oddball
-
Patrick Shanahan