473,320 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Dovecot IMAP server help CentOS

cassbiz
202 100+
Need help in setting up Dovecot for IMAP
Feb 5 '07 #1
6 7286
cassbiz
202 100+
Here is my Dovecot.conf file

Expand|Select|Wrap|Line Numbers
  1. ## Dovecot 1.0 configuration file
  2.  
  3. # Default values are shown after each value, it's not required to uncomment
  4. # any of the lines. Exception to this are paths, they're just examples
  5. # with real defaults being based on configure options. The paths listed here
  6. # are for configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
  7. # --with-ssldir=/usr/share/ssl
  8.  
  9. # Base directory where to store runtime data.
  10. #base_dir = /var/run/dovecot/
  11.  
  12. # Protocols we want to be serving:
  13. #  imap imaps pop3 pop3s
  14. protocols = imap pop3
  15.  
  16. # IP or host address where to listen in for connections. It's not currently
  17. # possible to specify multiple addresses. "*" listens in all IPv4 interfaces.
  18. # "[::]" listens in all IPv6 interfaces, but may also listen in all IPv4
  19. # interfaces depending on the operating system. You can specify ports with
  20. # "host:port".
  21. imap_listen = [::]
  22. pop3_listen = [::]
  23.  
  24. # IP or host address where to listen in for SSL connections. Defaults
  25. # to above non-SSL equilevants if not specified.
  26. #imaps_listen =
  27. #pop3s_listen =
  28.  
  29. # Disable SSL/TLS support.
  30. #ssl_disable = no
  31.  
  32. # PEM encoded X.509 SSL/TLS certificate and private key. They're opened before
  33. # dropping root privileges, so keep the key file unreadable by anyone but
  34. # root. Included doc/mkcert.sh can be used to easily generate self-signed
  35. # certificate, just make sure to update the domains in dovecot-openssl.cnf
  36. #ssl_cert_file = /usr/share/ssl/certs/dovecot.pem
  37. #ssl_key_file = /usr/share/ssl/private/dovecot.pem
  38.  
  39. # SSL parameter file. Master process generates this file for login processes.
  40. # It contains Diffie Hellman and RSA parameters.
  41. #ssl_parameters_file = /var/run/dovecot/ssl-parameters.dat
  42.  
  43. # How often to regenerate the SSL parameters file. Generation is quite CPU
  44. # intensive operation. The value is in hours, 0 disables regeneration
  45. # entirely.
  46. #ssl_parameters_regenerate = 24
  47.  
  48. # Disable LOGIN command and all other plaintext authentications unless
  49. # SSL/TLS is used (LOGINDISABLED capability). Note that 127.*.*.* and
  50. # IPv6 ::1 addresses are considered secure, this setting has no effect if
  51. # you connect from those addresses.
  52. #disable_plaintext_auth = yes
  53.  
  54. # Use this logfile instead of syslog(). /dev/stderr can be used if you want to
  55. # use stderr for logging (ONLY /dev/stderr - otherwise it is closed).
  56. #log_path =
  57.  
  58. # For informational messages, use this logfile instead of the default
  59. #info_log_path =
  60.  
  61. # Prefix for each line written to log file. % codes are in strftime(3)
  62. # format.
  63. #log_timestamp = "%b %d %H:%M:%S "
  64.  
  65. ##
  66. ## Login processes
  67. ##
  68.  
  69. # Directory where authentication process places authentication UNIX sockets
  70. # which login needs to be able to connect to. The sockets are created when
  71. # running as root, so you don't have to worry about permissions. Note that
  72. # everything in this directory is deleted when Dovecot is started.
  73. login_dir = /var/run/dovecot-login
  74.  
  75. # chroot login process to the login_dir. Only reason not to do this is if you
  76. # wish to run the whole Dovecot without roots.
  77. login_chroot = yes
  78.  
  79.  
  80. ##
  81. ## IMAP login process
  82. ##
  83.  
  84. login = imap
  85.  
  86. # Executable location.
  87. #login_executable = /usr/libexec/dovecot/imap-login
  88.  
  89. # User to use for the login process. Create a completely new user for this,
  90. # and don't use it anywhere else. The user must also belong to a group where
  91. # only it has access, it's used to control access for authentication process.
  92. #login_user = dovecot
  93.  
  94. # Set max. process size in megabytes. If you don't use
  95. # login_process_per_connection you might need to grow this.
  96. #login_process_size = 32
  97.  
  98. # Should each login be processed in it's own process (yes), or should one
  99. # login process be allowed to process multiple connections (no)? Yes is more
  100. # secure, espcially with SSL/TLS enabled. No is faster since there's no need
  101. # to create processes all the time.
  102. #login_process_per_connection = yes
  103.  
  104. # Number of login processes to create. If login_process_per_user is
  105. # yes, this is the number of extra processes waiting for users to log in.
  106. #login_processes_count = 3
  107.  
  108. # Maximum number of extra login processes to create. The extra process count
  109. # usually stays at login_processes_count, but when multiple users start logging
  110. # in at the same time more extra processes are created. To prevent fork-bombing
  111. # we check only once in a second if new processes should be created - if all
  112. # of them are used at the time, we double their amount until limit set by this
  113. # setting is reached. This setting is used only if login_process_per_use is yes.
  114. #login_max_processes_count = 128
  115.  
  116. # Maximum number of connections allowed in login state. When this limit is
  117. # reached, the oldest connections are dropped. If login_process_per_user
  118. # is no, this is a per-process value, so the absolute maximum number of users
  119. # logging in actually login_processes_count * max_logging_users.
  120. #login_max_logging_users = 256
  121.  
  122. ##
  123. ## POP3 login process
  124. ##
  125.  
  126. # Settings default to same as above, so you don't have to set anything
  127. # unless you want to override them.
  128.  
  129. login = pop3
  130.  
  131. # Exception to above rule being the executable location.
  132. #login_executable = /usr/libexec/dovecot/pop3-login
  133.  
  134. ##
  135. ## Mail processes
  136. ##
  137.  
  138. # Maximum number of running mail processes. When this limit is reached,
  139. # new users aren't allowed to log in.
  140. #max_mail_processes = 1024
  141.  
  142. # Show more verbose process titles (in ps). Currently shows user name and
  143. # IP address. Useful for seeing who are actually using the IMAP processes
  144. # (eg. shared mailboxes or if same uid is used for multiple accounts).
  145. #verbose_proctitle = no
  146.  
  147. # Show protocol level SSL errors.
  148. #verbose_ssl = no
  149.  
  150. # Valid UID range for users, defaults to 500 and above. This is mostly
  151. # to make sure that users can't log in as daemons or other system users.
  152. # Note that denying root logins is hardcoded to dovecot binary and can't
  153. # be done even if first_valid_uid is set to 0.
  154. #first_valid_uid = 500
  155. #last_valid_uid = 0
  156.  
  157. # Valid GID range for users, defaults to non-root/wheel. Users having
  158. # non-valid GID as primary group ID aren't allowed to log in. If user
  159. # belongs to supplementary groups with non-valid GIDs, those groups are
  160. # not set.
  161. #first_valid_gid = 1
  162. #last_valid_gid = 0
  163.  
  164. # Grant access to these extra groups for mail processes. Typical use would be
  165. # to give "mail" group write access to /var/mail to be able to create dotlocks.
  166. #mail_extra_groups =
  167.  
  168. # ':' separated list of directories under which chrooting is allowed for mail
  169. # processes (ie. /var/mail will allow chrooting to /var/mail/foo/bar too).
  170. # This setting doesn't affect login_chroot or auth_chroot variables.
  171. # WARNING: Never add directories here which local users can modify, that
  172. # may lead to root exploit. Usually this should be done only if you don't
  173. # allow shell access for users. See doc/configuration.txt for more information.
  174. #valid_chroot_dirs =
  175.  
  176. # Default chroot directory for mail processes. This can be overridden by
  177. # giving /./ in user's home directory (eg. /home/./user chroots into /home).
  178. #mail_chroot =
  179.  
  180. # Default MAIL environment to use when it's not set. By leaving this empty
  181. # dovecot tries to do some automatic detection as described in
  182. # doc/mail-storages.txt. There's a few special variables you can use:
  183. #
  184. #   %u - username
  185. #   %n - user part in user@domain, same as %u if there's no domain
  186. #   %d - domain part in user@domain, empty if user there's no domain
  187. #   %h - home directory
  188. #
  189. # You can also limit a width of string by giving the number of max. characters
  190. # after the '%' character. For example %1u gives the first character of
  191. # username. Some examples:
  192. #
  193. #   default_mail_env = maildir:/var/mail/%1u/%u/Maildir
  194. #   default_mail_env = mbox:~/mail/:INBOX=/var/mail/%u
  195. #   default_mail_env = mbox:/var/mail/%d/%n/:INDEX=/var/indexes/%d/%n
  196. #
  197. default_mail_env = maildir:%h/Maildir
  198.  
  199.  
Feb 5 '07 #2
cassbiz
202 100+
second section of dovecot.conf

Expand|Select|Wrap|Line Numbers
  1. # Space-separated list of fields to cache for all mails. Currently these
  2. # fields are allowed followed by a list of commands they speed up:
  3. #
  4. #  Envelope      - FETCH ENVELOPE and SEARCH FROM, TO, CC, BCC, SUBJECT,
  5. #                  SENTBEFORE, SENTON, SENTSINCE, HEADER MESSAGE-ID,
  6. #                  HEADER IN-REPLY-TO
  7. #  Body          - FETCH BODY
  8. #  Bodystructure - FETCH BODY, BODYSTRUCTURE
  9. #  MessagePart   - FETCH BODY[1.2.3] (ie. body parts), RFC822.SIZE,
  10. #                  SEARCH SMALLER, LARGER, also speeds up BODY/BODYSTRUCTURE
  11. #                  generation. This is always set with mbox mailboxes, and
  12. #                  also default with Maildir.
  13. #
  14. # Different IMAP clients work in different ways, that's why Dovecot by default
  15. # only caches MessagePart which speeds up most operations. Whenever client
  16. # does something where caching could be used, the field is automatically marked
  17. # to be cached later. For example after FETCH BODY the BODY will be cached
  18. # for all new messages. Normally you should leave this alone, unless you know
  19. # what most of your IMAP clients are. Caching more fields than needed makes
  20. # the index files larger and generate useless I/O.
  21. #
  22. # With maildir there's one extra optimization - if nothing is cached, indexing
  23. # the maildir becomes much faster since it's not opening any of the mail files.
  24. # This could be useful if your IMAP clients access only new mails.
  25.  
  26. #mail_cache_fields = MessagePart
  27.  
  28. # Space-separated list of fields that Dovecot should never set to be cached.
  29. # Useful if you want to save disk space at the cost of more I/O when the fields
  30. # needed.
  31. #mail_never_cache_fields =
  32.  
  33. # Workarounds for various client bugs:
  34. #   oe6-fetch-no-newmail:
  35. #     Never send EXISTS/RECENT when replying to FETCH command. Outlook Express
  36. #     seems to think they are FETCH replies and gives user "Message no longer
  37. #     in server" error. Note that OE6 still breaks even with this workaround
  38. #     if synchronization is set to "Headers Only".
  39. #   outlook-idle:
  40. #     Outlook and Outlook Express never abort IDLE command, so if no mail
  41. #     arrives in half a hour, Dovecot closes the connection. This is still
  42. #     fine, except Outlook doesn't connect back so you don't see if new mail
  43. #     arrives.
  44. #   outlook-pop3-no-nuls:
  45. #     Outlook and Outlook Express hang if mails contain NUL characters.
  46. #     This setting replaces them with 0x80 character.
  47. #client_workarounds =
  48.  
  49. # Dovecot can notify client of new mail in selected mailbox soon after it's
  50. # received. This setting specifies the minimum interval in seconds between
  51. # new mail notifications to client - internally they may be checked more or
  52. # less often. Setting this to 0 disables the checking.
  53. # NOTE: Evolution client breaks with this option when it's trying to APPEND.
  54. #mailbox_check_interval = 0
  55.  
  56. # Like mailbox_check_interval, but used for IDLE command.
  57. #mailbox_idle_check_interval = 30
  58.  
  59. # Allow full filesystem access to clients. There's no access checks other than
  60. # what the operating system does for the active UID/GID. It works with both
  61. # maildir and mboxes, allowing you to prefix mailboxes names with eg. /path/
  62. # or ~user/.
  63. #mail_full_filesystem_access = no
  64.  
  65. # Maximum allowed length for custom flag name. It's only forced when trying
  66. # to create new flags.
  67. #mail_max_flag_length = 50
  68.  
  69. # Save mails with CR+LF instead of plain LF. This makes sending those mails
  70. # take less CPU, especially with sendfile() syscall with Linux and FreeBSD.
  71. # But it also creates a bit more disk I/O which may just make it slower.
  72. #mail_save_crlf = no
  73.  
  74. # Use mmap() instead of read() to read mail files. read() seems to be a bit
  75. # faster with my Linux/x86 and it's better with NFS, so that's the default.
  76. #mail_read_mmaped = no
  77.  
  78. # By default LIST command returns all entries in maildir beginning with dot.
  79. # Enabling this option makes Dovecot return only entries which are directories.
  80. # This is done by stat()ing each entry, so it causes more disk I/O.
  81. # (For systems setting struct dirent->d_type, this check is free and it's
  82. # done always regardless of this setting)
  83. #maildir_stat_dirs = no
  84.  
  85. # Copy mail to another folders using hard links. This is much faster than
  86. # actually copying the file. This is problematic only if something modifies
  87. # the mail in one folder but doesn't want it modified in the others. I don't
  88. # know any MUA which would modify mail files directly. IMAP protocol also
  89. # requires that the mails don't change, so it would be problematic in any case.
  90. # If you care about performance, enable it.
  91. #maildir_copy_with_hardlinks = no
  92.  
  93. # Check if mails' content has been changed by external programs. This slows
  94. # down things as extra stat() needs to be called for each file. If changes are
  95. # noticed, the message is treated as a new message, since IMAP protocol
  96. # specifies that existing messages are immutable.
  97. #maildir_check_content_changes = no
  98.  
  99. # Which locking methods to use for locking mbox. There's three available:
  100. #  dotlock: Create <mailbox>.lock file. This is the oldest and most NFS-safe
  101. #           solution. If you want to use /var/mail/ like directory, the users
  102. #           will need write access to that directory.
  103. #  fcntl  : Use this if possible. Works with NFS too if lockd is used.
  104. #  flock  : May not exist in all systems. Doesn't work with NFS.
  105. #
  106. # You can use both fcntl and flock too; if you do the order they're declared
  107. # with is important to avoid deadlocks if other MTAs/MUAs are using both fcntl
  108. # and flock. Some operating systems don't allow using both of them
  109. # simultaneously, eg. BSDs. If dotlock is used, it's always created first.
  110. mbox_locks = fcntl
  111.  
  112. # Should we create dotlock file even when we want only a read-lock? Setting
  113. # this to yes hurts the performance when the mailbox is accessed simultaneously
  114. # by multiple processes, but it's needed for reliable reading if no other
  115. # locking methods are available.
  116. #mbox_read_dotlock = no
  117.  
  118. # Maximum time in seconds to wait for lock (all of them) before aborting.
  119. #mbox_lock_timeout = 300
  120.  
  121. # If dotlock exists but the mailbox isn't modified in any way, override the
  122. # lock file after this many seconds.
  123. #mbox_dotlock_change_timeout = 30
  124.  
  125. # umask to use for mail files and directories
  126. #umask = 0077
  127.  
Feb 5 '07 #3
Motoma
3,237 Expert 2GB
I think you will find better help here.
Feb 5 '07 #4
cassbiz
202 100+
Hi Motoma

I have been going nuts in trying to configure it. I spent the weekend reading that site and cannot make heads or tails of it.

I have tried every suggestion and still no success.

I know that the sendmail is working but it is sending everything over to /var/spool/mail


the other box that I am putting to rest has been hacked and has a rootkit on it that I can't find and is still running RH8. After 1800 days up it is time to bring it down and re-image it.
Feb 5 '07 #5
cassbiz
202 100+
Here is the sendmail.mc file

Expand|Select|Wrap|Line Numbers
  1. divert(-1)dnl
  2. dnl #
  3. dnl # This is the sendmail macro config file for m4. If you make changes to
  4. dnl # /etc/mail/sendmail.mc, you will need to regenerate the
  5. dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is
  6. dnl # installed and then performing a
  7. dnl #
  8. dnl #     make -C /etc/mail
  9. dnl #
  10. include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
  11. VERSIONID(`setup for Red Hat Linux')dnl
  12. OSTYPE(`linux')dnl
  13. dnl #
  14. dnl # default logging level is 9, you might want to set it higher to
  15. dnl # debug the configuration
  16. dnl #
  17. dnl define(`confLOG_LEVEL', `9')dnl
  18. dnl #
  19. dnl # Uncomment and edit the following line if your outgoing mail needs to
  20. dnl # be sent out through an external mail server:
  21. dnl #
  22. dnl # define(`SMART_HOST',`smtp.your.provider')
  23. dnl #
  24. define(`confDEF_USER_ID',``8:12'')dnl
  25. dnl define(`confAUTO_REBUILD')dnl
  26. define(`confTO_CONNECT', `1m')dnl
  27. define(`confTRY_NULL_MX_LIST',true)dnl
  28. define(`confDONT_PROBE_INTERFACES',true)dnl
  29. define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnl
  30. define(`ALIAS_FILE', `/etc/aliases')dnl
  31. define(`STATUS_FILE', `/var/log/mail/statistics')dnl
  32. define(`UUCP_MAILER_MAX', `2000000')dnl
  33. define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl
  34. define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
  35. define(`confAUTH_OPTIONS', `A')dnl
  36. dnl #
  37. dnl # The following allows relaying if the user authenticates, and disallows
  38. dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links
  39. dnl #
  40. dnl define(`confAUTH_OPTIONS', `A p')dnl
  41. dnl #
  42. dnl # PLAIN is the preferred plaintext authentication method and used by
  43. dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do
  44. dnl # use LOGIN. Other mechanisms should be used if the connection is not
  45. dnl # guaranteed secure.
  46. dnl # Please remember that saslauthd needs to be running for AUTH.
  47. dnl #
  48. dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
  49. dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
  50. dnl #
  51. dnl # Rudimentary information on creating certificates for sendmail TLS:
  52. dnl #     cd /usr/share/ssl/certs; make sendmail.pem
  53. dnl # Complete usage:
  54. dnl #     make -C /usr/share/ssl/certs usage
  55. dnl #
  56. dnl define(`confCACERT_PATH',`/usr/share/ssl/certs')
  57. dnl define(`confCACERT',`/usr/share/ssl/certs/ca-bundle.crt')
  58. dnl define(`confSERVER_CERT',`/usr/share/ssl/certs/sendmail.pem')
  59. dnl define(`confSERVER_KEY',`/usr/share/ssl/certs/sendmail.pem')
  60. dnl #
  61. dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's
  62. dnl # slapd, which requires the file to be readble by group ldap
  63. dnl #
  64. dnl define(`confDONT_BLAME_SENDMAIL',`groupreadablekeyfile')dnl
  65. dnl #
  66. dnl define(`confTO_QUEUEWARN', `4h')dnl
  67. dnl define(`confTO_QUEUERETURN', `5d')dnl
  68. dnl define(`confQUEUE_LA', `12')dnl
  69. dnl define(`confREFUSE_LA', `18')dnl
  70. define(`confTO_IDENT', `0')dnl
  71. dnl FEATURE(delay_checks)dnl
  72. FEATURE(`no_default_msa',`dnl')dnl
  73. FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
  74. FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
  75. FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
  76. FEATURE(redirect)dnl
  77. FEATURE(always_add_domain)dnl
  78. FEATURE(use_cw_file)dnl
  79. FEATURE(use_ct_file)dnl
  80. dnl #
  81. dnl # The following limits the number of processes sendmail can fork to accept
  82. dnl # incoming messages or process its message queues to 12.) sendmail refuses
  83. dnl # to accept connections once it has reached its quota of child processes.
  84. dnl #
  85. dnl define(`confMAX_DAEMON_CHILDREN', 12)dnl
  86. dnl #
  87. dnl # Limits the number of new connections per second. This caps the overhead
  88. dnl # incurred due to forking new sendmail processes. May be useful against
  89. dnl # DoS attacks or barrages of spam. (As mentioned below, a per-IP address
  90. dnl # limit would be useful but is not available as an option at this writing.)
  91. dnl #
  92. dnl define(`confCONNECTION_RATE_THROTTLE', 3)dnl
  93. dnl #
  94. dnl # The -t option will retry delivery if e.g. the user runs over his quota.
  95. dnl #
  96. FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl
  97. FEATURE(`access_db',`hash -T<TMPF> -o /etc/mail/access.db')dnl
  98. FEATURE(`blacklist_recipients')dnl
  99. EXPOSED_USER(`root')dnl
  100. dnl #
  101. dnl # The following causes sendmail to only listen on the IPv4 loopback address
  102. dnl # 127.0.0.1 and not on any other network devices. Remove the loopback
  103. dnl # address restriction to accept email from the internet or intranet.
  104. dnl #
  105. DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
  106. dnl #
  107. dnl # The following causes sendmail to additionally listen to port 587 for
  108. dnl # mail from MUAs that authenticate. Roaming users who can't reach their
  109. dnl # preferred sendmail daemon due to port 25 being blocked or redirected find
  110. dnl # this useful.
  111. dnl #
  112. dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
  113. dnl #
  114. dnl # The following causes sendmail to additionally listen to port 465, but
  115. dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed
  116. dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can't
  117. dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS
  118. dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses smtps
  119. dnl # when SSL is enabled-- STARTTLS support is available in version 1.1.1.
  120. dnl #
  121. dnl # For this to work your OpenSSL certificates must be configured.
  122. dnl #
  123. dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
  124. dnl #
  125. dnl # The following causes sendmail to additionally listen on the IPv6 loopback
  126. dnl # device. Remove the loopback address restriction listen to the network.
  127. dnl #
  128. dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl
  129. dnl #
  130. dnl # enable both ipv6 and ipv4 in sendmail:
  131. dnl #
  132. dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6, Family=inet6')
  133. dnl #
  134. dnl # We strongly recommend not accepting unresolvable domains if you want to
  135. dnl # protect yourself from spam. However, the laptop and users on computers
  136. dnl # that do not have 24x7 DNS do need this.
  137. dnl #
  138. FEATURE(`accept_unresolvable_domains')dnl
  139. dnl #
  140. dnl FEATURE(`relay_based_on_MX')dnl
  141. dnl #
  142. dnl # Also accept email sent to "localhost.localdomain" as local email.
  143. dnl #
  144. LOCAL_DOMAIN(`localhost.localdomain')dnl
  145. dnl #
  146. dnl # The following example makes mail from this host and any additional
  147. dnl # specified domains appear to be sent from mydomain.com
  148. dnl #
  149. dnl MASQUERADE_AS(`mydomain.com')dnl
  150. dnl #
  151. dnl # masquerade not just the headers, but the envelope as well
  152. dnl #
  153. dnl FEATURE(masquerade_envelope)dnl
  154. dnl #
  155. dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well
  156. dnl #
  157. dnl FEATURE(masquerade_entire_domain)dnl
  158. dnl #
  159. dnl MASQUERADE_DOMAIN(localhost)dnl
  160. dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl
  161. dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl
  162. dnl MASQUERADE_DOMAIN(mydomain.lan)dnl
  163. MAILER(smtp)dnl
  164. MAILER(procmail)dnl
  165.  
  166.  
Feb 5 '07 #6
Comment out this line DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl in your sendmail.mc file or give the IP address of the Mail server instead of loopback address or you can edit sendmail.cf file look for this line and comment it out restart send mail. should work
Sep 2 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Marko | last post by:
Hi, I was just wondering if there is a way to connect to the secure imap server (port 993) without having --with-imap-ssl option turned on. I have --with-imap and --with-openssl and recompiling...
1
by: Fabian Müller | last post by:
Hello, I would like to access (open) my remote IMAP Mailbox with the imap_open() function in PHP Version 5.0.4. The Mailbox is located at the german provider freenet.de. The imap_open()...
0
by: dekoffie | last post by:
Hello there, I'm trying to create a connection with an IMAP server which is secured through SSL. I can get the connection just fine, and I get a first respone from the server. But then I send...
3
by: chirag | last post by:
i want a IMAP server for windows so that i can retrive incoming mails. I use mssql server to store user information. i need IMAP server to develop project i.e mail system can any body sent me...
2
by: J Huntley Palmer | last post by:
I am having a horrific time integrating uw-imap's c-client for imap support in php. The problem is a whole bunch of "Text relocation remains referenced against symbol" errors during linking....
1
by: buddi | last post by:
Hi I want to write a Server program in java that "behaves like" an IMAP Server. All I need is 1. It has to wait a designated port to accept connection (it need not be a multi-client server)...
0
by: contactme | last post by:
Hi, Is it possible to open concurrent connections using Net::IMAP::Simple library ? My IMAP server allows 4 connections per ip, so I am having following problems while using Net::IMAP::Simple and...
11
by: mp- | last post by:
I want to be able to allow people to check their email from my PHP online application. Given only the users 1) email address, 2) username (if applicable) and 3) password - how can I auto detect...
1
dlite922
by: dlite922 | last post by:
I'm a linux n00b, but i know enough to find my way around and not cause mayhem. With the help of online tutorials and someone else who knows just a little more than me, we've managed to install...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.