LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-12-2003, 10:29 AM   #1
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Rep: Reputation: 15
POP3 mail server - sendmail at FreeBSD


Hey, I am new at this site, and it is a really nice forum in here =)! Are there someone, who would like to give me som links to guide's, then I can get pop3 server op, via sendmail, in unix (freebsd 4.8) (not some lameness guides, just a simple user-friendly guide) grrr.. well thx ;)
 
Old 09-12-2003, 12:34 PM   #2
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Qpopper is a POPular pop3 server.
I think it will work 'out of the box' if you install it via the ports tree.
By the way, is sendmail already working?

Last edited by J_Szucs; 09-12-2003 at 12:37 PM.
 
Old 09-14-2003, 03:12 AM   #3
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
ok, but how do I configure sendmail, then it works with a domain.xx?
 
Old 09-14-2003, 05:12 AM   #4
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
last time I got pop3 server, then POPA3D with sendmailworks fine, but now it doesn't, its really strange.. but J_Szucs, it is this server you mean > http://www.eudora.com/qpopper/ < ? the Qpopper..
 
Old 09-15-2003, 10:23 AM   #5
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
The first step is to install and/or configure sendmail, as qpopper will not work without that.

I installed sendmail on two FreeBSD machines in the last weeks, but I installed both from source, not by the ports tree.
I do not even know where are the sendmail mc files and how to use them when sendmail is installed by the ports system.

However, (re-) installation from a source tar.gz turned out to be very easy. One has to follow the step-by-step installation instructions in the INSTALL file on the top of the sendmail directory tree, only.
If you choose this method and get stucked, I can help you with my siteconfig mc file as an example.
If you choose to keep the present sendmail installation, we should first identify what files you have and where.

Last edited by J_Szucs; 09-15-2003 at 10:25 AM.
 
Old 09-16-2003, 08:32 AM   #6
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
I would like, to get your help J_Szucs =) When you got time
 
Old 09-16-2003, 09:25 AM   #7
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
Backup /etc/mail, the sendmail and makemap binaries, then download the sendmail sources from ftp://ftp.sendmail.org/pub/sendmail. (I downloaded sendmail-8.11.7.tar.gz, since I had 8.11.6 previously and my only aim was to patch sendmail, you can choose 8.12 branch instead.)
Copy the file into /usr/local, and extract it:
tar -zxvf sendmail-x.xx.x.tar.gz
cd into the newly created sendmail-x.xx.x directory, and follow the step-by-step instructions in the INSTALL file there.

My sendmail.mc file used for the generation of the sendmail.cf file was as follows (my domain: foo.bar, mail domain: mail.foo.bar, my ISP's relay: smtp.myisp.hu):
divert(-1)
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.10.2.8 2001/03/06 02:12:59 gshapiro Exp $')
OSTYPE(bsd4.4)
DOMAIN(generic)
FEATURE(access_db, `hash -o /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(genericstable, `hash -o /etc/mail/genericstable')
FEATURE(always_add_domain)
FEATURE(relay_entire_domain)
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')
EXPOSED_USER(`root')
MASQUERADE_AS(`foo.bar')
MASQUERADE_DOMAIN(`mail.foo.bar')
FEATURE(allmasquerade)
FEATURE(masquerade_envelope)
define(`confPRIVACY_FLAGS',`goaway')
define(`confMAX_HEADERS_LENGTH',`16384')
define(`confMAX_MESSAGE_SIZE',`50000000')
define(`confCONNECTION_RATE_THROTTLE',`3')
define(`confMAX_DAEMON_CHILDREN',`12')
define(`confSMTP_LOGIN_MSG',`great mailer')
define(`confMAX_RCPTS_PER_MESSAGE',`50')
define(`confTO_IDENT', `0')
define(`confTO_QUIT', `8m')
define(`SMART_HOST', `smtp.myisp.hu')
define(`confCW_FILE', `-o /etc/mail/local-host-names')
DAEMON_OPTIONS(`Name=IPv4, Family=inet')
define(`confCOPY_ERRORS_TO', `postmaster')
define(`confMAX_MIME_HEADER_LENGTH', `256/128')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
FEATURE(use_cw_file)
MAILER(local)
MAILER(smtp)

There are some files mentioned in the .mc file, which you shall also created, and your dns records in your local name server shall be created, too.
 
Old 09-16-2003, 10:30 AM   #8
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
J_Szucs > Do you use ICQ/MSN or IRC? then we can write about it.. because I have some questions for sure, it sounds interesting, that you are writing!?
 
Old 09-16-2003, 01:57 PM   #9
J_Szucs
Senior Member
 
Registered: Nov 2001
Location: Budapest, Hungary
Distribution: SuSE 6.4-11.3, Dsl linux, FreeBSD 4.3-6.2, Mandrake 8.2, Redhat, UHU, Debian Etch
Posts: 1,126

Rep: Reputation: 58
No, I do not, but I come here 5 times a day.
 
Old 09-17-2003, 08:18 AM   #10
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
Oh okay =) nice nice!
 
Old 09-19-2003, 07:13 AM   #11
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
Damn, I can not get it in work :/
 
Old 09-19-2003, 11:59 AM   #12
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Original Poster
Rep: Reputation: 15
Ohh, I just found a NICE manual, from #sendmail on efnet =) And now my pop3 server, works great!! Thx J_Szucs, for your messages =)
Not any problems now, dont worry I write here if there will became some other problems *hehe*
WiZaC =)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem receiving pop3 mail from postfix mail server GEN_Electric Linux - Software 2 02-14-2005 02:43 PM
Evolution not deleting POP3 server mail when Getting mail. dummy.1 Linux - Newbie 3 07-13-2004 07:50 AM
POP3 Mail Server timnew Linux - Newbie 4 05-17-2003 04:41 PM
POP3 mail Server timnew Linux - Software 3 05-12-2003 09:58 AM
mail (sendmail+pop3) problems... sqn Slackware 42 03-30-2003 04:08 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration