Mail server How-to request

Discussion in 'HOWTO-Related Questions' started by vhinz, Mar 31, 2009.

  1. vhinz

    vhinz New Member

    Is there, by any chance, someone has these How-to configurations in up their sleeves?

    Virtual domains and Users using Ubuntu Intrepid/CentOS 5.2 with Postfix and Dovecot or Courier with pulling mail from an service provider either by fetchmail or getmail with ClamAV and SpamAssassin and GUI management interface.

    Thanks guys!

    ~Vhinz
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. vhinz

    vhinz New Member

    Thanks falko

    Thanks.

    Still getting error below when logging into Squirrel Mail after I have followed up your tutorial.

    ERROR:
    ERROR: Connection dropped by IMAP server.

    On the comments, there are some suggesting about the account being empty. I tried to use mailx and no error indicating that the message was not sent.

    Any ideas?

    BTW, I have not yet started your getmail tutorial. Getmail also fetches mails from different accounts to deliver to different recipients, right? Just confirming. :D

    Again, thanks!
     
    Last edited: Apr 3, 2009
  4. falko

    falko Super Moderator Howtoforge Staff

    What's in your mail log when you try to send the welcome message?
     
  5. wasimriz

    wasimriz New Member

    ERROR: Connection dropped by IMAP server.

    While i try log in i get same error

    while i search log file i get below lines
    Apr 19 07:13:38 mynetmagician postfix/qmgr[886]: 36BD8BD119: removed
    Apr 19 15:03:39 mynetmagician imapd: Connection, ip=[::ffff:127.0.0.1]
    Apr 19 15:03:39 mynetmagician imapd: chdir mynetmagician.net/salil/: No such file or directory

    can any body help me how to resove the issue

    after entering postconf -n i get below output
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    content_filter = amavis:[127.0.0.1]:10024
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    mailbox_size_limit = 0
    mydestination = localhost
    myhostname = localhost
    mynetworks = 10.0.0.0/24
    myorigin = /etc/mailname
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    readme_directory = /usr/share/doc/postfix
    receive_override_options = no_address_mappings
    recipient_delimiter = +
    relayhost =
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_use_tls = yes
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /home/vmail
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_uid_maps = static:5000

    Please help to fix this issue
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Please send a welcome mail. Maildir is created automatically when the first email arrives.
     

Share This Page