Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 17th July 2006, 16:29
mority mority is offline
Junior Member
 
Join Date: Jul 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Please use a password without special characters for now.
I replaced the password for one without special characters and now sending mail works too. Thanks again.
__________________
german kezboards suck!
mo.agrav.org
Reply With Quote
Sponsored Links
  #22  
Old 17th July 2007, 11:08
coyote coyote is offline
Junior Member
 
Join Date: Jul 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I habe the same problem like the users before, but I can't solve it with your suggestions. When I activate Amavis in main.cf I get this error:

Quote:
Jul 17 10:46:12 vsXXXX amavis[5145]: (!) DENIED ACCESS from IP XXX.XXX.XXX.XXX, policy bank ''
Without Amavis Postfix works fine.

Can anyone help?
Reply With Quote
  #23  
Old 18th July 2007, 18:29
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 in /etc/postfix/main.cf and /etc/postfix/master.cf?
What's the output of
Code:
netstat -tap
and
Code:
ifconfig
?
__________________
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
  #24  
Old 18th July 2007, 19:04
coyote coyote is offline
Junior Member
 
Join Date: Jul 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

main.cf

Quote:
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
inet_interfaces = all
mynetworks_style = host
mynetworks = 127.0.0.1 serv-1-0-20
myhostname = vXXXX5.vserver4free.de
mydomain = vXXXX5.vserver4free.de.local
myorigin = $mydomain
smtpd_banner = $myhostname VHCS2 2.4 Rhea Managed ESMTP 2.4.8 RC1
setgid_group = postdrop
mydestination = $myhostname, $mydomain
append_dot_mydomain = no
append_at_myorigin = yes
local_transport = local
virtual_transport = virtual
transport_maps = hash:/etc/postfix/vhcs2/transport
mail_spool_directory = /var/mail
mailbox_size_limit = 0
mailbox_command = procmail -a "$EXTENSION"
biff = no
alias_database = hash:/etc/aliases
local_destination_recipient_limit = 1
local_recipient_maps = unix:passwd.byname $alias_database
vhcs2-arpl_destination_recipient_limit = 1
virtual_mailbox_base = /var/mail/virtual
virtual_mailbox_limit = 0
virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains
virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes
virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases
virtual_minimum_uid = 1000
virtual_uid_maps = static:1000
virtual_gid_maps = static:8
smtpd_sasl_auth_enable = yes
smtpd_sasl2_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination
content_filter = smtp-amavis:[127.0.0.1]:10024
master.cf
Quote:
smtp inet n - - - - smtpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
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
smtp unix - - - - - smtp
relay unix - - - - - smtp -o fallback_relay=
showq unix n - - - - showq
error 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
smtp-amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
localhost:10025 inet n - y - - smtpd -o content_filter=
-o mynetworks=127.0.0.0/8
-o smtpd_client_restrictions=permit_mynetworks,reject
trace unix - - - - 0 bounce
verify unix - - - - 1 verfiy
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
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 - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}
vhcs2-arpl unix - n n - - pipe flags=O user=vmail argv=/var/www/vhcs2/engine/messager/vhcs2-arpl-msgr

587 inet n - - - - smtpd -o smtpd_client_restrictions=permit_sasl_authenticate d,reject_unauth_destination
netstat -tap

Quote:
tcp 0 0 vsxxx5.vserver4fr:10024 *:* LISTEN 7088/amavisd (maste
tcp 0 0 vsxxx5.vserver4fr:10025 *:* LISTEN 7390/master
tcp 0 0 vsxxx5.vserver4fr:mysql *:* LISTEN 19174/mysqld
tcp 0 0 vsxxx5.vserv:submission *:* LISTEN 7390/master
tcp 0 0 vsxxx5.vserver4fre:pop3 *:* LISTEN 27599/couriertcpd
tcp 0 0 vsxxx5.vserver4fr:imap2 *:* LISTEN 27594/couriertcpd
tcp 0 0 vsxxx5.vserver4free:www *:* LISTEN 19024/apache2
tcp 0 0 vsxxx5.vserver4fre:9876 *:* LISTEN 23680/vhcs2_daemon
tcp 0 0 vsxxx5.vserver4free:ftp *:* LISTEN 23662/proftpd: (acc
tcp 0 0 vsxxx5.vserver4free:ssh *:* LISTEN 14927/sshd
tcp 0 0 vsxxx5.vserver4fre:smtp *:* LISTEN 7390/master
ifconfig

Quote:
eth0 Link encap:Ethernet HWaddr 00:XX:XX:E2:23:6E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:87194199 errors:0 dropped:0 overruns:0 frame:0
TX packets:95478609 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:644955214 (615.0 MiB) TX bytes:3381963262 (3.1 GiB)
Interrupt:201 Base address:0xb800

eth0:0vs3 Link encap:Ethernet HWaddr 00:XX:XX:E2:23:6E
inet addr:8X.XXX.XXX.X7 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:201 Base address:0xb800
Are these logs helpful?

Last edited by coyote; 18th July 2007 at 19:14.
Reply With Quote
  #25  
Old 19th July 2007, 14:55
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

Quote:
Jul 17 10:46:12 vsXXXX amavis[5145]: (!) DENIED ACCESS from IP XXX.XXX.XXX.XXX, policy bank ''
Does this IP address match the one from the ifconfig output?

I think the problem must be somewhere in your amavisd configuration.
__________________
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
  #26  
Old 19th July 2007, 18:42
coyote coyote is offline
Junior Member
 
Join Date: Jul 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, it match with the IP from ifconfig-output
Reply With Quote
  #27  
Old 20th July 2007, 16:20
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

Can you see this IP address somewhere in your amavisd configuration?
__________________
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
  #28  
Old 22nd July 2007, 13:03
coyote coyote is offline
Junior Member
 
Join Date: Jul 2007
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, I can't find my IP-Adress in the amavisd.conf
Reply With Quote
  #29  
Old 23rd July 2007, 13: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

Is there maybe a subnet in the amavisd configuration that contains your IP address?
__________________
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
  #30  
Old 5th August 2007, 08:58
phantomk phantomk is offline
Junior Member
 
Join Date: Nov 2005
Posts: 25
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Just to let you know, I figured out why the error was occurring, well at least for me

Make sure you do not have the following in main.cf for postfix:
Code:
smtp_bind_address = Your.I.P.Address
Not sure why it causes the problem, all I know is that once I commented the above line out, it worked like a charm
Reply With Quote
The Following User Says Thank You to phantomk For This Useful Post:
Morons (22nd September 2008)
Reply

Bookmarks

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
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota... killfrog HOWTO-Related Questions 3 25th September 2009 21:45
Problems with groups/grpconv linuxfast General 28 21st April 2008 09:35
Problems with postfix vervem Installation/Configuration 5 27th March 2008 19:40
Removed PostFix, Now MySql Problems!!! sapient Installation/Configuration 10 24th October 2005 07:11
postfix problems. jernis Installation/Configuration 2 16th September 2005 21:14


All times are GMT +2. The time now is 00:43.


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