Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 11th December 2008, 22:08
Puthuff Puthuff is offline
Junior Member
 
Join Date: Jan 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with postfix + virtual users

Followed this tutorial + i added squirrel mail. It worked after i was finished then i commented out the bind address 127.0.0.1 in the my.cnf mysql file so i could access my database using navicat and im afraid maybe i borked it

http://howtoforge.com/virtual_users_...ix_debian_etch


Quote:
Dec 11 15:53:58 pengu postfix/smtp[20646]: 170593F956: to=<x@evilputty.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=51985, delays=51684/0.39/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
Dec 11 15:53:59 pengu postfix/smtp[20647]: 1CDA23F957: to=<x@evilputty.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=51677, delays=51376/0.44/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
Dec 11 15:58:59 pengu postfix/smtp[20646]: 198383F94B: to=<x@evilputty.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=54417, delays=53815/301/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
Dec 11 15:58:59 pengu postfix/smtp[20647]: D03433F94A: to=<x@evilputty.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=54337, delays=53736/301/300/0, dsn=4.4.2, status=deferred (conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
Quote:
pengu:/etc/postfix# postconf -n
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
inet_interfaces = all
mailbox_size_limit = 0
mydestination = pengu.evilputty.com, localhost, localhost.localdomain, evilputty.com
myhostname = pengu.evilputty.com
mynetworks = 127.0.0.0/8
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
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_session_cache_database = btree:${queue_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
Quote:
pengu:/etc/postfix# cat master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ================================================== ========================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ================================================== ========================
smtp inet n - - - - smtpd
#submission inet n - - - - smtpd
# -o smtpd_tls_security_level=encrypt
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticate d,reject
# -o milter_macro_daemon_name=ORIGINATING
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
proxywrite unix - - n - 1 proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o smtp_fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
#
# ================================================== ==================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ================================================== ==================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

amavis unix - - - - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,rej ect
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o receive_override_options=no_unknown_recipient_chec ks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
Quote:
pengu:/etc/postfix# cat main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = pengu.evilputty.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = pengu.evilputty.com, localhost, localhost.localdomain, evilputty.com
relayhost =
mynetworks = 127.0.0.0/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_alias_domains =
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_mailbox_base = /home/vmail
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = "The user you are trying to reach is over quota."
virtual_overquota_bounce = yes
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
content_filter = amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings

Last edited by Puthuff; 11th December 2008 at 22:23.
Reply With Quote
Sponsored Links
  #2  
Old 12th December 2008, 19:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's the output of
Code:
netstat -tap
?

Have you tried to restart amavisd?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 12th December 2008, 23:07
Puthuff Puthuff is offline
Junior Member
 
Join Date: Jan 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
pengu:~# netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:10024 *:* LISTEN 19701/amavisd (mast
tcp 0 0 localhost:10025 *:* LISTEN 19789/master
tcp 0 0 localhost:mysql *:* LISTEN 19301/mysqld
tcp 0 0 localhost:spamd *:* LISTEN 19903/spamd.pid
tcp 0 0 *:ftp *:* LISTEN 31954/proftpd: (acc
tcp 0 0 pengu.evilputty.:domain *:* LISTEN 1879/named
tcp 0 0 localhost:domain *:* LISTEN 1879/named
tcp 0 0 *:smtp *:* LISTEN 19789/master
tcp 0 0 localhost:953 *:* LISTEN 1879/named
tcp6 0 0 *:imaps *:* LISTEN 9549/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 9578/couriertcpd
tcp6 0 0 *:pop3 *:* LISTEN 9559/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 9532/couriertcpd
tcp6 0 0 *:www *:* LISTEN 13433/apache2
tcp6 0 0 *:domain *:* LISTEN 1879/named
tcp6 0 0 *:ssh *:* LISTEN 1084/sshd
tcp6 0 0 ip6-localhost:953 *:* LISTEN 1879/named
tcp6 0 0 *:https *:* LISTEN 13433/apache2

Quote:
Dec 12 16:33:26 pengu amavis[22293]: starting. /usr/sbin/amavisd-new at pengu.evilputty.com amavisd-new-2.4.2 (20060627), Unicode aware, LANG=en_US.UTF-8
Dec 12 16:33:26 pengu amavis[22293]: Perl version 5.008008
Dec 12 16:33:34 pengu amavis[22298]: Module Amavis::Conf 2.068
Dec 12 16:33:34 pengu amavis[22298]: Module Archive::Tar 1.30
Dec 12 16:33:34 pengu amavis[22298]: Module Archive::Zip 1.16
Dec 12 16:33:34 pengu amavis[22298]: Module BerkeleyDB 0.31
Dec 12 16:33:34 pengu amavis[22298]: Module Compress::Zlib 1.42
Dec 12 16:33:34 pengu amavis[22298]: Module Convert::TNEF 0.17
Dec 12 16:33:34 pengu amavis[22298]: Module Convert::UUlib 1.06
Dec 12 16:33:34 pengu amavis[22298]: Module DBD::mysql 3.0008
Dec 12 16:33:34 pengu amavis[22298]: Module DBI 1.53
Dec 12 16:33:34 pengu amavis[22298]: Module DB_File 1.814
Dec 12 16:33:34 pengu amavis[22298]: Module Digest::MD5 2.36
Dec 12 16:33:34 pengu amavis[22298]: Module MIME::Entity 5.420
Dec 12 16:33:34 pengu amavis[22298]: Module MIME::Parser 5.420
Dec 12 16:33:34 pengu amavis[22298]: Module MIME::Tools 5.420
Dec 12 16:33:34 pengu amavis[22298]: Module Mail::Header 1.74
Dec 12 16:33:34 pengu amavis[22298]: Module Mail::Internet 1.74
Dec 12 16:33:34 pengu amavis[22298]: Module Mail::SpamAssassin 3.001007
Dec 12 16:33:34 pengu amavis[22298]: Module Net::Cmd 2.26
Dec 12 16:33:34 pengu amavis[22298]: Module Net::DNS 0.59
Dec 12 16:33:34 pengu amavis[22298]: Module Net::SMTP 2.29
Dec 12 16:33:34 pengu amavis[22298]: Module Net::Server 0.94
Dec 12 16:33:34 pengu amavis[22298]: Module Razor2::Client::Version 2.81
Dec 12 16:33:34 pengu amavis[22298]: Module Time::HiRes 1.86
Dec 12 16:33:34 pengu amavis[22298]: Module Unix::Syslog 0.100
Dec 12 16:33:34 pengu amavis[22298]: Amavis::DB code loaded
Dec 12 16:33:34 pengu amavis[22298]: Amavis::Cache code loaded
Dec 12 16:33:34 pengu amavis[22298]: SQL base code NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: SQL::Log code NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: SQL::Quarantine NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: Lookup::SQL code NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: Lookup::LDAP code NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: AM.PDP-in proto code loaded
Dec 12 16:33:34 pengu amavis[22298]: SMTP-in proto code loaded
Dec 12 16:33:34 pengu amavis[22298]: Courier proto code NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: SMTP-out proto code loaded
Dec 12 16:33:34 pengu amavis[22298]: Pipe-out proto code NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: BSMTP-out proto code NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: Local-out proto code loaded
Dec 12 16:33:34 pengu amavis[22298]: OS_Fingerprint code NOT loaded
Dec 12 16:33:34 pengu amavis[22298]: ANTI-VIRUS code loaded
Dec 12 16:33:34 pengu amavis[22298]: ANTI-SPAM code loaded
Dec 12 16:33:34 pengu amavis[22298]: ANTI-SPAM-SA code loaded
Dec 12 16:33:34 pengu amavis[22298]: Unpackers code loaded
Dec 12 16:33:34 pengu amavis[22298]: Found $file at /usr/bin/file
Dec 12 16:33:34 pengu amavis[22298]: No $dspam, not using it
Dec 12 16:33:34 pengu amavis[22298]: Internal decoder for .mail
Dec 12 16:33:34 pengu amavis[22298]: Internal decoder for .asc
Dec 12 16:33:34 pengu amavis[22298]: Internal decoder for .uue
Dec 12 16:33:34 pengu amavis[22298]: Internal decoder for .hqx
Dec 12 16:33:34 pengu amavis[22298]: Internal decoder for .ync
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .F tried: unfreeze, freeze -d, melt, fcat
Dec 12 16:33:34 pengu amavis[22298]: Found decoder for .Z at /bin/uncompress
Dec 12 16:33:34 pengu amavis[22298]: Internal decoder for .gz
Dec 12 16:33:34 pengu amavis[22298]: Found decoder for .bz2 at /bin/bzip2 -d
Dec 12 16:33:34 pengu amavis[22298]: Found decoder for .lzo at /usr/bin/lzop -d
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .rpm tried: rpm2cpio.pl, rpm2cpio
Dec 12 16:33:34 pengu amavis[22298]: Found decoder for .cpio at /usr/bin/pax
Dec 12 16:33:34 pengu amavis[22298]: Found decoder for .tar at /usr/bin/pax
Dec 12 16:33:34 pengu amavis[22298]: Found decoder for .deb at /usr/bin/ar
Dec 12 16:33:34 pengu amavis[22298]: Internal decoder for .zip
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .rar tried: rar, unrar
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .arj tried: arj, unarj
Dec 12 16:33:34 pengu amavis[22298]: Found decoder for .arc at /usr/bin/nomarch
Dec 12 16:33:34 pengu amavis[22298]: Found decoder for .zoo at /usr/bin/zoo
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .lha tried: lha
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .doc tried: ripole
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .cab tried: cabextract
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .tnef
Dec 12 16:33:34 pengu amavis[22298]: Internal decoder for .tnef
Dec 12 16:33:34 pengu amavis[22298]: No decoder for .exe tried: rar, unrar; lha; arj, unarj
Dec 12 16:33:34 pengu amavis[22298]: Using internal av scanner code for (primary) ClamAV-clamd
Dec 12 16:33:34 pengu amavis[22298]: Using internal av scanner code for (primary) check-jpeg
Dec 12 16:33:34 pengu amavis[22298]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
Dec 12 16:33:34 pengu amavis[22298]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.31, libdb 4.4
this is what happens when i send a mail to my server
Quote:
Dec 12 16:50:29 pengu postfix/smtpd[22511]: connect from wf-out-1314.google.com[209.85.200.175]
Dec 12 16:50:30 pengu postfix/smtpd[22511]: 48E933F959: client=wf-out-1314.google.com[209.85.200.175]
Dec 12 16:50:30 pengu postfix/cleanup[22516]: 48E933F959: message-id=<4809ecfa0812121350o6aa6ae88wd35775a7407fcfce@m ail.gmail.com>
Dec 12 16:50:30 pengu postfix/qmgr[22484]: 48E933F959: from=<x@gmail.com>, size=2035, nrcpt=1 (queue active)
Dec 12 16:51:00 pengu postfix/smtpd[22511]: disconnect from wf-out-1314.google.com[209.85.200.175]
now it seems like the mail i send is just sitting in the queue and it's not attempting to send or receive even with a postconf -f but no errors :o
Reply With Quote
  #4  
Old 13th December 2008, 18:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

What's the output of
Code:
postqueue -p
?
Are there any other errors in your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 16th December 2008, 18:43
Puthuff Puthuff is offline
Junior Member
 
Join Date: Jan 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

all my mail is timing out on initial server greeting, but it seems to send my mail late/ early in the morning around 1-2AM.

Quote:
pengu:~# tail /var/log/mail.err
Dec 15 12:23:45 pengu postfix/postqueue[3478]: fatal: usage: postqueue -f | postqueue -p | postqueue -s site
Dec 16 04:44:10 pengu amavis[31469]: (31469-02) (!!) TROUBLE in process_request: Error writing a SMTP response to the socket: Broken pipe at (eval 42) line 788, <GEN32> line 29.
Dec 16 04:44:17 pengu amavis[31468]: (31468-09) (!!) TROUBLE in process_request: Error writing a SMTP response to the socket: Broken pipe at (eval 42) line 788, <GEN47> line 29.

Quote:
pengu:~# tail /var/log/mail.warn
Dec 15 17:15:07 pengu postfix/smtpd[4145]: warning: non-SMTP command from 118-168-142-35.dynamic.hinet.net[118.168.142.35]: CONNECT mx3.mail2000.com.tw:25 HTTP/1.0
Dec 16 04:44:10 pengu amavis[31469]: (31469-02) (!!) TROUBLE in process_request: Error writing a SMTP response to the socket: Broken pipe at (eval 42) line 788, <GEN32> line 29.
Dec 16 04:44:10 pengu amavis[31469]: (31469-02) (!) Requesting process rundown after fatal error
Dec 16 04:44:17 pengu amavis[31468]: (31468-09) (!!) TROUBLE in process_request: Error writing a SMTP response to the socket: Broken pipe at (eval 42) line 788, <GEN47> line 29.
Dec 16 04:44:18 pengu amavis[31468]: (31468-09) (!) Requesting process rundown after fatal error
Dec 16 07:03:55 pengu postfix/smtpd[11384]: warning: unknown[205.209.161.196]: SASL LOGIN authentication failed: authentication failure
Dec 16 09:24:15 pengu postfix/smtpd[11464]: warning: 114-44-140-96.dynamic.hinet.net[114.44.140.96]: SASL LOGIN authentication failed: authentication failure
Dec 16 09:24:42 pengu last message repeated 9 times
Dec 16 09:25:43 pengu last message repeated 7 times
Dec 16 09:26:03 pengu last message repeated 3 times
Reply With Quote
  #6  
Old 16th December 2008, 21:44
White White is offline
Member
 
Join Date: Apr 2008
Posts: 65
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this may or may not help but back up your main.cf file then find the lines below

virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf

plus any others that have = proxy:mysql in them and delete the proxy: this was the only way i could get the tutorial to work for me.

see

http://www.howtoforge.com/forums/showthread.php?t=22665
Reply With Quote
  #7  
Old 17th December 2008, 05:28
Puthuff Puthuff is offline
Junior Member
 
Join Date: Jan 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Seemed to have fixed my problem; I did remove the proxy line from my main.cf but i also needed to update my clamav

inorder to do that i had to
Code:
/etc/init.d/clamav-daemon stop
/etc/init.d/clamav-freshclam stop
lsof /var/lib/clamav/
kill all of those processes

then i had to add
Code:
deb http://volatile.debian.org/debian-volatile etch/volatile main contrib non-free
to my /etc/apt/sources.lst

then i had to install the newer clamav components
Code:
apt-get update
apt-get upgrade -s
apt-get install clamav-freshclam
i didnt have anything that would break with apt-get upgrade so i went through with that and it upgraded the clamav-base installation.

everything seems to be working hunky dory now.
Reply With Quote
Reply

Bookmarks

Tags
postfix, status=deferred, virtualusers

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
F8 virtual users and domains with postfix: how to change mysql port? greno HOWTO-Related Questions 1 25th April 2008 16:16
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Virtual Users + Domains With Postfix, Courier + MySQL (+SMTP-AUTH, SpamA, ClamAV) brianwc HOWTO-Related Questions 6 9th May 2007 02:44
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35


All times are GMT +2. The time now is 02:44.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.