my username on the server is feld. Both email providers require I login with the full email address. Gmail actually wants SSL, my ISP does not. When I run the checkmail script (which is referenced by the cronjob i setup according to the guide) it just hangs... doesnt seem to do anything.

Any tips, suggestions? I'd really like to get this going, it would be very handy! Thanks!

edit: found out gmail needs an ssl cert that someone provided perfect info to -- was missing procmail, think i might have fixed this... need to setup clients / cron for spamassassin and hope sending emails works and I might be configured! YAY!

Note: I had some odd error pop up about failing to send an email to feld@localhost?

edit: relayhost = [mailhost.isp.com] was needed so I could properly forward SMTP, and also I redid all my configs anyway just for clarification. It is now functioning. Sylpheed works great, but Outlook and Thunderbird in Windows dont like this for some reason so I'll just use the win32 build of Sylpheed.

Thanks for the great guide! This is a really great experience and it is extremely handy!!!!

edit #2: Oh my, what a discovery! Sylpheed for Windows actually gave me a USEFUL error message! "Avast does not accept TLS connections". If only Outlook and Thunderbird could have told me that my antivirus was the issue as plainly as Sylpheed did.... Anyway, Thunderbird gained progress but is now barking about a corrupt certificate even after I cleared them out and tried again. I guess native Windows email clients suck. Sylpheed is kickin ass, that's all I gotta say

Thanks again for the guide!!!

-Feld_________________< bmg505> I think the first line in reiserfsck is

The previous link shows how sSMTP can use your Gmail SMTP server... It requires StartTLS and your username and password to auth before sending your gmail. Is the previous obtainable through the tools used in your guide?

It appears to me that our setup will not work this way. In fact, I am quite confused as to of why we configured /etc/postfix/saslpass to include an smtp server + username/password when it refuses to use this information until we set our /etc/postfix/main.cf to use the relayhost setting and list our SMTP server. It just seems odd, but obviously it IS using that username/password or else I know I couldnt send emails. ANYWAY, I am unable to locate information showing that there are settings in either configuration file that will allow me to enable StartTLS.

Prove me wrong please, as I'd like to be able to have Gmail as a backup SMTP server if something was to happen.

(my ISP isn't the most stable thing in this world.... )

-Feld_________________< bmg505> I think the first line in reiserfsck is

I just ran throug this guide and can say that I'm definatly impressed with the time that has been put into it. Unfortunatly I still have not gotten this to work. For some reason evolution rejects my password and says unknown error. I have read through some of this thread and not yet found anything that works, any ideals?_________________http://zigtech.net/forum

Hi, I have followed this entire guide and it works great. I have only one problem I just noticed. Root does not get any mail. I have logwatch installed and ddclient and both mail root when needed. Using root and squirrel mail i can email my user and user can email out to anyone. but root cannot get mail from the user or from the system.

Anybody have success with storing maildirs outside of one's homedir? I'd like to use my raid array for mail storage, but symlinks are rejected by procmail as being "BOGUS" and the procmailrc files are ignored completely since maildirs aren't real-time delivery or some such nonsense. I've seen reccomendations on changing the src/authenticate.c file and changing the MAILSPOOLDIR, which is set to /var/spool/mail. Thing is I doubt changing that will do any good since there are no spools present there other than for root, which was last modified a very long time ago.

I have checked that courier-imap-ssl and courier-imap-authlib have started. I have rebooted. I have triple checked my config files according to this guide. I have the following /etc/courier/authlib/authdaemond.conf

I am desperately seeking help, I have no idea what's wrong. A world update (emerge -uD world) switched the baselayout - and since then, courier-imapd-ssl won't start anymore.
Unfortunately, I have no log-files (how the heck do I have courier-imapd-ssl to log what's wrong?) - all I can say is that on starting up the service /etc/init.d/courier-imapd-ssl, I get a [!!] instead of an [ok] - no further error-messages...

Any idea what I could do?

I already skipped through many conf-files, and also re-emerged both courier-authlib and courier-imap - did nothing...

Hello ALL !!!
I hope this suggestions can help to anyone who get "Input/output error!" with courier-imap or other error.
if you get this stupid non-infomative message try this:
1. DOUBLE check your conf for typos. For example, all paths to mysql socket ( I loss _hours_ before found my "typo" because after I got non-working conf from official gentoo howto I tried to use other "useful" links and there was wrong path to mysql socket)
2. Use strace utility to attach to process and save the log to file (-o option). Then grep this logs for "Access denied" or "No such file" keywords and you will solve wrong permissions and path.
3. I found TONS of references for "Input/output error!" without solution and after wasting few (!!!) days, probably I found bug in "make install" of courier-imap - wrong permissions to /var/lib/courier/authdaemon/ dir. This could help you:

Code:

cd /var/lib/courier/authdaemon/
chmod 777 ..
chmod 777 .

sorry for my really bad english, I hope this will help to make working mail server!
GOOD LUCK !!!

Last edited by fank on Fri Feb 23, 2007 12:54 pm; edited 1 time in total

I followed this post. Beowulf, if you still read this, you did a good job. thank you and to they who contributed to the smamassassin section, that program is pretty nifty if i do say so myself, which i do.

I found that it was necessary to edit the main.cf file to allow my server to accept mail from the outside world...

Code:

smtpd_client_restrictions = permit_sasl_authenticated, permit

i changed that so i could recieve mail from my online mail account that i had sent to my home email account. i could not get the mail to go through. and this line...

Code:

#smtpd_recipient_restrictions = permit_mynetworks, rejec

i put in to avoid relaying but commented out because it didn't work. besides, as i learned from reading up on this online, the default options for relaying and the smdtpd_recipient_restrictions is quite sane, allowing only those in mynetworks, anyway.

is this not a good idea and in fact a necessary step of the setup? or is nobody trying to run this open to the outside world?_________________Configuring a Firewall? Try my iptables configurationLinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!

First, thanks beowulf for the wonderful work - I have recently reinstalled my e-mail system, and the how-to is just wonderful!

Now, what puzzles me: It seems that bogotrainer does not learn anything: I have tons of spam, but they are in the inbox, and I move them to Spam/false-negatives. After a while, they are moved to Spam, as designed, but none of my e-mails will go to the Spam folder directly... as if they were not recognized...

At first, I thought that this is because I reinstalled the whole system and thus bogotrainer being dumb and with no idea about what is spam and what not - but I have done this some weeks ago, and still, the situation has not changed...

first of all, to tkhobbes let me suggest spamassasin. I never tried bogofilter, but spam assassin now supports bayesian filtering and, for the few days my network was up, it worked really well for me.

now on to my problem...

arghhh! Help!

i have set up a great home email network as directed by this guide. After it finally got all up and working, it only took me a few days to break it.

My home directory on the mail server is a nfs mounted partition on my fileserver. When my fileserver crashed it took my maildir with it, and now when i try to fetch my mail from an online account i get...

what's going on? Any suggestions? Please help, this has now baffled me for a fortnight!_________________Configuring a Firewall? Try my iptables configurationLinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!

now why would that be? Are you running smtp of some kind on localhost? Are you running a firewall of some kind? Do you have a 'lo' network device?_________________Configuring a Firewall? Try my iptables configurationLinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit!