LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-15-2008, 05:41 PM   #1
thefreak
LQ Newbie
 
Registered: Jan 2008
Posts: 2

Rep: Reputation: 0
Unhappy dovecot + sendmail not fully working


Hi I need to install a pop3/webmail and sendmail for one of our website. My sendmail is working great, after passing 2 days to make hotmail taking my email. Now i try to setup my pop3 with dovecot but nothing is working and really dont understand the trouble i have here.

the trouble is quite simple user unknown from sendmail when receiving email

i think its because sendmail try to check in the wrong file for the dovecot virtual users. if i create a local user its working but not for my domain.com.

sendmail[22430]: m0FMv5pK022430: from=<sender>, size=9345, class=0, nrcpts=1, msgid=<200801152257.m0FMv5pK022430@domain.com>, proto=ESMTP, daemon=MTA, relay=senderdomain.com [***** ip]
sendmail[22437]: m0FMv5pK022430: to=client, ctladdr=<client> (8/0), delay=00:00:01, mailer=local, pri=129345, dsn=5.1.1, stat=User unknown
sendmail[22437]: m0FMv5pK022430: to=<client>, delay=00:00:01, mailer=local, pri=129345, dsn=5.1.1, stat=User unknown
sendmail[22437]: m0FMv5pK022430: m0FMv6pK022437: DSN: User unknown

if i create a local user and put it in aliases for this client email i dont see unknown user but the email is no where my vuser dont have it and local user didnt. where im supose to check to make sendmail send email to "dovecot user"


here my conf of dovecot
###########################
# Remove pop3 things if you don't want them
protocols = pop3

# It's nice to have separate log files for Dovecot. You could do this
# by changing syslog configuration also, but this is easier.
log_path = /var/log/dovecot.log
info_log_path = /var/log/dovecot-info.log

# Disable SSL for now.
ssl_disable = yes
disable_plaintext_auth = no

# We're using Maildir format
#mail_location = maildir:~/Maildir
default_mail_env = mbox:/var/mail/%u.mbox:INBOX=/var/mail/%u:INDEX=/var/mail-index/%u
# If you're using POP3, you'll need this:
pop3_uidl_format = %08Xu%08Xv

# Optimizations:
dotlock_use_excl=yes
maildir_copy_with_hardlinks=yes

# Authentication configuration:
auth_verbose = yes

auth default {
mechanisms = plain
passdb passwd-file {
args = /etc/dovecot/passwd
}

userdb passwd-file {
args = /etc/dovecot/passwd
}


}
listen =
ssl_listen =


heres the sendmail conf

###########################
divert(-1)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`Sendmail pour domain.com')dnl
OSTYPE(`linux')dnl
define(`confMAX_MESSAGE_SIZE', `20000000')dnl
define(`confDEF_USER_ID',``8:12'')dnl
define(`confTO_CONNECT',`1m')dnl
define(`confTO_QUEUERETURN',`1d')dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
define(`ALIAS_FILE',`/etc/aliases')dnl
define(`consSMTP_LOGIN_MSG',`$j $b')dnl
FEATURE(`no_default_msa',`dnl')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`nouucp',`reject')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`always_add_domain',`domain.com')dnl
FEATURE(`masquerade_entire_domain')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`accept_unresolvable_domains')dnl
FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
FEATURE(`blacklist_recipients')dnl
MASQUERADE_AS(`domain.com')dnl
MASQUERADE_DOMAIN(`domain.com')dnl
EXPOSED_USER(`root')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
###########################
 
Old 08-06-2012, 08:37 AM   #2
Rafael25
Member
 
Registered: Jul 2012
Posts: 55

Rep: Reputation: Disabled
Thumbs up

Hi,

Did you manage to get the two working ??

Thanks in advance

Regards,
Rafael
 
  


Reply

Tags
dovecot, help, sendmail



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
Dovecot/Sendmail problem cizzi Linux - Software 4 06-04-2007 10:48 PM
sendmail, dovecot and squid integration 4ajaysingh Linux - Networking 0 12-28-2006 12:10 AM
Dovecot, Sendmail, & FC2 ScooterB Linux - Software 0 08-30-2005 10:11 AM
Relationship: sendmail <=> dovecot hfreeman Linux - Software 4 03-04-2005 10:41 AM
dovecot , sendmail and fedora core 2 ScooterB Linux - Software 6 01-05-2005 11:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:11 PM.

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