LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-04-2016, 10:11 AM   #1
PCarra
LQ Newbie
 
Registered: Jun 2016
Posts: 1

Rep: Reputation: Disabled
Setting up a mail server using Opensmtpd and Dovecot


I am using CentOS7 and trying to set up a mail server using OpenSMTPD when trying to send mail via the command prompt I get this error message "send-mail: error in offline directory setup" I can't find anything online that explains what I should look for to correct this problem. Any ideas?
 
Old 06-21-2016, 10:12 AM   #2
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
Hi,
I don't really know what opensmtpd is so this tip is more generic:
try running the "send email via the command prompt" program (mail? mailx? sendemail?) with this in front of the call
strace -f -o /tmp/strace.log <mail-program>
where you put your normal mail command in <...>. E.g.:
strace -f -o /tmp/strace.log mail -f ...
That way, you end up with a fairly big logfile in which you can see the error messages from the system calls the program tried to use. *Maybe* that helps shed a light on the real problem.

BTW - you might have to install "strace" first ;-)

HTH,
Upuetz
 
  


Reply



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
opensmtpd configured; sends; but no mail delivered dh2k Slackware 0 03-12-2014 01:44 AM
Seeking hints about setting up a mail server using postfix and dovecot (homework). davidatpeak Linux - Server 3 10-17-2012 11:24 AM
LXer: Setting Up A Mail Server Using Exim4, Clamav, Dovecot, SpamAssassin On Debian LXer Syndicated Linux News 0 09-23-2010 07:50 PM
Setting up a mail server with Dovecot and/or Postfix with virtual domains Josh1billion Linux - Server 12 11-27-2008 02:57 AM
LXer: Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail LXer Syndicated Linux News 0 03-12-2008 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 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